Initial commit

This commit is contained in:
2026-08-22 17:29:31 +00:00
commit 080c4d0f39
14 changed files with 7128 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
@import "tailwindcss";
:root {
--background: #FFFFFF;
--foreground: #000000;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
}
body {
background: var(--background);
color: var(--foreground);
font-family: Arial, Helvetica, sans-serif;
}
+29
View File
@@ -0,0 +1,29 @@
import { type ReactNode } from 'react';
import { type Metadata } from 'next';
import '@/app/globals.css';
type Props = Readonly<{
children: ReactNode;
}>;
export const metadata: Metadata = {
title: {
default: '<Title>',
template: '%s | <Template>'
},
description: '<Description>',
keywords: [ '<Keyword>' ],
alternates: {
canonical: 'https://<domain>'
}
};
export default function RootLayout({ children }: Props) {
return (
<html lang="de" >
<body>
{children}
</body>
</html>
);
}
+5
View File
@@ -0,0 +1,5 @@
export default function Page() {
return (
<p>Works!</p>
);
}
+19
View File
@@ -0,0 +1,19 @@
import { type MetadataRoute } from 'next';
export default function robots(): MetadataRoute.Robots {
return {
rules: [
{
userAgent: '*',
allow: '/',
disallow: [
'/private/',
'/cdn-cgi/',
'/_next/'
]
}
],
sitemap: 'https://<domain>/sitemap.xml'
};
}
+30
View File
@@ -0,0 +1,30 @@
import { type MetadataRoute } from 'next';
type Route = MetadataRoute.Sitemap[number];
type Params = Readonly<{
path: string;
changeFrequency?: Route['changeFrequency'];
priority?: Route['priority'];
}>;
const baseURL = 'https://<domain>';
function buildRoute({ path, changeFrequency = 'yearly', priority = 0.0 }: Params) {
const route = {
url: `${baseURL}${path}`,
changeFrequency,
priority
} as Route;
return route;
}
export default function sitemap(): MetadataRoute.Sitemap {
return [
buildRoute({ path: '/', changeFrequency: 'monthly', priority: 1.0 })
];
}