Update src/app/layout.tsx
This commit is contained in:
@@ -1,61 +1,25 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from 'next';
|
||||||
import { Manrope } from "next/font/google";
|
import { Inter } from 'next/font/google';
|
||||||
import "./globals.css";
|
import './globals.css';
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
|
|
||||||
const manrope = Manrope({
|
const inter = Inter({
|
||||||
variable: "--font-manrope",
|
variable: '--font-inter',
|
||||||
subsets: ["latin"],
|
subsets: ['latin'],
|
||||||
});
|
});
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "English Dom - Learn English Online with Expert Instructors",
|
title: 'Webild',
|
||||||
description: "Master English with personalized lessons from certified instructors. Beginner to advanced courses available. Start your free trial today.",
|
description: 'Build Modern Web Experiences',
|
||||||
keywords: "english lessons, learn english online, english courses, language learning, english fluency",
|
|
||||||
metadataBase: new URL("https://englishdom.com"),
|
|
||||||
alternates: {
|
|
||||||
canonical: "https://englishdom.com"
|
|
||||||
},
|
|
||||||
openGraph: {
|
|
||||||
title: "English Dom - Learn English Online",
|
|
||||||
description: "Transform your English skills with expert instruction and proven methodology.",
|
|
||||||
url: "https://englishdom.com",
|
|
||||||
siteName: "English Dom",
|
|
||||||
type: "website",
|
|
||||||
images: [
|
|
||||||
{
|
|
||||||
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766484689467-d854773z.jpg",
|
|
||||||
alt: "English learning classroom"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
twitter: {
|
|
||||||
card: "summary_large_image",
|
|
||||||
title: "English Dom - Learn English Online",
|
|
||||||
description: "Master English with personalized lessons from certified instructors.",
|
|
||||||
images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766484689467-d854773z.jpg"]
|
|
||||||
},
|
|
||||||
robots: {
|
|
||||||
index: true,
|
|
||||||
follow: true
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" className={inter.variable}>
|
||||||
<ServiceWrapper>
|
<body>{children}
|
||||||
<body
|
|
||||||
className={manrope.variable}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1274,7 +1238,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user