Update src/app/layout.tsx

This commit is contained in:
2026-03-05 23:54:26 +00:00
parent 727c7bfb1e
commit 20cd4d67a5

View File

@@ -1,34 +1,23 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Montserrat } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const montserrat = Montserrat({
variable: "--font-montserrat", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Deutsch Lernen für Kinder | Sicherer Online-Unterricht", description: "Deutschunterricht für Kinder (5-12 Jahre) mit persönlicher Betreuung. Sicher, kinderfreundlich und mit direktem Chat zur Lehrerin.", keywords: "Deutschunterricht Kinder, Deutsch lernen, Online Unterricht Kinder, Sprachunterricht", metadataBase: new URL("https://deutsch-lernen-kinder.example.com"),
title: "Learn German for Kids | Safe Online Tutoring", description: "German lessons for children (5-12 years) with personal attention. Safe, child-friendly, and direct chat with the teacher.", keywords: "German lessons kids, learn German, online lessons kids, language tutoring", metadataBase: new URL("https://learn-german-kids.example.com"),
openGraph: {
title: "Deutsch Lernen für Kinder 🌸", description: "Sicherer und freundlicher Deutschunterricht speziell für Kinder zwischen 5 und 12 Jahren.", siteName: "Deutsch Lernen", type: "website", images: [
title: "Learn German for Kids", description: "Safe and friendly German lessons specifically for children ages 5-12.", siteName: "Learn German", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/row-multiethnic-elementary-students-reading-book-classroom-vintage-effect-style-pictures_1253-1577.jpg", alt: "Kinder lernen Deutsch"},
url: "http://img.b2bpic.net/free-photo/row-multiethnic-elementary-students-reading-book-classroom-vintage-effect-style-pictures_1253-1577.jpg", alt: "Children learning German"},
],
},
twitter: {
card: "summary_large_image", title: "Deutsch Lernen für Kinder", description: "Freundlicher Online-Deutschunterricht für Kinder (5-12 Jahre)", images: ["http://img.b2bpic.net/free-photo/row-multiethnic-elementary-students-reading-book-classroom-vintage-effect-style-pictures_1253-1577.jpg"],
card: "summary_large_image", title: "Learn German for Kids", description: "Friendly online German lessons for children (5-12 years)", images: ["http://img.b2bpic.net/free-photo/row-multiethnic-elementary-students-reading-book-classroom-vintage-effect-style-pictures_1253-1577.jpg"],
},
robots: {
index: true,
@@ -45,7 +34,7 @@ export default function RootLayout({
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${montserrat.variable} antialiased`}
className={`${inter.variable} antialiased`}
>
<Tag />
{children}