Update src/app/layout.tsx

This commit is contained in:
2026-03-06 10:20:36 +00:00
parent 984f59ac00
commit a51d55baa2

View File

@@ -1,53 +1,21 @@
import type { Metadata } from "next";
import { DM_Sans } from "next/font/google";
import { Inter } from "next/font/google";
import "./styles/variables.css";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const dmSans = DM_Sans({
variable: "--font-dm-sans", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Tawwy Apartments - Luxury Mediterranean Accommodation", description: "Discover beautiful Mediterranean apartments perfect for your vacation. Prime locations, fully equipped, WiFi included. Book your stay today with Tawwy Apartments.", keywords: "Mediterranean apartments, vacation rental, luxury accommodation, beach apartments, holiday homes", metadataBase: new URL("https://tawwyapartments.com"),
alternates: {
canonical: "https://tawwyapartments.com"
},
openGraph: {
title: "Tawwy Apartments - Your Mediterranean Home", description: "Luxury apartments with stunning views and prime locations. Perfect for holidays and remote work.", url: "https://tawwyapartments.com", siteName: "Tawwy Apartments", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/woman-doing-daily-activities-minimal-decorated-room_23-2150407613.jpg", alt: "Luxury Mediterranean apartment"
}
]
},
twitter: {
card: "summary_large_image", title: "Tawwy Apartments - Mediterranean Luxury", description: "Beautiful apartments with sea views and perfect locations", images: ["http://img.b2bpic.net/free-photo/woman-doing-daily-activities-minimal-decorated-room_23-2150407613.jpg"]
},
robots: {
index: true,
follow: true
}
};
title: "Tawwy Apartments", description: "Beautiful, comfortable Mediterranean apartments for your perfect getaway."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${dmSans.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1415,7 +1383,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
}