Add blog page

This commit is contained in:
2024-04-25 04:41:05 +02:00
parent 1b8d84b469
commit 9364264dc1
4 changed files with 55 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
import { GeistSans } from "geist/font/sans";
import "./globals.css";
import TabItem from "@/components/TabItem";
const defaultUrl = process.env.VERCEL_URL
? `https://${process.env.VERCEL_URL}`
@@ -18,7 +19,14 @@ export default function RootLayout({
}) {
return (
<html lang="en" className={GeistSans.className}>
<body>{children}</body>
<body>
<div className="flex justify-center gap-5 my-5 font-bold">
<TabItem targetPath="/" text="Home" />
<TabItem targetPath="/blog" text="Blog" />
</div>
{children}
</body>
</html>
);
}