Files
fe42d73b-085e-4e41-bb5b-e9d…/src/app/layout.tsx
2026-04-17 08:49:55 +00:00

53 lines
1.4 KiB
TypeScript

import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import "@/lib/gsap-setup";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { DM_Sans } from "next/font/google";
export const metadata: Metadata = {
title: 'Talkpik - Master TOPIK with AI',
description: 'The ultimate AI-powered tool for mastering the TOPIK exam. Personalized learning, real-time feedback, and proven results.',
openGraph: {
"title": "Talkpik - Master TOPIK with AI",
"description": "Master TOPIK faster with personalized AI learning.",
"siteName": "Talkpik"
},
};
const dmSans = DM_Sans({
variable: "--font-dm-sans",
subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${dmSans.variable} ${inter.variable} antialiased`}>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}