diff --git a/src/App/App.module.css b/src/App/App.module.css index 73c2411..ddcfd43 100644 --- a/src/App/App.module.css +++ b/src/App/App.module.css @@ -14,4 +14,5 @@ display: flex; align-items: center; justify-content: center; + z-index: 100000; } diff --git a/src/App/Navbar/Navbar.module.css b/src/App/Navbar/Navbar.module.css new file mode 100644 index 0000000..408b890 --- /dev/null +++ b/src/App/Navbar/Navbar.module.css @@ -0,0 +1,26 @@ +.container { + position: fixed; + top: 0; + z-index: 1; + width: 100vw; + height: 15vh; + display: flex; + align-items: center; + justify-content: center; +} + +.logo { + height: 10vh; +} + +.title { + font-size: xx-large; + text-decoration: none; + color: black; +} + +@media screen and (orientation: portrait) { + .container { + height: 15vw; + } +} diff --git a/src/App/Navbar/index.tsx b/src/App/Navbar/index.tsx new file mode 100644 index 0000000..d9db364 --- /dev/null +++ b/src/App/Navbar/index.tsx @@ -0,0 +1,31 @@ +import React from "react"; + +import styles from "./Navbar.module.css"; +import logoIcon from "~/assets/logo.svg"; +import { useLocation, Link } from "wouter"; + +export const Navbar = () => { + const [path] = useLocation(); + + return ( +
+ ); +}; diff --git a/src/App/index.tsx b/src/App/index.tsx index cb24e71..86179bb 100644 --- a/src/App/index.tsx +++ b/src/App/index.tsx @@ -8,6 +8,7 @@ import { UploadForm } from "~/pages/UploadForm"; import { Dots } from "~/utils/Dots"; import styles from "./App.module.css"; +import { Navbar } from "./Navbar"; export const App = () => { const [loading, setLoading] = useState(false); @@ -22,6 +23,7 @@ export const App = () => { )} +