import React from "react";
import AiScholarshipMatch from "./AiScholarshipMatch";

export const metadata = {
  title: "AI Scholarship Match: Find Scholarships You Qualify For",
  description:
    "Discover country-wise and university-wise scholarships using AI. Get matched instantly based on your profile, deadlines, funding amount, and eligibility.",
  siteName: process.env.NEXT_PUBLIC_APP_WEBSITE_NAME,
  openGraph: {
    title: "AI Scholarship Match: Smart Scholarship Finder",
    description:
      "Find fully funded and partial scholarships using AI. Save hours of searching with intelligent scholarship matching.",
    url: `${process.env.NEXT_PUBLIC_APP_URL}/ai-scholarship-match`,
    siteName: process.env.NEXT_PUBLIC_APP_WEBSITE_NAME,
    locale: "en_US",
    type: "website",
  },
  twitter: {
    card: "summary_large_image",
    title: "AI Scholarship Match: Smart Scholarship Finder",
    description:
      "AI-powered scholarship matching based on your profile, country, university, deadline, and funding type.",
  },
  alternates: {
    canonical: `${process.env.NEXT_PUBLIC_APP_URL}/ai-scholarship-match`,
  },
  robots: {
    index: true,
    follow: true,
    nocache: false,
    googleBot: {
      index: true,
      follow: true,
      noimageindex: false,
      "max-video-preview": -1,
      "max-image-preview": "large",
      "max-snippet": -1,
    },
  },
};

export default async function AiScholarshipMatchPage() {
  return (
    <>
      <AiScholarshipMatch />
    </>
  );
}
