first commit
This commit is contained in:
50
app/layout.tsx
Normal file
50
app/layout.tsx
Normal file
@@ -0,0 +1,50 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user