Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<>
Expand Down
11 changes: 11 additions & 0 deletions components/home/SponsorsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<section className="py-20 relative overflow-hidden">
Expand Down