import type { Metadata } from "next";
import AboutClient from "./AboutClient";
import Script from "next/script";

export const metadata: Metadata = {
  title: "About Ridoo - Bike & Car Rental Platform in India",
  description:
    "Learn about Ridoo, your trusted platform for bike and car rentals. We provide affordable, reliable, and seamless mobility solutions across cities.",

  keywords: [
    "about ridoo",
    "bike rental platform india",
    "car rental service india",
    "self drive rentals",
    "vehicle rental company",
  ],

  alternates: {
    canonical: "/about",
  },

  openGraph: {
    title: "About Ridoo",
    description:
      "Ridoo simplifies bike and car rentals with trusted partners and seamless booking.",
    url: "/about",
    siteName: "Ridoo",
    type: "website",
    images: [
      {
        url: "/og-image.png",
        width: 1200,
        height: 630,
      },
    ],
  },

  robots: {
    index: true,
    follow: true,
  },
};

export default function Page() {
  return (
    <>
      {/* 🔥 ORGANIZATION SCHEMA */}
      <Script
        id="about-schema"
        type="application/ld+json"
        dangerouslySetInnerHTML={{
          __html: JSON.stringify({
            "@context": "https://schema.org",
            "@type": "Organization",
            name: "Ridoo",
            url: "https://ridoo.co.in",
            description:
              "Ridoo is a platform for renting bikes and cars easily across cities.",
          }),
        }}
      />

      <AboutClient />
    </>
  );
}