Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] - added the officer & meet our staff section of the Navbar (ocf#342) #350

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,14 @@ const Navbar = ({
High Performance Computing
</NavbarDropdownLink>
</NavbarDropdown>
<NavbarDropdown title="About" width={150}>
<NavbarDropdown title="about" width={150}>
<NavbarDropdownLink>What We Do</NavbarDropdownLink>
<NavbarDropdownLink>Officers</NavbarDropdownLink>
<NavbarDropdownLink>Meet Our Staff</NavbarDropdownLink>
<NavbarDropdownLink href="about/#officers">
Officers
</NavbarDropdownLink>
<NavbarDropdownLink href="about/#meetourstaff">
Meet Our Staff
</NavbarDropdownLink>
</NavbarDropdown>
<NavbarButton
mr={4}
Expand Down
19 changes: 19 additions & 0 deletions src/pages/about/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { Box } from "@chakra-ui/react"
import { SEO } from "~/components/SEO"

const about = () => {
return (
<Box>
<Box id="officers">
<h1>Officer content</h1>
</Box>
<Box id="meetourstaff">
<h1>meet our staff content</h1>
</Box>
</Box>
)
}

export default about

export const Head = () => <SEO />