Fancy animations on navbar :)
diff --git a/Components/Card.js b/Components/Card.js
index c928baf..5c421a0 100644
--- a/Components/Card.js
+++ b/Components/Card.js
@@ -32,7 +32,7 @@
<h1 className={Styles.title}>{this.props.title}</h1>
</div>
<p className={Styles.subtext + " " + (this.props.buttons ? null : Styles.longText)}>{this.props.subtext}</p>
- <div className={Styles.buttonLayout}>
+ <div className={Styles.buttonLayout} onClick={this.showMessage}>
{
this.props.buttons ? this.props.buttons.map((button, i) => {
return <a
@@ -85,14 +85,7 @@
react.Children.toArray(this.props.children).map((item, index) => {
item = <Card
shown={this.state.childrenShown[index]}
- title={item.props.title}
- subtext={item.props.subtext}
- wave={item.props.wave}
- gradient={item.props.gradient}
- icon={item.props.icon}
- buttons={item.props.buttons}
- buttonText={item.props.buttonText}
- url={item.props.url}
+ {...item.props}
/>
return <div className={Styles.item} key={index}>{item}</div>
})