import type { Metadata } from 'next';
import { redirect } from 'next/navigation';

export const metadata: Metadata = {
  title: 'CrushLevel AI - Grow Your Love Story',
  description:
    "Grow your love story with CrushLevel AI—From 'Hi' to 'I Do', sparked by every chat. Create, chat, and connect with AI companions.",
  keywords: [
    'CrushLevel',
    'AI companion',
    'AI chat',
    'virtual girlfriend',
    'virtual boyfriend',
    'AI dating',
    'chat AI',
    'AI character',
    'interactive AI',
    'AI conversation',
  ],
  openGraph: {
    title: 'CrushLevel AI - Grow Your Love Story',
    description:
      "Grow your love story with CrushLevel AI—From 'Hi' to 'I Do', sparked by every chat. Create, chat, and connect with AI companions.",
    url: 'https://www.crushlevel.com',
    siteName: 'CrushLevel AI',
    images: [
      {
        url: '/logo.svg',
        width: 1200,
        height: 630,
        alt: 'CrushLevel AI - Grow Your Love Story',
      },
    ],
    locale: 'en_US',
    type: 'website',
  },
  twitter: {
    card: 'summary_large_image',
    title: 'CrushLevel AI - Grow Your Love Story',
    description:
      "Grow your love story with CrushLevel AI—From 'Hi' to 'I Do', sparked by every chat.",
    images: ['/logo.svg'],
    site: '@crushlevel',
  },
  robots: {
    index: true,
    follow: true,
    googleBot: {
      index: true,
      follow: true,
      'max-video-preview': -1,
      'max-image-preview': 'large',
      'max-snippet': -1,
    },
  },
  alternates: {
    canonical: 'https://www.crushlevel.com',
  },
};

export default function HomePage() {
  redirect('/home');
}
