Files
next-web/src/pages/_app.tsx
T

25 lines
667 B
TypeScript
Raw Normal View History

2025-06-30 15:54:10 -04:00
import '../styles/globals.css';
import type { AppProps } from 'next/app';
2025-07-02 16:39:16 -04:00
import { Playfair_Display, Fraunces } from 'next/font/google'
2025-06-30 15:54:10 -04:00
import Navbar from '../components/Navbar';
import Footer from '../components/Footer';
import classNames from 'classnames';
2025-07-02 16:39:16 -04:00
// const font = Playfair_Display({ weight: '500',subsets: ['latin'] })
const font = Fraunces({ subsets: ['latin'] })
2025-06-30 15:54:10 -04:00
function MyApp({ Component, pageProps }: AppProps) {
2025-06-30 15:54:10 -04:00
return (
<>
2025-07-02 16:39:16 -04:00
<main className={classNames("bg-britton-dark min-h-screen", font.className)}>
2025-06-30 15:54:10 -04:00
<Navbar />
<Component {...pageProps} />
<Footer />
</main>
2025-06-30 15:54:10 -04:00
</>
);
}
export default MyApp;