Update src/app/layout.tsx
This commit is contained in:
@@ -1,61 +1,25 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Manrope } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import type { Metadata } from 'next';
|
||||
import { Inter } from 'next/font/google';
|
||||
import './globals.css';
|
||||
|
||||
const manrope = Manrope({
|
||||
variable: "--font-manrope",
|
||||
subsets: ["latin"],
|
||||
const inter = Inter({
|
||||
variable: '--font-inter',
|
||||
subsets: ['latin'],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "English Dom - Learn English Online with Expert Instructors",
|
||||
description: "Master English with personalized lessons from certified instructors. Beginner to advanced courses available. Start your free trial today.",
|
||||
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
|
||||
}
|
||||
title: 'Webild',
|
||||
description: 'Build Modern Web Experiences',
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={manrope.variable}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en" className={inter.variable}>
|
||||
<body>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1274,7 +1238,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user