Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c029181240 | |||
| 860a503bc9 | |||
| 49da2bb9d9 | |||
| b7ca382d53 | |||
| b7f15f5f81 | |||
| 6fd32cdf47 | |||
| 2a824f49fc | |||
| 45685d87f3 | |||
| 1d59d29a77 | |||
| e5f0a7681c | |||
| 0c1b035df0 | |||
| 1a180eb2db | |||
| ada72ead36 |
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
||||
import HeroLogo from '@/components/sections/hero/HeroLogo';
|
||||
import HeroSplit from '@/components/sections/hero/HeroSplit';
|
||||
import FeatureCardNineteen from '@/components/sections/feature/FeatureCardNineteen';
|
||||
import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
||||
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
|
||||
@@ -46,17 +46,21 @@ export default function ResidencePage() {
|
||||
</div>
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroLogo
|
||||
logoText="Residence"
|
||||
description="Discover your dream home with trusted real estate expertise and personalized service."
|
||||
<HeroSplit
|
||||
title="Find Your Perfect Home"
|
||||
description="Discover premium residences with expert guidance. From urban penthouses to serene family estates, we connect you with homes that match your dreams."
|
||||
tag="Premium Properties"
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "rotated-rays-animated" }}
|
||||
buttons={[
|
||||
{ text: "Explore Properties", href: "#featured" },
|
||||
{ text: "Schedule Viewing", href: "#contact" }
|
||||
]}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AYjE2mbjep15lnnQCim3WHJ4cn/uploaded-1773046163696-a1shobv5.png"
|
||||
imageAlt="Luxury residential property"
|
||||
showDimOverlay={true}
|
||||
buttonAnimation="slide-up"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AYjE2mbjep15lnnQCim3WHJ4cn/uploaded-1773047079158-eazn9wzy.png"
|
||||
imageAlt="Luxury residential property"
|
||||
mediaAnimation="slide-up"
|
||||
imagePosition="right"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user