51 lines
1.2 KiB
TypeScript
51 lines
1.2 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import { Clock } from "./components/Clock"
|
|
import "./globals.css";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Aleks' Portfolio",
|
|
description: "Generated by create next app",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body>
|
|
<div className="border">
|
|
<div className="header">
|
|
<div style={{flex: 1, padding: "0 2vh", color: "white"}}>
|
|
<a>Aleks' Portfolio</a>
|
|
</div>
|
|
<div style={{flex: 1, display: "flex", justifyContent: "end", color: "white", padding: "0 2vh"}}>
|
|
<a><Clock /></a>
|
|
</div>
|
|
</div>
|
|
<div className="innerCont">
|
|
<div className="content">
|
|
{children}
|
|
</div>
|
|
<div className="footer">
|
|
<b>© 4l3ks.com</b>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|