import type { Metadata } from "next";

const SITE_URL = process.env.NEXT_PUBLIC_SITE_URL ?? "https://drivehub.in";

export const metadata: Metadata = {
  title: "My Saved Cars — Wishlist | DriveHub",
  description:
    "View and manage your saved cars. Access your favourite cars quickly and compare them to find the best match.",
  openGraph: {
    title: "My Saved Cars — Wishlist | DriveHub",
    description: "All your saved cars in one place.",
    type: "website",
    url: `${SITE_URL}/wishlist`,
    siteName: "DriveHub",
  },
  twitter: {
    card: "summary",
    title: "My Saved Cars — Wishlist | DriveHub",
    description: "All your saved cars in one place.",
  },
  alternates: {
    canonical: `${SITE_URL}/wishlist`,
  },
  robots: {
    index: false, // wishlist is personal, no benefit in indexing
    follow: true,
  },
};

export default function WishlistLayout({ children }: { children: React.ReactNode }) {
  return <>{children}</>;
}
