Update src/app/layout.tsx
This commit is contained in:
@@ -1,63 +1,20 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Source_Sans_3 } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { Inter } from "next/font/google";
|
||||
import "@/styles/globals.css";
|
||||
|
||||
const sourceSans3 = Source_Sans_3({
|
||||
variable: "--font-source-sans-3",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Investora AI – Beginner Investment Learning Platform Pakistan",
|
||||
description: "Investora AI helps Pakistan youth learn investing with AI-powered tools, risk management education, and step-by-step guidance. No guaranteed returns—education first. Join today.",
|
||||
keywords: "investment Pakistan, beginner investing, AI investment tools, risk management, financial education, Investora AI, stock market learning, crypto education",
|
||||
metadataBase: new URL("https://www.investora.ai"),
|
||||
alternates: {
|
||||
canonical: "https://www.investora.ai",
|
||||
},
|
||||
openGraph: {
|
||||
title: "Investora AI – Learn Smart. Invest Wise. Grow Strong.",
|
||||
description: "Premium financial education platform for Pakistan's young investors. AI-powered insights, risk management framework, and beginner-focused learning.",
|
||||
url: "https://www.investora.ai",
|
||||
siteName: "Investora AI",
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARuhUTfn0g5SeVwrtPBZT5NHla/a-modern-premium-investment-dashboard-wi-1772567904161-e4f78942.png",
|
||||
alt: "Investora AI - Investment Dashboard",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "Investora AI – Learn Smart. Invest Wise. Grow Strong.",
|
||||
description: "AI-powered investment education for Pakistan's youth. Risk-focused, beginner-friendly learning platform.",
|
||||
images: [
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARuhUTfn0g5SeVwrtPBZT5NHla/a-modern-premium-investment-dashboard-wi-1772567904161-e4f78942.png",
|
||||
],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "Investora AI - Investment Education for Pakistan", description: "AI-powered beginner investment education platform for Pakistan. Learn smart, invest wise, grow strong."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${sourceSans3.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1425,7 +1382,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user