update header

This commit is contained in:
2024-06-03 18:04:16 +02:00
parent c527eebd2b
commit 7da14f7642
2 changed files with 22 additions and 24 deletions

View File

@@ -20,12 +20,29 @@ export default function RootLayout({
return (
<html lang="en" className={GeistSans.className}>
<body>
<div className="flex justify-center gap-5 my-5 font-bold">
<TabItem targetPath="/" text="Home" />
<div className="flex justify-between my-5 font-bold mx-5">
<div>
<h1 className="text-2xl">
<a href="/">Stan Runge</a>
</h1>
</div>
<div className="flex justify-center gap-5">
<TabItem targetPath="/projects" text="Projects" />
<TabItem targetPath="/publications" text="Publications" />
<TabItem targetPath="/certificates" text="Certificates" />
</div>
<div className="flex justify-center gap-5">
<a href="https://github.com/stanrunge" className="text-blue-500">
GitHub
</a>
<a
href="https://linkedin.com/in/stanrunge"
className="text-blue-500"
>
LinkedIn
</a>
</div>
</div>
{children}
</body>

View File

@@ -50,25 +50,6 @@ export default async function Index() {
<p>English, Dutch, Spanish, Papiamentu, Korean</p>
</div>
</div>
<div className="text-center my-10">
<h2 className="text-3xl">Links</h2>
<ul>
<li>
<a href="https://github.com/stanrunge" className="text-blue-500">
GitHub
</a>
</li>
<li>
<a
href="https://linkedin.com/in/stanrunge"
className="text-blue-500"
>
LinkedIn
</a>
</li>
</ul>
</div>
</div>
);
}