diff --git a/frontend/src/Components/ExternalNavBar.js b/frontend/src/Components/ExternalNavBar.js deleted file mode 100644 index 71c1dd0..0000000 --- a/frontend/src/Components/ExternalNavBar.js +++ /dev/null @@ -1,99 +0,0 @@ -import React, { useState } from "react"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { - faBars, - faXmark, - -} from "@fortawesome/free-solid-svg-icons"; -import "../Styles/Navbar.css"; -import { Link } from "react-router-dom"; -import Logo from "../Assets/CHS_Logo.png" -import LanguageSelector from "../Components/LanguageSelector" -import { useTranslation } from 'react-i18next' - -function Navbar(props) { - const [nav, setNav] = useState(false); - const { t } = useTranslation(); - - const openNav = () => { - setNav(!nav); - }; - - return ( -
-

- - Header-logo - -

- - {/* Desktop */} - - - {/* Mobile */} -
-
- -
- - - - -
- - - {/* Hamburger Icon */} -
- -
-
- ); -} - -export default Navbar; diff --git a/frontend/src/Pages/SearchPage.js b/frontend/src/Pages/SearchPage.js index bdb68e8..3e28ca3 100644 --- a/frontend/src/Pages/SearchPage.js +++ b/frontend/src/Pages/SearchPage.js @@ -1,11 +1,14 @@ import React from "react"; import SearchBar from "../Components/SearchBar"; -import ExNavbar from "../Components/ExternalNavBar"; +import Navbar from "../Components/Navbar"; import Footer from "../Components/Footer"; import {useState, useEffect} from "react"; import "../Styles/ScrollUp.css"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faAngleUp } from "@fortawesome/free-solid-svg-icons"; +import About from "../Components/About"; +import Contact from "../Components/Contact"; + function SearchPage() { const [goUp, setGoUp] = useState(false); @@ -30,8 +33,10 @@ function SearchPage() { return(
- + + +