6 Commits

Author SHA1 Message Date
860a503bc9 Update src/app/layout.tsx 2026-03-09 09:12:37 +00:00
b7ca382d53 Update src/app/page.tsx 2026-03-09 09:11:49 +00:00
b7f15f5f81 Update src/app/layout.tsx 2026-03-09 09:11:48 +00:00
6fd32cdf47 Merge version_2 into main
Merge version_2 into main
2026-03-09 09:05:16 +00:00
45685d87f3 Merge version_2 into main
Merge version_2 into main
2026-03-09 08:58:27 +00:00
e5f0a7681c Merge version_2 into main
Merge version_2 into main
2026-03-09 08:57:19 +00:00
2 changed files with 20 additions and 39 deletions

View File

@@ -1,50 +1,32 @@
import type { Metadata } from "next";
import { Libre_Baskerville } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const libreBaskerville = Libre_Baskerville({
variable: "--font-libre-baskerville", subsets: ["latin"],
weight: ["400", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
import "./styles/variables.css";
import "./styles/base.css";
export const metadata: Metadata = {
title: "Residence Real Estate Agency - Buy, Sell & Rent Homes", description: "Find your dream home with Residence. Expert real estate agents offering buying, selling, and rental services. Personalized service for every client.", keywords: "real estate, homes for sale, rental properties, real estate agency, buy home, sell property", metadataBase: new URL("https://residence.com"),
alternates: {
canonical: "https://residence.com"
},
openGraph: {
title: "Residence - Your Trusted Real Estate Partner", description: "Discover homes and work with expert agents. Buy, sell, or rent with confidence.", type: "website", siteName: "Residence", url: "https://residence.com"
},
twitter: {
card: "summary_large_image", title: "Residence Real Estate Agency", description: "Find your perfect home with trusted agents"
},
robots: {
index: true,
follow: true
}
title: "Residence - Premium Real Estate", description: "Discover premium residences and find your perfect home with expert guidance."
};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${libreBaskerville.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<body>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
(function() {
const theme = localStorage.getItem('theme') || 'system';
const isDark = theme === 'dark' || (theme === 'system' && window.matchMedia('(prefers-color-scheme: dark)').matches);
if (isDark) document.documentElement.classList.add('dark');
})();
`,
}}
/>
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1412,7 +1394,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}

View File

@@ -212,4 +212,4 @@ export default function ResidencePage() {
</div>
</ThemeProvider>
);
}
}