File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ export default function RootLayout({
2727 < body className = "antialiased tracking-tight" >
2828 < div className = "min-h-screen flex flex-col justify-between pt-0 md:pt-8 p-8 dark:bg-zinc-950 bg-white text-gray-900 dark:text-zinc-200" >
2929 < main className = "max-w-[60ch] mx-auto w-full space-y-6" >
30+ < Navbar />
31+
3032 { children }
3133 </ main >
3234 < Footer />
@@ -36,6 +38,25 @@ export default function RootLayout({
3638 </ html >
3739 ) ;
3840}
41+ function Navbar ( ) {
42+ return (
43+ < nav >
44+ < div className = " gap-x-2 items-center" >
45+ < span >
46+ ~ / < a href = "/" > home</ a > /{ ' ' }
47+ < a
48+ href = "https://github.com/erenworld"
49+ target = "_blank"
50+ rel = "noopener noreferrer"
51+ >
52+ github
53+ </ a > { ' ' }
54+ / < a href = "mailto:erenkad@proton.me" > email</ a >
55+ </ span >
56+ </ div >
57+ </ nav >
58+ ) ;
59+ }
3960
4061function Footer ( ) {
4162 const links = [
You can’t perform that action at this time.
0 commit comments