diff --git a/knip.jsonc b/knip.jsonc index 5c8e4800e..cc9928080 100644 --- a/knip.jsonc +++ b/knip.jsonc @@ -19,11 +19,8 @@ // Existing findings at adoption. Delete entries as the corresponding code is cleaned up. "ignoreFiles": [ "src/chat/preferences.functions.ts", - "src/components/LandingCommunitySection.tsx", "src/components/Logo.tsx", - "src/components/MaintainersSection.tsx", "src/components/OptimizedImage.tsx", - "src/components/PartnershipCallout.tsx", "src/components/application-starter/CustomTemplateDialog.tsx", "src/components/application-starter/FeaturePicker.tsx", "src/components/application-starter/index.ts", diff --git a/src/components/LandingCommunitySection.tsx b/src/components/LandingCommunitySection.tsx deleted file mode 100644 index 7fbd364c2..000000000 --- a/src/components/LandingCommunitySection.tsx +++ /dev/null @@ -1,39 +0,0 @@ -import { Hydrate } from '@tanstack/react-start' -import { visible } from '@tanstack/react-start/hydration' -import type { LibraryId } from '~/libraries' -import { MaintainersSection } from './MaintainersSection' - -interface LandingCommunitySectionProps { - libraryId: LibraryId -} - -function SectionSkeleton({ title }: { title: string }) { - return ( -
-
-
-
- {Array.from({ length: 4 }).map((_, index) => ( -
- ))} -
-
-
- ) -} - -export function LandingCommunitySection({ - libraryId, -}: LandingCommunitySectionProps) { - return ( - } - > - - - ) -} diff --git a/src/components/MaintainersSection.tsx b/src/components/MaintainersSection.tsx deleted file mode 100644 index 133e963ed..000000000 --- a/src/components/MaintainersSection.tsx +++ /dev/null @@ -1,39 +0,0 @@ -import { Link } from '@tanstack/react-router' -import { LibraryId } from '~/libraries' -import { getLibraryMaintainers } from '~/libraries/maintainers' -import { Button } from '~/ui' -import { MaintainerCard } from './MaintainerCard' - -type MaintainersSectionProps = { - libraryId: LibraryId -} - -export function MaintainersSection({ libraryId }: MaintainersSectionProps) { - const maintainers = getLibraryMaintainers(libraryId) - - if (!maintainers.length) { - return null - } - - return ( -
-
-

Maintainers

-
- {maintainers.map((maintainer) => ( - - ))} -
-
- -
-
-
- ) -} diff --git a/src/components/PartnershipCallout.tsx b/src/components/PartnershipCallout.tsx deleted file mode 100644 index 66d4261c6..000000000 --- a/src/components/PartnershipCallout.tsx +++ /dev/null @@ -1,33 +0,0 @@ -import { HandHeartIcon } from '@phosphor-icons/react' -import { Card } from './Card' -import { - PARTNER_INQUIRY_HREF, - trackPartnerInquiry, -} from '~/utils/partner-inquiry' - -export function PartnershipCallout() { - return ( - - - TanStack You? - -
-
- We're looking for TanStack partners to support our open-source mission - and build useful integrations for the ecosystem. -
- trackPartnerInquiry('library_callout')} - > - Let's chat - -
-
- ) -}