diff --git a/components/reference-cards.tsx b/components/reference-cards.tsx index 07556c4..33a1b59 100644 --- a/components/reference-cards.tsx +++ b/components/reference-cards.tsx @@ -12,25 +12,22 @@ type ReferenceCardsProps = { export function ReferenceCards({ className, cardClassName, lineClamp }: ReferenceCardsProps) { const locale = useLocale(); + const hoverClassName = + "transition-colors duration-200 group-hover:border-red-600/40 group-hover:bg-muted/30 group-hover:shadow-sm"; return (
{REFERENCES.map((item) => { const quoteText = getLocalizedValue(item.quote, locale); - const quoteContent = lineClamp ? ( - {quoteText} - ) : ( - quoteText - ); const card = ( ); @@ -47,7 +44,7 @@ export function ReferenceCards({ className, cardClassName, lineClamp }: Referenc target="_blank" rel="noreferrer" aria-label={`${item.author} bağlantısı`} - className="block h-full transition-transform hover:scale-[1.02]" + className="group block h-full" > {card} diff --git a/components/references-detail-content.tsx b/components/references-detail-content.tsx index c9f0379..385b0c8 100644 --- a/components/references-detail-content.tsx +++ b/components/references-detail-content.tsx @@ -6,7 +6,7 @@ export function ReferencesDetailContent() { const t = useTranslations("About"); return ( -
+