diff --git a/knip.jsonc b/knip.jsonc index 9b24f0888..1848da7b9 100644 --- a/knip.jsonc +++ b/knip.jsonc @@ -41,7 +41,6 @@ "src/components/LandingPageGad.tsx", "src/components/LibraryDownloadsMicro.tsx", "src/components/LibraryStatsSection.tsx", - "src/components/LibraryTestimonials.tsx", "src/components/Logo.tsx", "src/components/LogoColor.tsx", "src/components/LogoQueryGG.tsx", diff --git a/src/components/LibraryTestimonials.tsx b/src/components/LibraryTestimonials.tsx deleted file mode 100644 index f0f3ed4d4..000000000 --- a/src/components/LibraryTestimonials.tsx +++ /dev/null @@ -1,76 +0,0 @@ -import { StarIcon } from '@phosphor-icons/react' -import type { Testimonial } from '~/libraries/types' -import { Card } from './Card' - -export function LibraryTestimonials({ - testimonials, -}: { - testimonials?: Testimonial[] -}) { - if (!testimonials || testimonials.length === 0) return null - - // Speed: roughly 25px per second - const duration = (testimonials.length * 288 + testimonials.length * 24) / 25 - - return ( -
-
-

Loved by Developers

-

- See what teams are saying -

-
-
-
- {[...testimonials, ...testimonials].map((testimonial, i) => ( - - ))} -
-
-