Add pages and basic navbar
This commit is contained in:
parent
067247298b
commit
2a566eee44
3 changed files with 14 additions and 2 deletions
0
app/contact/page.tsx
Normal file
0
app/contact/page.tsx
Normal 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>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue