refactor(footer, header, robots): enhance accessibility, improve formatting, and update sitemap directives

This commit is contained in:
2025-02-13 18:18:00 +01:00
parent 3cdd1c4bec
commit d517abab9f
8 changed files with 199 additions and 193 deletions

View File

@@ -1,35 +1,64 @@
// app/layout.tsx
"use client";
import "./globals.css";
import { Roboto } from "next/font/google";
import {Metadata} from "next";
import {Roboto} from "next/font/google";
import React from "react";
//import ClientCookieConsentBanner from "./components/ClientCookieConsentBanner";
const roboto = Roboto({
variable: "--font-roboto",
weight: "400",
subsets: ["latin"],
variable: "--font-roboto",
weight: "400",
subsets: ["latin"],
});
export default function RootLayout({
children,
}: {
children: React.ReactNode;
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<head>
<script
defer
src="https://umami.denshooter.de/script.js"
data-website-id="1f213877-deef-4238-8df1-71a5a3bcd142"
></script>
<meta charSet="utf-8" />
</head>
<body className={roboto.variable}>{children}</body>
</html>
);
return (
<html lang="en">
<head>
<script
defer
src="https://umami.denshooter.de/script.js"
data-website-id="1f213877-deef-4238-8df1-71a5a3bcd142"
></script>
<meta charSet="utf-8"/>
<title>Dennis Konkol&#39;s Portfolio</title>
</head>
<body className={roboto.variable}>{children}</body>
</html>
);
}
export const metadata: Metadata = {
title: "Dennis Konkol | Portfolio",
description: "Portfolio of Dennis Konkol, a student and software engineer based in Osnabrück, Germany. Passionate about technology, coding, and solving real-world problems.",
keywords: ["Dennis Konkol", "Software Engineer", "Portfolio", "Student"],
authors: [{name: "Dennis Konkol", url: "https://dki.one"}],
openGraph: {
title: "Dennis Konkol | Portfolio",
description: "Explore my projects and get in touch!",
url: "https://dki.one",
siteName: "Dennis Konkol Portfolio",
images: [
{
url: "https://dki.one/api/og",
width: 1200,
height: 630,
alt: "Dennis Konkol Portfolio",
},
],
type: "website",
},
twitter: {
card: "summary_large_image",
title: "Dennis Konkol | Portfolio",
description: "Student & Software Engineer based in Osnabrück, Germany.",
images: ["https://dki.one/api/og"],
},
};