Merge version_2 into main #4
@@ -1,54 +1,20 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Public_Sans } 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 publicSans = Public_Sans({
|
||||
variable: "--font-public-sans", subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "AI Vocabulary Helper - Learn English Words Instantly", description: "Discover definitions, examples, synonyms, and images for any English word. Build your vocabulary with AI-powered learning that's simple, friendly, and effective.", keywords: "vocabulary, English learning, dictionary, word definitions, synonyms, language learning, AI education", robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
openGraph: {
|
||||
type: "website", siteName: "AI Vocabulary Helper", title: "AI Vocabulary Helper - Learn English Words Instantly", description: "Discover definitions, examples, synonyms, and images for any English word. Build your vocabulary with AI-powered learning.", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/stack-books-black-wooden-table_93675-135417.jpg", alt: "AI Vocabulary Helper - English Learning"},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "AI Vocabulary Helper - Learn English Words Instantly", description: "Master English vocabulary with definitions, examples, and synonyms. Simple. Friendly. Effective.", images: ["http://img.b2bpic.net/free-photo/stack-books-black-wooden-table_93675-135417.jpg"],
|
||||
},
|
||||
};
|
||||
title: "Create Next App", description: "Generated by create next app"};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${publicSans.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1416,7 +1382,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ export default function LandingPage() {
|
||||
title="Master English Vocabulary with AI"
|
||||
description="Discover definitions, examples, synonyms, and related images for any English word. Build your vocabulary effortlessly with our intelligent learning companion."
|
||||
buttons={[
|
||||
{ text: "Start Learning", href: "#search" },
|
||||
{ text: "Search Your First Word", href: "#search" },
|
||||
{ text: "Explore Examples", href: "#tips" }
|
||||
]}
|
||||
dashboard={{
|
||||
|
||||
Reference in New Issue
Block a user