Skip to content

Commit

Permalink
fixed navbar
Browse files Browse the repository at this point in the history
Signed-off-by: Apurv Sonawane <[email protected]>
  • Loading branch information
Apurv428 committed Jul 3, 2024
1 parent eaf077e commit 4480072
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 26 deletions.
19 changes: 0 additions & 19 deletions react-frontend/src/components/NavTopSection.jsx

This file was deleted.

23 changes: 16 additions & 7 deletions react-frontend/src/components/Navbar.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
import NavTopSection from "./NavTopSection";
import SearchBar from "./SearchBar";
import React from 'react';
import { Link } from 'react-router-dom'
import sdtLogo from "../images/sdt-logo.png";

function Navbar({ setResults }) {
function NavBar() {
return (
<div className="nav-section">
<NavTopSection />
<SearchBar setResults={setResults} />
<div className="navbar-wrapper">
<div className="sdt-logo sdt">
<img className="image-12" src={sdtLogo} alt="Software Discovery Tool Logo" />
</div>
<div className="navbar">
<Link to="/" className="navbar-link poppins-bold-black-20px">Home</Link>
<Link to="/faq" className="navbar-link poppins-bold-black-20px">FAQ</Link>
<Link to="/blog" className="navbar-link poppins-bold-black-20px">Blog</Link>
<Link to="/contact" className="navbar-link poppins-bold-black-20px">Contact</Link>
<a href="/documentation" className="navbar-link poppins-bold-black-20px" target="_blank" rel="noopener noreferrer">Documentation</a>
</div>
</div>
);
}

export default Navbar;
export default NavBar;

0 comments on commit 4480072

Please sign in to comment.