From da5cf2d4a2101e196e2559b7eac91c41c1c9b8ea Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Tue, 18 Nov 2025 14:36:58 +0100 Subject: [PATCH] refactor: remove unused props and imports, standardize Eyebrow styling in SecondaryFeatures and StorageFeatures - Removed unused onGetStartedClick prop from CloudHeroNew component - Removed unused H3 and P imports from NetworkDownload - Added H3, P, and Eyebrow imports to SecondaryFeatures - Replaced generic elements with typography components (Eyebrow, H3, P) in SecondaryFeatures - Changed Eyebrow styling to text-cyan-500 uppercase tracking-[0.16em] in SecondaryFeatures - Updated description text --- src/pages/cloud/CloudHeroNew.tsx | 2 +- src/pages/network/NetworkDownload.tsx | 2 +- src/pages/network/SecondaryFeatures.tsx | 14 +++++++------- src/pages/storage/archive/StorageFeatures.tsx | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/pages/cloud/CloudHeroNew.tsx b/src/pages/cloud/CloudHeroNew.tsx index 49fd1c7..dae6bb1 100644 --- a/src/pages/cloud/CloudHeroNew.tsx +++ b/src/pages/cloud/CloudHeroNew.tsx @@ -1,7 +1,7 @@ import { H3, Eyebrow, P } from "@/components/Texts" import { Button } from "@/components/Button" -export function CloudHeroNew({ onGetStartedClick = () => {} }: { onGetStartedClick?: () => void }) { +export function CloudHeroNew() { return (
{/* Boxed container */} diff --git a/src/pages/network/NetworkDownload.tsx b/src/pages/network/NetworkDownload.tsx index 587f084..576dc77 100644 --- a/src/pages/network/NetworkDownload.tsx +++ b/src/pages/network/NetworkDownload.tsx @@ -7,7 +7,7 @@ import windowsIcon from '@/images/windows.svg' import androidIcon from '@/images/android.svg' import linuxIcon from '@/images/linux.svg' -import { CT, CP, H3, P } from '@/components/Texts' +import { CT, CP } from '@/components/Texts' const features = [ { diff --git a/src/pages/network/SecondaryFeatures.tsx b/src/pages/network/SecondaryFeatures.tsx index c0cff04..9d233e1 100644 --- a/src/pages/network/SecondaryFeatures.tsx +++ b/src/pages/network/SecondaryFeatures.tsx @@ -1,6 +1,6 @@ import { useId } from 'react' import { Container } from '@/components/Container' -import { CP } from '@/components/Texts' +import { CP, H3, P, Eyebrow } from '@/components/Texts' const features = [ { @@ -197,13 +197,13 @@ export function SecondaryFeatures() {
-

FEATURES

-

- Core Features -

-

+ FEATURES +

+ Core Features +

+

The Mycelium Network is evolving with new features to support richer data movement, identity, and application connectivity across the mesh. -

+

    - + Core Features