From f0de7980a182f567340b806601169e075fb5d3bf Mon Sep 17 00:00:00 2001 From: adibarra <93070681+adibarra@users.noreply.github.com> Date: Fri, 20 Mar 2026 16:10:25 -0500 Subject: [PATCH 1/9] clean up supporters page: match carousel style, add NVIDIA/AMD logos, brand highlighting --- packages/app/public/logos/amd.svg | 1 + packages/app/public/logos/nvidia.svg | 1 + .../src/components/quotes/quotes-content.tsx | 67 +++++++++++++++---- .../app/src/components/quotes/quotes-data.ts | 5 ++ 4 files changed, 62 insertions(+), 12 deletions(-) create mode 100644 packages/app/public/logos/amd.svg create mode 100644 packages/app/public/logos/nvidia.svg diff --git a/packages/app/public/logos/amd.svg b/packages/app/public/logos/amd.svg new file mode 100644 index 00000000..fb891572 --- /dev/null +++ b/packages/app/public/logos/amd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/app/public/logos/nvidia.svg b/packages/app/public/logos/nvidia.svg new file mode 100644 index 00000000..0197daf7 --- /dev/null +++ b/packages/app/public/logos/nvidia.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/app/src/components/quotes/quotes-content.tsx b/packages/app/src/components/quotes/quotes-content.tsx index b3bc8c97..edafd0fe 100644 --- a/packages/app/src/components/quotes/quotes-content.tsx +++ b/packages/app/src/components/quotes/quotes-content.tsx @@ -1,32 +1,73 @@ 'use client'; import { Card } from '@/components/ui/card'; +import { useState } from 'react'; import { QUOTES } from './quotes-data'; +function highlightBrand(text: string) { + const parts = text.split(/(InferenceMAX™?|InferenceX™?|InferenceMAX|InferenceX)/gi); + return parts.map((part, i) => + /^inference(max|x)/i.test(part) ? ( + + {part} + + ) : ( + part + ), + ); +} + +function CompanyLogo({ company, logo }: { company: string; logo?: string }) { + const [failed, setFailed] = useState(false); + + if (!logo || failed) { + return ( +
--- “{text}” -
- -
+); if (link) { @@ -61,13 +102,15 @@ export function QuotesContent() {+ “{highlightBrand(text)}” +
+ +
@@ -104,7 +71,7 @@ function QuoteBlock({ quote }: { quote: CarouselQuote }) { “{highlightBrand(quote.text)}”