From 35f5fb3b304aee95d1686fe1b897e83d94c2214e Mon Sep 17 00:00:00 2001 From: ChaseSizemore Date: Sun, 3 Dec 2023 23:38:37 -0500 Subject: [PATCH 1/3] changed strokeWidth error --- components/NavBar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/NavBar.tsx b/components/NavBar.tsx index 69a8fef..4003ac1 100644 --- a/components/NavBar.tsx +++ b/components/NavBar.tsx @@ -37,10 +37,10 @@ export default function NavBar(): JSX.Element { onClick={() => setMenuOpen(!menuOpen)} > Open main menu -
+ {/* Logo and Title */} +
+ SeeQR Logo + + SeeQR + +
+ + {/* Navigation */} +
+
+ {navigation.main.map((item) => ( + + {item.name} + + ))} +
+
+ + {/* Source Code Link */} +
+ +
+ + {/* Mobile menu button */} + +
+ {/* Mobile Navigation */} + + {shouldRender && ( + <> +
+
+
+ setIsMenuOpen(false)} + className="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-50 animated-link" + > + Home + + setIsMenuOpen(false)} + className="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-50 animated-link" + > + Docs + + setIsMenuOpen(false)} + className="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-50 animated-link" + > + Team + + setIsMenuOpen(false)} + className="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-50 animated-link" + > + Source Code + + +
+
+
+
+ + )} + + + ); +} diff --git a/pages/_app.tsx b/pages/_app.tsx index 1d9789d..4e4d18f 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -2,6 +2,7 @@ import "@/styles/globals.css"; import type { AppProps } from "next/app"; import Head from "next/head"; import FavIcon from "../public/favicon.ico"; +import Header from "@/components/Header"; export default function App({ Component, pageProps }: AppProps) { return ( @@ -9,7 +10,8 @@ export default function App({ Component, pageProps }: AppProps) { SeeQR - +
+ ); } diff --git a/pages/docs.tsx b/pages/docs.tsx index a71658a..c986304 100644 --- a/pages/docs.tsx +++ b/pages/docs.tsx @@ -1,9 +1,10 @@ import NavBar from "@/components/NavBar"; +import Header from "@/components/Header"; export default function Docs() { return ( <> - + {/* */}