feat: apply Funktechnik Schubert branding

This commit is contained in:
Schubert Ferenc 2026-07-03 21:08:04 +02:00
parent 9a648e2ec8
commit 99e8201745
17 changed files with 335 additions and 104 deletions

View file

@ -1,15 +1,22 @@
import type { Metadata } from "next";
const siteName = "Funktechnik Schubert";
const defaultTitle = "Funktechnik Schubert | Funkgeräte-Service & Messtechnik";
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL ?? "http://localhost:3010";
const keywords = [
"Funktechnik Schubert",
"Funkgeräte Reparatur",
"CB Funk Service",
"Amateurfunk Reparatur",
"Amateurfunk Service",
"Funkgeräte Abgleich",
"Funkgeräte Diagnose",
"Messtechnik",
"Funktechnik Service",
"Kommunikationstechnik",
"Service Manual",
"Schaltplan",
"Funkwerkstatt",
"Reparaturannahme",
];
export function createMetadata(title: string, description: string, path = "/"): Metadata {
@ -17,9 +24,19 @@ export function createMetadata(title: string, description: string, path = "/"):
const fullTitle = title === siteName ? title : `${title} | ${siteName}`;
return {
title: fullTitle,
metadataBase: new URL(siteUrl),
title: title === siteName ? { default: defaultTitle, template: `%s | ${siteName}` } : fullTitle,
applicationName: siteName,
description,
keywords,
icons: {
icon: [
{ url: "/favicon.ico", sizes: "any" },
{ url: "/favicon-16x16.png", sizes: "16x16", type: "image/png" },
{ url: "/favicon-32x32.png", sizes: "32x32", type: "image/png" },
],
apple: [{ url: "/apple-touch-icon.png", sizes: "180x180", type: "image/png" }],
},
alternates: {
canonical: url,
},
@ -30,8 +47,16 @@ export function createMetadata(title: string, description: string, path = "/"):
siteName,
title: fullTitle,
description,
images: [
{
url: "/funktechnik_schubert_logo.jpg",
width: 1672,
height: 941,
alt: siteName,
},
],
},
};
}
export { siteName, siteUrl };
export { defaultTitle, siteName, siteUrl };