Update src/app/layout.tsx
This commit is contained in:
@@ -1,51 +1,23 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Nunito } 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 nunito = Nunito({
|
||||
variable: "--font-nunito", subsets: ["latin"],
|
||||
});
|
||||
import type { Metadata } from 'next';
|
||||
import './globals.css';
|
||||
import './styles/variables.css';
|
||||
import './styles/base.css';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "EcoFusion | Real Sustainability Impact & Community Action", description: "Join thousands building sustainable futures with EcoFusion. Transparent environmental solutions, measurable impact metrics, and engaged community for eco-conscious brands.", keywords: "sustainability, environmental impact, carbon tracking, eco-conscious, community engagement, sustainable innovation", openGraph: {
|
||||
title: "EcoFusion | Real Impact Starts With Real Action", description: "Build sustainable futures with transparent accountability and measurable environmental change. Join 50K+ community members today.", siteName: "EcoFusion", type: "website", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/group-wind-turbine-power-generator_554837-348.jpg", alt: "Wind turbine in sustainable landscape"
|
||||
}
|
||||
]
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "EcoFusion | Real Sustainability Impact", description: "Join thousands making measurable environmental change with transparent accountability.", images: ["http://img.b2bpic.net/free-photo/group-wind-turbine-power-generator_554837-348.jpg"]
|
||||
}
|
||||
title: 'EcoFusion',
|
||||
description: 'Build sustainable futures with real impact',
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${nunito.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body>
|
||||
{children}
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1413,7 +1385,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user