From e4018fb693278dc35e558c9e4889a95e58ff11b4 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 13:35:12 +0000 Subject: [PATCH 1/3] Update src/app/layout.tsx --- src/app/layout.tsx | 55 +++++++++++++++++++++++++++++++++++++++------- 1 file changed, 47 insertions(+), 8 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 0a803b2..bb8b104 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,24 +1,61 @@ import type { Metadata } from "next"; import { Halant } from "next/font/google"; import { Inter } from "next/font/google"; +import { Mulish } from "next/font/google"; import "./globals.css"; import { ServiceWrapper } from "@/components/ServiceWrapper"; import Tag from "@/tag/Tag"; import { getVisualEditScript } from "@/utils/visual-edit-script"; -import { Mulish } from "next/font/google"; +const halant = Halant({ + variable: "--font-halant", + subsets: ["latin"], + weight: ["300", "400", "500", "600", "700"], +}); - -export const metadata: Metadata = { - title: "Webild components 2", - description: "Generated by create next app", -}; +const inter = Inter({ + variable: "--font-inter", + subsets: ["latin"], +}); const mulish = Mulish({ variable: "--font-mulish", subsets: ["latin"], }); +export const metadata: Metadata = { + title: "Kanton Schwyz - Official Government Portal", + description: "Modern portal for Canton Schwyz government services, jobs, permits, and citizen information. Easy access to taxes, ePolizei, legal documents, and current announcements.", + keywords: "Canton Schwyz, government services, permits, jobs, taxes, Switzerland", + metadataBase: new URL("https://www.sz.ch"), + alternates: { + canonical: "https://www.sz.ch", + }, + openGraph: { + title: "Kanton Schwyz", + description: "Your official gateway to Canton Schwyz government services and information", + url: "https://www.sz.ch", + siteName: "Kanton Schwyz", + type: "website", + images: [ + { + url: "https://www.sz.ch/og-image.jpg", + alt: "Kanton Schwyz official portal", + }, + ], + }, + twitter: { + card: "summary_large_image", + title: "Kanton Schwyz", + description: "Official government services portal", + images: ["https://www.sz.ch/twitter-image.jpg"], + }, + robots: { + index: true, + follow: true, + }, +}; + export default function RootLayout({ children, }: Readonly<{ @@ -27,7 +64,9 @@ export default function RootLayout({ return ( - + {children}