From 02429f69fd2fedb29c229fad8baca7d0a83d4bde Mon Sep 17 00:00:00 2001 From: Poyraz Avsever Date: Sat, 20 Jun 2026 12:49:45 +0300 Subject: [PATCH] feat: add reference cards and detail content components to display testimonials --- components/reference-cards.tsx | 5 +++-- components/references-detail-content.tsx | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/components/reference-cards.tsx b/components/reference-cards.tsx index c22a12d..d6af78d 100644 --- a/components/reference-cards.tsx +++ b/components/reference-cards.tsx @@ -4,9 +4,10 @@ import { REFERENCES } from "@/data/references"; type ReferenceCardsProps = { className?: string; + cardClassName?: string; }; -export function ReferenceCards({ className }: ReferenceCardsProps) { +export function ReferenceCards({ className, cardClassName }: ReferenceCardsProps) { return (
{REFERENCES.map((item) => { @@ -17,7 +18,7 @@ export function ReferenceCards({ className }: ReferenceCardsProps) { role={item.role} avatar={item.avatar} rating={item.rating} - className="h-full w-70 shrink-0 rounded-sm" + className={`h-full rounded-sm ${cardClassName || "w-70 shrink-0"}`} /> ); diff --git a/components/references-detail-content.tsx b/components/references-detail-content.tsx index 4a4d10f..b96479a 100644 --- a/components/references-detail-content.tsx +++ b/components/references-detail-content.tsx @@ -11,7 +11,10 @@ export function ReferencesDetailContent() { {"<- Hakkımda'ya dön"} - + ); }