diff --git a/.gitignore b/.gitignore index c080985..a066314 100644 --- a/.gitignore +++ b/.gitignore @@ -13,8 +13,8 @@ build/ .env.local .env.*.local -# Prisma generated -prisma/migrations/ +# Prisma generated client (niet de migrations zelf!) +prisma/generated/ # Misc .DS_Store @@ -22,4 +22,4 @@ prisma/migrations/ .vercel npm-debug.log* yarn-debug.log* -yarn-error.log* +yarn-error.log* \ No newline at end of file diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 0ebf162..e2568a7 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -5,74 +5,82 @@ import Link from "next/link"; import Image from "next/image"; import { usePathname } from "next/navigation"; +const NAV = [ + { href: "/", label: "Klassement", icon: "🏆" }, + { href: "/log", label: "Loggen", icon: "➕" }, + { href: "/history", label: "Geschiedenis", icon: "📅" }, +]; + export function Header() { const { data: session } = useSession(); const pathname = usePathname(); - const nav = [ - { href: "/", label: "🏆 Klassement" }, - { href: "/log", label: "➕ Loggen" }, - { href: "/history", label: "📅 Geschiedenis" }, - ]; - return ( -
-
+
+
+ {/* Logo */} - + 💤 SlaapKampioen - {/* Nav */} -
); -} +} \ No newline at end of file