diff --git a/app/page.tsx b/app/page.tsx index b9c69ca4..373492c4 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -86,6 +86,15 @@ const Footer = dynamic(() => import("@/components/footer"), { ssr: true }); +/** + * Client-side Home page component that composes the header, multiple lazily loaded home sections, and footer. + * + * Renders a vertical layout with a Header, a content container that loads HeroSection2, FeaturesSection, + * CommunitySpotlight, SponsorsSection, and LatestContentPreview via Suspense fallbacks, and a Footer. + * Each section uses a tailored skeleton fallback while the dynamically imported component loads. + * + * @returns The Home page JSX element. + */ export default function Home() { return ( <> diff --git a/components/home/SponsorsSection.tsx b/components/home/SponsorsSection.tsx index 48678961..ba3f8263 100644 --- a/components/home/SponsorsSection.tsx +++ b/components/home/SponsorsSection.tsx @@ -55,6 +55,17 @@ const sponsors = [ }, ]; +/** + * Renders a horizontally scrolling sponsors showcase section with header and animated sponsor tiles. + * + * Displays a decorative header ("Our Sponsors" pill, title, and subtitle) and a continuously scrolling + * marquee of sponsor cards (duplicated sequence to create a seamless scroll). Each card shows the + * sponsor logo, name, and title; when a sponsor has a link, its card is wrapped in an external anchor. + * + * Logos are rendered with Next/Image and certain sponsor names receive custom sizing classes. + * + * @returns The SponsorsSection React element. + */ export function SponsorsSection() { return (