Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 187c1df0b6 | |||
| 40bde5c6f5 | |||
| b418190d16 | |||
| 67697b0155 | |||
| 06cf41472a | |||
| 5b00eef1f7 | |||
| c3491f0bfd | |||
| faa428f476 |
@@ -1,54 +1,20 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Halant } from "next/font/google";
|
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import { Public_Sans } from "next/font/google";
|
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
|
|
||||||
const halant = Halant({
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
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"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
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: {
|
title: "Create Next App", description: "Generated by create next app"};
|
||||||
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"],
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
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">
|
||||||
<ServiceWrapper>
|
<body className={inter.className}>{children}
|
||||||
<body
|
|
||||||
className={`${halant.variable} ${inter.variable} ${publicSans.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1416,7 +1382,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -47,7 +47,7 @@ export default function LandingPage() {
|
|||||||
title="Master English Vocabulary with AI"
|
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."
|
description="Discover definitions, examples, synonyms, and related images for any English word. Build your vocabulary effortlessly with our intelligent learning companion."
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Start Learning", href: "#search" },
|
{ text: "Search a Word Free", href: "#search" },
|
||||||
{ text: "Explore Examples", href: "#tips" }
|
{ text: "Explore Examples", href: "#tips" }
|
||||||
]}
|
]}
|
||||||
dashboard={{
|
dashboard={{
|
||||||
@@ -207,4 +207,4 @@ export default function LandingPage() {
|
|||||||
</div>
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user