\n
\n
this.props.toggleBurger()}\n >\n {header[this.props.language][0]}\n \n
this.props.toggleBurger()}\n >\n {header[this.props.language][1]}\n \n
this.props.toggleBurger()}\n >\n {header[this.props.language][2]}\n \n
this.props.toggleBurger()}\n >\n {header[this.props.language][3]}\n \n
this.props.toggleBurger()}\n >\n {header[this.props.language][4]}\n \n
this.props.toggleLanguage()}\n >\n {this.props.language === \"eng\" ? \"srb\" : \"eng\"}\n
\n
\n >\n );\n }\n}\n\nexport default Burger;\n","import Burger from \"./Burger\";\n\nexport default Burger;\n","import React, { Component } from \"react\";\nimport Landing from \"./pages/Landing\";\nimport Loading from \"./pages/Loading\";\nimport Header from \"./sections/_Header\";\nimport Footer from \"./sections/_Footer\";\nimport { animations } from \"./config\";\nimport Burger from \"./components/Burger\";\nimport \"./scss/main.scss\";\n\nclass App extends Component {\n constructor(props) {\n super(props);\n if (animations.status) {\n this.state = {\n show: true,\n loader: \"visible\",\n header: \"hidden\",\n active: null,\n language: \"eng\",\n burger: false\n };\n } else {\n this.state = {\n show: false,\n loader: \"hidden\",\n header: \"visible\",\n active: null,\n language: \"eng\",\n burger: false\n };\n }\n }\n\n toggleLanguage() {\n this.setState(prevState => ({\n language: prevState.language === \"eng\" ? \"srb\" : \"eng\"\n }));\n }\n\n toggleBurger() {\n this.setState(prevState => ({ burger: !prevState.burger }));\n }\n\n componentDidMount() {\n if (animations.status) {\n setInterval(() => {\n this.setState({ loader: \"hidden\" });\n }, animations.loader);\n setInterval(() => {\n this.setState({ show: false });\n }, animations.scrollbar);\n setInterval(() => {\n this.setState({ header: \"visible\" });\n }, animations.header);\n } else {\n }\n }\n\n render() {\n return (\n <>\n