homepage/landing pages 'done', dashboard started

This commit is contained in:
Jason Jordan
2025-07-16 17:27:22 -04:00
parent f16a4fd49a
commit 2bd7ce94fe
22 changed files with 866 additions and 220 deletions
+10 -4
View File
@@ -1,5 +1,6 @@
import '../styles/globals.css';
import type { AppProps } from 'next/app';
import { useRouter } from 'next/router';
import { Fraunces } from 'next/font/google'
import Navbar from '../components/Navbar';
import Footer from '../components/Footer';
@@ -8,12 +9,17 @@ import classNames from 'classnames';
const font = Fraunces({ subsets: ['latin'] })
function MyApp({ Component, pageProps }: AppProps) {
const router = useRouter();
const noNavPath = "/dashboard/"
return (
<main className={classNames("bg-britton-dark min-h-screen flex justify-center", font.className)}>
<div className="max-w-[1920px]">
<Navbar />
<main className={classNames("bg-deepcove min-h-screen flex justify-center", font.className)}>
<div className="w-full max-w-[1920px]">
{!router.pathname.includes("/dashboard/") && <Navbar />}
{/* <Navbar /> */}
<Component {...pageProps} />
<Footer />
{!router.pathname.includes("/dashboard/") && <Footer />}
</div>
</main>
);