Connect, collaborate, and grow with a community of TypeScript developers
Add basic profile page (#28)
Sean Boulte36a47f57015
diff --git a/src/app/profile/page.tsx b/src/app/profile/page.tsxnew file mode 100644index 00000000..e7a0be86--- /dev/null+++ b/src/app/profile/page.tsx@@ -0,0 +1,14 @@+import Head from 'next/head';++export default async function Profile() {+ return (+ <div>+ <Head>+ <title>Type Hero - Profile</title>+ </Head>+ <div className="flex flex-col items-center justify-center gap-4">+ <p className="text-center text-2xl text-white">Profile</p>+ </div>+ </div>+ );+}diff --git a/src/components/ui/navigation.tsx b/src/components/ui/navigation.tsxindex f53bdc33..39ad1443 100644--- a/src/components/ui/navigation.tsx+++ b/src/components/ui/navigation.tsx@@ -2,7 +2,7 @@import { useTheme } from 'next-themes';-import { Bell, Moon, Sun } from 'lucide-react';+import { User, Bell, Moon, Sun } from 'lucide-react';import Link from 'next/link';import { useEffect, useState } from 'react';import {@@ -95,6 +95,10 @@ export function Navigation() {<button type="button"><Bell className="h-6 w-6" aria-hidden="true" /></button>++ <Link href="/profile">+ <User className="h-6 w-6" aria-hidden="true" />+ </Link></div></div></nav>