diff --git a/src/app/privacy-policy/page.tsx b/src/app/privacy-policy/page.tsx index dbd875f..0e46843 100644 --- a/src/app/privacy-policy/page.tsx +++ b/src/app/privacy-policy/page.tsx @@ -2,6 +2,12 @@ import Link from "next/link"; import Header from "@/components/Header"; import Footer from "@/components/Footer"; import InnerBanner from "@/components/InnerBanner"; +import { Metadata } from "next"; + +export const metadata: Metadata = { + title: "Privacy Policy | Your Data, Security & Rights", + description: "Understand how your personal information is collected, used, and protected. Our Privacy Policy ensures transparency and your data rights.", +}; export default function PrivacyPolicy() { return ( diff --git a/src/app/projects/page.tsx b/src/app/projects/page.tsx index d862f31..4f7d33e 100644 --- a/src/app/projects/page.tsx +++ b/src/app/projects/page.tsx @@ -3,6 +3,12 @@ import Image from "next/image"; import Header from "@/components/Header"; import Footer from "@/components/Footer"; import InnerBanner from "@/components/InnerBanner"; +import { Metadata } from "next"; + +export const metadata: Metadata = { + title: "Our Projects | Premium Residential & Commercial Spaces", + description: "Explore premium residential and commercial spaces built for comfort, convenience, and superior lifestyle experiences.", +}; export default function ProjectsPage() { const categories = [ diff --git a/src/app/residential-real-estate/[slug]/page.tsx b/src/app/residential-real-estate/[slug]/page.tsx index 643a5bc..da98c5c 100644 --- a/src/app/residential-real-estate/[slug]/page.tsx +++ b/src/app/residential-real-estate/[slug]/page.tsx @@ -22,8 +22,8 @@ export async function generateMetadata({ params }: { params: Promise<{ slug: str } return { - title: `${property.title} | Sky and Soil`, - description: property.description, + title: property.metaTitle || property.title, + description: property.metaDescription || property.description, }; } diff --git a/src/app/terms-of-service/page.tsx b/src/app/terms-of-service/page.tsx index 3d63868..44a995e 100644 --- a/src/app/terms-of-service/page.tsx +++ b/src/app/terms-of-service/page.tsx @@ -2,6 +2,12 @@ import Link from "next/link"; import Header from "@/components/Header"; import Footer from "@/components/Footer"; import InnerBanner from "@/components/InnerBanner"; +import { Metadata } from "next"; + +export const metadata: Metadata = { + title: "Terms of Service | Website Use & User Guidelines", + description: "Read the Terms of Service to know your rights, responsibilities, and the rules for using our website safely and effectively.", +}; export default function TermsOfService() { return ( diff --git a/src/components/Header.tsx b/src/components/Header.tsx index ca605a8..e061762 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -26,9 +26,9 @@ export default function Header() { : "bg-transparent py-6" }`} > -
+
-
+