Add pages and basic navbar

This commit is contained in:
Hydroxycarbamide 2022-11-21 10:47:12 +01:00
parent 067247298b
commit 2a566eee44
3 changed files with 14 additions and 2 deletions

0
app/contact/page.tsx Normal file
View file

View file

@ -1,3 +1,5 @@
import Link from "next/link"
export default function RootLayout({
children
}: {
@ -6,7 +8,17 @@ export default function RootLayout({
return (
<html>
<head />
<body>{children}</body>
<body>
<nav>
<Link href="/">
Home
</Link>
<Link href="/contact">
Contact Me
</Link>
</nav>
{children}
</body>
</html>
)
}

View file

@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"dev": "next dev --turbo",
"build": "next build",
"start": "next start",
"lint": "next lint"