basic styling

This commit is contained in:
Gregor Lohaus
2025-04-07 17:52:50 +02:00
parent cbf6ef653a
commit 90df8a3f0c
3 changed files with 19 additions and 3 deletions

View File

@@ -5,6 +5,10 @@
import "./src/env.js";
/** @type {import("next").NextConfig} */
const config = {};
const config = {
typescript: {
ignoreBuildErrors: true
}
};
export default config;

View File

@@ -14,12 +14,24 @@ const geist = Geist({
variable: "--font-geist-sans",
});
const TopNav = () => {
return (
<nav className="flex w-full border-b p-4 gap-5 bg-black text-white border-white">
<div> Blog </div>
<div> CV </div>
</nav>
)
}
export default function RootLayout({
children,
}: Readonly<{ children: React.ReactNode }>) {
return (
<html lang="en" className={`${geist.variable}`}>
<body>{children}</body>
<body className="flex flex-col gap-2 bg-black text-white">
<TopNav/>
{children}
</body>
</html>
);
}

View File

@@ -2,7 +2,7 @@ import Link from "next/link";
export default function HomePage() {
return (
<main className="flex min-h-screen flex-col items-center justify-center bg-gradient-to-b from-[#2e026d] to-[#15162c] text-white">
<main className="flex min-h-screen flex-col items-center justify-center bg-black text-white">
<div>
Hello World
</div>