Main pages

This commit is contained in:
2026-03-10 23:45:14 +01:00 Unverified
parent 2b4897ad65
commit b6a78abae8
17 changed files with 2244 additions and 116 deletions
+23 -22
View File
@@ -1,34 +1,35 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
// app/layout.tsx
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
import Navbar from './components/Navbar';
import './globals.css';
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
export const metadata = {
title: 'Soderberg Tech',
description: 'William Söderberg, Technical high school engineer from Höganäs, Sweden',
};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
<body className="flex flex-col min-h-screen m-0 p-0 font-sans bg-[#0d1117]">
<Navbar />
<main className="flex flex-col flex-1">
{children}
</main>
<footer className="w-full relative z-50 mt-auto border-t border-white/5">
<div className="bg-[#0d1117] flex justify-center items-center h-10">
<a className="text-[#a0aab6] no-underline flex font-medium items-center hover:text-white transition-colors text-sm tracking-widest uppercase" href="/">
© William Söderberg {new Date().getFullYear()}
</a>
</div>
</footer>
</body>
</html>
);
}
}