Update src/app/layout.tsx

This commit is contained in:
2026-03-04 11:42:08 +00:00
parent 5bdcae357b
commit c0577c221f

View File

@@ -1,51 +1,28 @@
import type { Metadata } from "next";
import { Public_Sans } from "next/font/google";
import { Inter } from "next/font/google";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const publicSans = Public_Sans({
variable: "--font-public-sans", subsets: ["latin"],
const geist = Geist({
variable: "--font-geist-sans", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
const geistMono = Geist_Mono({
variable: "--font-geist-mono", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Luxe Salon | Professional Hair & Beauty Services", description: "Modern unisex salon offering professional haircuts, styling, nail art, makeup, and beauty treatments. Book your appointment today.", keywords: "salon, haircut, nail art, makeup, beauty services, styling, professional salon, unisex salon", metadataBase: new URL("https://example.com"),
alternates: {
canonical: "https://example.com"},
openGraph: {
title: "Luxe Salon | Professional Hair & Beauty Services", description: "Professional haircuts, styling, nail art, makeup, and beauty treatments in a welcoming, inclusive environment.", url: "https://example.com", siteName: "Luxe Salon", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/brunette-woman-with-mobile-phone-getting-her-hair-done_23-2148108788.jpg", alt: "Luxury salon interior"},
],
},
twitter: {
card: "summary_large_image", title: "Luxe Salon | Professional Hair & Beauty Services", description: "Book your beauty appointment at our professional unisex salon.", images: ["http://img.b2bpic.net/free-photo/brunette-woman-with-mobile-phone-getting-her-hair-done_23-2148108788.jpg"],
},
robots: {
index: true,
follow: true,
},
};
title: "Luxe Salon", description: "Professional haircuts, styling, nail art, makeup, and beauty treatments"};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${publicSans.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1413,7 +1390,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}