import { Metadata } from "next";

import ClientNavbar from "@/components/pages/client/common/client-navbar";
import Footer from "@/components/common/footer";

export const metadata: Metadata = {
  title: "Why us",
  description:
    "Discover why People for Research is a trusted partner for participant recruitment. We deliver high-quality participants for user research, usability testing, market research and more.",
  openGraph: {
    title: "Why us",
    description:
      "Discover why People for Research is a trusted partner for participant recruitment. We deliver high-quality participants for user research, usability testing, market research and more.",
    images: [
      {
        url: "/global-assets/pfr-logo-og-client.svg",
        alt: "People for Research logo, featuring a person inside a circle, representing a focus on human-centered research and activities.",
        width: 200,
        height: 150,
      },
    ],
  },
  twitter: {
    card: "summary_large_image",
    title: "Why us",
    images: "/global-assets/pfr-logo-og-client.svg",
    description:
      "Discover why People for Research is a trusted partner for participant recruitment. We deliver high-quality participants for user research, usability testing, market research and more.",
  },
};

export default function WhyUsLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <div className="flex flex-col min-h-screen bg-others-mistyGray dark:bg-jet">
      <ClientNavbar />
      <main className="flex-grow" id="main-content">
        {children}
      </main>
      <Footer source="client" />
    </div>
  );
}
