mirror of
https://github.com/DerTyp7/explainegy-nextjs.git
synced 2025-10-29 12:52:13 +01:00
refactor
This commit is contained in:
@@ -6,12 +6,14 @@ 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";
|
||||
|
||||
export default function App({ Component, pageProps }: AppProps) {
|
||||
return (
|
||||
<>
|
||||
<header>
|
||||
<Nav categories={[]} />
|
||||
<Nav />
|
||||
<AdminNav />
|
||||
</header>
|
||||
<Component {...pageProps} />
|
||||
|
||||
Reference in New Issue
Block a user