540df57f8d
not-found.tsx renders oversized Fraunces heading with a back link. Body gets flex flex-col min-h-screen so main can flex-1 to fill available height without pushing the footer off screen.
24 lines
602 B
TypeScript
24 lines
602 B
TypeScript
import type { Metadata } from 'next';
|
|
import { fraunces, publicSans } from '$shared/lib';
|
|
import { Footer } from '$widgets/Footer';
|
|
import './globals.css';
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Portfolio',
|
|
description: 'Portfolio',
|
|
};
|
|
|
|
/**
|
|
* Root layout — injects font CSS variables used by theme.css
|
|
*/
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={`${fraunces.variable} ${publicSans.variable} flex flex-col min-h-screen`}>
|
|
{children}
|
|
<Footer />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|