import { HeroSection } from "@/components/landing/hero-section";
import { StatsBar } from "@/components/landing/stats-bar";
import { CallForPapers } from "@/components/landing/call-for-papers";
import { LatestPapers } from "@/components/landing/latest-papers";
import { Footer } from "@/components/layout/footer";
import { Navbar } from "@/components/layout/navbar";

export default function LandingPage() {
  return (
    <>
      <Navbar />
      <main>
        <HeroSection />
        {/* Directly under the hero's two buttons: a reader who has just been
            invited to submit or to browse wants to see what the journal has
            actually published, not the counters first. */}
        <LatestPapers />
        <StatsBar />
        <CallForPapers />
      </main>
      <Footer />
    </>
  );
}
