mirror of
				https://github.com/DerTyp7/explainegy-nextjs.git
				synced 2025-10-31 05:37:12 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			720 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			720 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import "@/styles/globals.scss";
 | |
| import "@/styles/inputs.scss";
 | |
| import "@/styles/buttons.scss";
 | |
| import "@/styles/typography.scss";
 | |
| import type { AppProps } from "next/app";
 | |
| import AdminNav from "@/components/AdminNav";
 | |
| import Footer from "@/components/Footer";
 | |
| import Nav from "@/components/Nav";
 | |
| import { Category } from "@prisma/client";
 | |
| import prisma from "@/lib/prisma";
 | |
| import { SessionProvider } from "next-auth/react";
 | |
| 
 | |
| export default function App({ Component, pageProps: { session, ...pageProps } }: AppProps) {
 | |
|   return (
 | |
|     <SessionProvider session={session}>
 | |
|       <header>
 | |
|         <Nav />
 | |
|         <AdminNav />
 | |
|       </header>
 | |
|       <Component {...pageProps} />
 | |
|       <Footer />
 | |
|     </SessionProvider>
 | |
|   );
 | |
| }
 | 
