import { createFileRoute } from "@tanstack/react-router";
import { Navbar } from "@/components/site/Navbar";
import { Hero } from "@/components/site/Hero";
import { About } from "@/components/site/About";
import { Courses } from "@/components/site/Courses";
import { Features } from "@/components/site/Features";
import { Testimonials } from "@/components/site/Testimonials";
import { CtaBanner } from "@/components/site/CtaBanner";
import { Footer } from "@/components/site/Footer";
import { HomeFAQ } from "@/components/site/HomeFAQ";
import { ChatBot } from "@/components/site/ChatBot";

export const Route = createFileRoute("/")({
  component: Index,
  head: () => ({
    meta: [
      { title: "Fighter Bull's Trading Academy — Learn Crypto, Forex & Share Market" },
      { name: "description", content: "Live mentorship, practical learning & real market analysis. Learn Crypto, Forex & Indian Options trading from beginner to pro with Fighter Bull's." },
      { property: "og:title", content: "Fighter Bull's Trading Academy" },
      { property: "og:description", content: "Trade Smarter, Not Harder — Live Mentorship & Pro Strategy Classes." },
    ],
  }),
});

function Index() {
  return (
    <div className="min-h-screen">
      <Navbar />
      <main>
        <Hero />
        <About />
        <Courses />
        <Features />
        <Testimonials />
        <CtaBanner />
        <HomeFAQ />
      </main>
      <Footer />
      <ChatBot />
    </div>
  );
}
