chore: modularize ui components

This commit is contained in:
Jesse Egbosionu
2025-12-01 22:57:12 +01:00
parent 5c22b9b844
commit c460ea27d4
8 changed files with 270 additions and 216 deletions
+24
View File
@@ -0,0 +1,24 @@
import Head from 'next/head';
import Header from './Header';
import Footer from './Footer';
export default function Layout({ children, title, description, showNavLinks = true }) {
return (
<div className="container">
<Head>
<title>{title || 'Jesse Egbosionu - Software Engineer'}</title>
<link rel="icon" href="/favicon.ico" />
<meta
name="description"
content={description || 'Software engineer based in Amsterdam, focused on building scalable backend systems.'}
/>
</Head>
<Header showNavLinks={showNavLinks} />
<main className="main-content">{children}</main>
<Footer />
</div>
);
}