Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 860a503bc9 | |||
| b7ca382d53 | |||
| b7f15f5f81 | |||
| 6fd32cdf47 | |||
| 2a824f49fc | |||
| 45685d87f3 | |||
| 1d59d29a77 | |||
| e5f0a7681c | |||
| 0c1b035df0 | |||
| 1a180eb2db | |||
| ada72ead36 |
@@ -1,49 +1,31 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Libre_Baskerville } from "next/font/google";
|
import "./styles/variables.css";
|
||||||
import { Inter } from "next/font/google";
|
import "./styles/base.css";
|
||||||
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"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
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"),
|
title: "Residence - Premium Real Estate", description: "Discover premium residences and find your perfect home with expert guidance."
|
||||||
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
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<body>
|
||||||
<body
|
{children}
|
||||||
className={`${libreBaskerville.variable} ${inter.variable} antialiased`}
|
<script
|
||||||
>
|
dangerouslySetInnerHTML={{
|
||||||
<Tag />
|
__html: `
|
||||||
{children}
|
(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
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
@@ -1412,7 +1394,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
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 FeatureCardNineteen from '@/components/sections/feature/FeatureCardNineteen';
|
||||||
import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
||||||
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
|
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
|
||||||
@@ -46,17 +46,21 @@ export default function ResidencePage() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="hero" data-section="hero">
|
<div id="hero" data-section="hero">
|
||||||
<HeroLogo
|
<HeroSplit
|
||||||
logoText="Residence"
|
title="Find Your Perfect Home"
|
||||||
description="Discover your dream home with trusted real estate expertise and personalized service."
|
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={[
|
buttons={[
|
||||||
{ text: "Explore Properties", href: "#featured" },
|
{ text: "Explore Properties", href: "#featured" },
|
||||||
{ text: "Schedule Viewing", href: "#contact" }
|
{ 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"
|
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>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user