diff --git a/src/components/Nav.jsx b/src/components/Nav.jsx new file mode 100644 index 0000000..78d96d6 --- /dev/null +++ b/src/components/Nav.jsx @@ -0,0 +1,15 @@ +import { Link } from "react-router-dom"; +import style from "./Nav.module.css"; + +export default function Nav() { + return ( + + ); +} diff --git a/src/components/Nav.module.css b/src/components/Nav.module.css new file mode 100644 index 0000000..18c1bae --- /dev/null +++ b/src/components/Nav.module.css @@ -0,0 +1,28 @@ +.nav { + position: sticky; + top: 0; + display: flex; + width: 100%; + padding: 0rem 0rem; + justify-content: space-between; + align-items: center; + height: 4rem; + z-index: 1; + font-size: 18px; +} + +@media screen and (min-width: 768px) { + .nav { + height: 6rem; + font-size: 25px; + } + + .homeLink { + width: 60vw; + } +} + +.nav a { + color: var(--color-obiesource-accent); + text-decoration: none; +} diff --git a/src/routes/charter.jsx b/src/routes/charter.jsx index ddb7490..5381616 100644 --- a/src/routes/charter.jsx +++ b/src/routes/charter.jsx @@ -1,7 +1,10 @@ +import Nav from "../components/Nav"; + /* eslint-disable react/no-unescaped-entities */ export default function Charter() { return ( <> +