import { createFileRoute } from "@tanstack/react-router";
import { TopNav, Footer } from "@/components/site/nav";
import { Hero } from "@/components/site/hero";
import {
  KpiSection,
  WorkflowSection,
  ReactorSection,
  CatalystSection,
  ExperimentsSection,
  KineticsSection,
  ButanoneSection,
  ModelSection,
  MethodologySection,
  QaSection,
  ConclusionsSection,
  ReproducibilitySection,
} from "@/components/site/sections";

export const Route = createFileRoute("/")({
  head: () => ({
    meta: [
      { title: "AEROCAT RFLF Lab | VOC Photocatalysis Kinetics" },
      {
        name: "description",
        content:
          "Scientific case study of gas-phase VOC degradation in a high-velocity circulating fluidized-bed photoreactor, combining TiO2/SiO2 catalyst characterisation, GC-PID measurements and Langmuir–Hinshelwood kinetic modelling.",
      },
      { property: "og:title", content: "AEROCAT RFLF Lab | VOC Photocatalysis Kinetics" },
      {
        property: "og:description",
        content:
          "Gas-phase VOC photocatalysis in a circulating fluidized-bed reactor: 41 experiments, four Langmuir–Hinshelwood fits, transparent kinetic reconstruction.",
      },
      { property: "og:type", content: "website" },
      { name: "twitter:card", content: "summary_large_image" },
    ],
  }),
  component: Home,
});

function Home() {
  return (
    <div className="min-h-screen">
      <TopNav />
      <main>
        <Hero />
        <KpiSection />
        <WorkflowSection />
        <ReactorSection />
        <CatalystSection />
        <ExperimentsSection />
        <KineticsSection />
        <ButanoneSection />
        <ModelSection />
        <MethodologySection />
        <QaSection />
        <ConclusionsSection />
        <ReproducibilitySection />
      </main>
      <Footer />
    </div>
  );
}
