Update src/app/layout.tsx

This commit is contained in:
2026-03-05 01:34:10 +00:00
parent a7b1d82986
commit 9bd32aa311

View File

@@ -1,58 +1,22 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Inter_Tight } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import "./styles/variables.css";
import "./styles/base.css";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const interTight = Inter_Tight({
variable: "--font-inter-tight", subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "FemFit - Women's Fitness Programs & Training", description: "Expert-led fitness programs designed for women. Transform your body with personalized training, nutrition coaching, and supportive community.", keywords: "women fitness, female training, gym programs, fitness coaching, women's health", metadataBase: new URL("https://femfit.com"),
alternates: {
canonical: "https://femfit.com"},
openGraph: {
title: "FemFit - Empower Your Fitness Journey", description: "Join thousands of women achieving their fitness goals with expert coaching and community support.", url: "https://femfit.com", siteName: "FemFit", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/sportswoman-doing-hyperextension-exercise_651396-754.jpg", alt: "FemFit - Women's Fitness"},
],
},
twitter: {
card: "summary_large_image", title: "FemFit - Women's Fitness Programs", description: "Expert training for women. Transform your fitness journey today.", images: ["http://img.b2bpic.net/free-photo/sportswoman-doing-hyperextension-exercise_651396-754.jpg"],
},
robots: {
index: true,
follow: true,
},
};
title: "FemFit - Women's Fitness Programs", description: "Expert-led fitness training programs designed specifically for women"};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${interTight.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1420,7 +1384,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}