Update src/app/layout.tsx
This commit is contained in:
@@ -1,50 +1,23 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Poppins } 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 poppins = Poppins({
|
||||
variable: "--font-poppins", subsets: ["latin"],
|
||||
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
|
||||
});
|
||||
weight: ["400", "500", "600", "700", "800", "900"],
|
||||
subsets: ["latin"],
|
||||
variable: "--font-poppins"});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Zukko Arena - Intellektual Quiz Platformasi", description: "Zukko Arena - Mantiq, tarix va fan sohasida o'zingizni sinab ko'ring. Leaderboard'da eng yuqori ballga ega bo'ling va premium intellektual tajriba oling.", keywords: "quiz, trivia, o'yin, intellektual, Zukko Arena, mantiq, tarix, fan, O'zbekiston", openGraph: {
|
||||
title: "Zukko Arena - Intellektual Quiz Platformasi", description: "Mantiq, tarix va fan sohasida savollarga javob bering. Leaderboard'da o'rinishni oshiring va premium o'yunchiga aylaning.", type: "website", siteName: "Zukko Arena"},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "Zukko Arena - Intellektual Quiz Platformasi", description: "Bilimingizni Sinovdan O'tkazing! Premium quiz platformasida o'ynaing va leaderboard'da o'rinishing ko'tarilsin."},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "Zukko Arena - Intellektual O'yinlar Platformasi", description: "Bilimingizni Zukko Arena'da sinovdan o'tkazing. Mantiq, tarix va fan bo'yicha o'yinlar orqali liderlik pozitsiyasiga chiqing."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${poppins.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="uz">
|
||||
<body className={poppins.variable}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1412,7 +1385,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user