// page.jsx
import React from "react";
import VisaPredictor from "./VisaPredictor";

export const metadata = {
  title: "Chance Your Visa: AI Visa Predictor",
  description: "Predict your visa success chances using our AI-powered tool. Enter your country, education gap, financial source, and IELTS score to see your visa approval probability.",
  siteName: process.env.NEXT_PUBLIC_APP_WEBSITE_NAME,
  openGraph: {
    title: "Chance Your Visa: AI Visa Predictor",
    description: "Predict your visa success chances using our AI-powered tool. Enter your country, education gap, financial source, and IELTS score to see your visa approval probability.",
    url: `${process.env.NEXT_PUBLIC_APP_URL}/visa-predictor`,
    siteName: process.env.NEXT_PUBLIC_APP_WEBSITE_NAME,
    locale: "en_US",
    type: "website",
  },
  twitter: {
    card: "summary_large_image",
    title: "Chance Your Visa: AI Visa Predictor",
    description: "Predict your visa success chances using our AI-powered tool. Enter your country, education gap, financial source, and IELTS score to see your visa approval probability.",
  },
  alternates: {
    canonical: `${process.env.NEXT_PUBLIC_APP_URL}/visa-predictor`,
  },
  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 VisaPredictorPage() {

  return (
    <>
    <VisaPredictor/>
    </>
  );
}
