Some checks failed
Build and Deploy Gabriel Kaszewski Portfolio / build-and-deploy-local (push) Failing after 10s
106 lines
2.5 KiB
TypeScript
106 lines
2.5 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
import Navbar from "@/components/navbar";
|
|
import Footer from "@/components/footer";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
default: "Gabriel Kaszewski | Full-Stack Developer",
|
|
template: "%s | Gabriel Kaszewski",
|
|
},
|
|
description:
|
|
"The portfolio of Gabriel Kaszewski, a self-taught full-stack developer specializing in Rust, Python, and modern web technologies.",
|
|
keywords: [
|
|
"Gabriel Kaszewski",
|
|
"Full-Stack Developer",
|
|
"Rust Developer",
|
|
"Python Developer",
|
|
"Next.js",
|
|
"Portfolio",
|
|
],
|
|
openGraph: {
|
|
title: "Gabriel Kaszewski | Full-Stack Developer",
|
|
description:
|
|
"Welcome to my portfolio. Discover my projects, skills, and journey.",
|
|
url: "https://gabrielkaszewski.dev",
|
|
siteName: "Gabriel Kaszewski's Portfolio",
|
|
locale: "en_US",
|
|
type: "website",
|
|
},
|
|
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: "Gabriel Kaszewski | Full-Stack Developer",
|
|
description:
|
|
"Explore my work as a full-stack developer, from web apps to game development.",
|
|
},
|
|
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
googleBot: {
|
|
index: true,
|
|
follow: true,
|
|
"max-video-preview": -1,
|
|
"max-image-preview": "large",
|
|
"max-snippet": -1,
|
|
},
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
const jsonLd = {
|
|
"@context": "https://schema.org",
|
|
"@type": "Person",
|
|
name: "Gabriel Kaszewski",
|
|
url: "https://gabrielkaszewski.dev",
|
|
sameAs: [
|
|
"https://github.com/GKaszewski",
|
|
"https://www.linkedin.com/in/gabriel-kaszewski-5344b3183",
|
|
],
|
|
jobTitle: "Full-Stack Developer",
|
|
alumniOf: "University of Gdańsk",
|
|
knowsAbout: [
|
|
"Rust",
|
|
"Python",
|
|
"Next.js",
|
|
"React",
|
|
"Tailwind CSS",
|
|
"Game Development",
|
|
"Web Development",
|
|
],
|
|
};
|
|
|
|
return (
|
|
<html lang="en">
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased relative`}
|
|
>
|
|
<script
|
|
type="application/ld+json"
|
|
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}
|
|
/>
|
|
|
|
<Navbar />
|
|
{children}
|
|
<Footer />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|