09.02.2021
diff --git a/Components/Header.js b/Components/Header.js
index ba38249..46c0bf7 100644
--- a/Components/Header.js
+++ b/Components/Header.js
@@ -4,9 +4,9 @@
class Header extends Component {
constructor(props) {
super(props);
+ this.keys = []
}
-
render() {
return (
<div className={Styles.header} style={{
@@ -21,8 +21,9 @@
<p className={Styles.subtext + " " + (this.props.buttons.length ? Styles.subtextExtra : null)}>{this.props.subtext}</p>
<div className={Styles.buttonLayout}>
{
- this.props.buttons ? this.props.buttons.map(button => {
+ this.props.buttons ? this.props.buttons.map((button, index) => {
return <a
+ key={index}
className={Styles.button}
style={{backgroundColor:`#${button.color}`, color:`#${button.buttonText}`}}
href={button.link}>{button.text}
@@ -32,7 +33,7 @@
</div>
</div>
<span className={Styles.arrowSpan + " " + (this.props.hideArrow ? Styles.arrowHidden : null)}>
- <img src="/Arrow.svg" className={Styles.arrow} />
+ <a href="#start"><img src="/Arrow.svg" className={Styles.arrow} /></a>
</span>
</div>
)