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({
|
export default function RootLayout({
|
||||||
children
|
children
|
||||||
}: {
|
}: {
|
||||||
|
@ -6,7 +8,17 @@ export default function RootLayout({
|
||||||
return (
|
return (
|
||||||
<html>
|
<html>
|
||||||
<head />
|
<head />
|
||||||
<body>{children}</body>
|
<body>
|
||||||
|
<nav>
|
||||||
|
<Link href="/">
|
||||||
|
Home
|
||||||
|
</Link>
|
||||||
|
<Link href="/contact">
|
||||||
|
Contact Me
|
||||||
|
</Link>
|
||||||
|
</nav>
|
||||||
|
{children}
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev --turbo",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue