feat: add Dockerfile and deployment configuration; update metadata and project descriptions
Some checks failed
Build and Deploy Gabriel Kaszewski Portfolio / build-and-deploy-local (push) Failing after 10s
Some checks failed
Build and Deploy Gabriel Kaszewski Portfolio / build-and-deploy-local (push) Failing after 10s
This commit is contained in:
@@ -42,7 +42,6 @@
|
||||
}
|
||||
|
||||
body {
|
||||
/* background: var(--background); */
|
||||
background-image: url("/images/background.avif");
|
||||
background-size: cover;
|
||||
background-attachment: fixed;
|
||||
|
@@ -3,7 +3,6 @@ import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import Navbar from "@/components/navbar";
|
||||
import Footer from "@/components/footer";
|
||||
import Image from "next/image";
|
||||
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans",
|
||||
@@ -16,8 +15,48 @@ const geistMono = Geist_Mono({
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Gabriel Kaszewski",
|
||||
description: "Welcome to my portfolio",
|
||||
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({
|
||||
@@ -25,11 +64,38 @@ export default function RootLayout({
|
||||
}: 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 />
|
||||
|
@@ -36,6 +36,21 @@ export async function generateMetadata({
|
||||
return {
|
||||
title: `${project.name} | Gabriel Kaszewski`,
|
||||
description: project.short_description,
|
||||
openGraph: {
|
||||
title: project.name,
|
||||
description: project.short_description,
|
||||
images:
|
||||
project.thumbnails && project.thumbnails.length > 0
|
||||
? [
|
||||
{
|
||||
url: project.thumbnails[0],
|
||||
width: 800,
|
||||
height: 600,
|
||||
alt: project.name,
|
||||
},
|
||||
]
|
||||
: undefined,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
|
@@ -4,7 +4,8 @@ import { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "My Projects | Gabriel Kaszewski",
|
||||
description: "A showcase of projects by Gabriel Kaszewski.",
|
||||
description:
|
||||
"A showcase of my work, including web applications, games, and developer tools built with Rust, Next.js, and more.",
|
||||
};
|
||||
|
||||
const ProjectsPage = () => {
|
||||
|
Reference in New Issue
Block a user