From d197ca74adceabb7a45bbfd7b588ab68354b2461 Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Wed, 22 Oct 2025 14:09:19 +0200 Subject: [PATCH] refactor: extract feature cards data and add overflow styles to animations --- src/components/ContentDistribution.tsx | 8 +- src/components/Features.tsx | 174 +++++++++++-------------- src/components/MessageBus.tsx | 8 +- src/components/ProxyDetection.tsx | 5 +- src/components/ProxyForwarding.tsx | 8 +- src/components/Texts.tsx | 5 +- 6 files changed, 102 insertions(+), 106 deletions(-) diff --git a/src/components/ContentDistribution.tsx b/src/components/ContentDistribution.tsx index af24c64..dd32a4a 100644 --- a/src/components/ContentDistribution.tsx +++ b/src/components/ContentDistribution.tsx @@ -2,6 +2,7 @@ import * as React from 'react'; import { motion, useReducedMotion } from 'framer-motion'; +import clsx from 'clsx'; type Props = { className?: string; // e.g. "w-full h-80" @@ -135,7 +136,12 @@ export default function ContentDistribution({ className, bg = '#ffffff' }: Props const prefersReduced = useReducedMotion(); return ( -