From 9817d46b3868a091756c80c1e2895510c5e28da3 Mon Sep 17 00:00:00 2001 From: Jonghyeon Ko Date: Mon, 23 Nov 2026 03:28:45 +0900 Subject: [PATCH] Remove unused SponsorsSection component --- knip.jsonc | 1 - src/components/SponsorsSection.tsx | 53 ------------------------------ 2 files changed, 54 deletions(-) delete mode 100644 src/components/SponsorsSection.tsx diff --git a/knip.jsonc b/knip.jsonc index 1a61fa857..3a5ff21d4 100644 --- a/knip.jsonc +++ b/knip.jsonc @@ -46,7 +46,6 @@ "src/components/PartnersSection.tsx", "src/components/PartnershipCallout.tsx", "src/components/QueryGGBanner.tsx", - "src/components/SponsorsSection.tsx", "src/components/StackBlitzEmbed.tsx", "src/components/Style.tsx", "src/components/UserFeedbackSection.tsx", diff --git a/src/components/SponsorsSection.tsx b/src/components/SponsorsSection.tsx deleted file mode 100644 index 0b68f0da5..000000000 --- a/src/components/SponsorsSection.tsx +++ /dev/null @@ -1,53 +0,0 @@ -import * as React from 'react' -import { Await } from '@tanstack/react-router' -import { Spinner } from '~/components/Spinner' -import OssSponsors from '~/components/OssSponsors' -import type { OssSponsor } from '~/utils/sponsors.functions' -import { Button } from '~/ui' -import { twMerge } from 'tailwind-merge' - -type SponsorsSectionProps = { - sponsorsPromise: Promise> - title?: string - aspectRatio?: string - showCTA?: boolean - ctaClassName?: string -} - -export function SponsorsSection({ - sponsorsPromise, - title = 'Sponsors', - aspectRatio = '1/1', - showCTA = true, - ctaClassName = 'bg-emerald-500 border-emerald-500 hover:bg-emerald-600 text-white', -}: SponsorsSectionProps) { - return ( -
-

- {title} -

-
- } - > - {(sponsors) => } - -
- {showCTA ? ( -
- -
- ) : null} -
- ) -}