From 3ab559aa84ccd06151c229ce66df83e1f5d7c2ce Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Mon, 17 Nov 2025 14:43:39 +0100 Subject: [PATCH] refactor: remove unused imports across multiple components - Fixed CloudPros export name from AgentPro to CloudPros - Removed unused H1, H4, and H3Icon imports from HomeAurora - Removed unused H3, P, and Eyebrow imports from NetworkDownload - Changed motion.H3 and motion.P to lowercase motion.h3 and motion.p in NetworkDownload - Removed unused Small import from PodsFeatures - Removed unused IconClockHour5 import from PodsHow --- src/pages/cloud/CloudPros.tsx | 2 +- src/pages/home/HomeAurora.tsx | 3 +-- src/pages/network/NetworkDownload.tsx | 10 +++++----- src/pages/pods/PodsFeatures.tsx | 1 - src/pages/pods/PodsHow.tsx | 1 - 5 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/pages/cloud/CloudPros.tsx b/src/pages/cloud/CloudPros.tsx index 269975d..5b1e40f 100644 --- a/src/pages/cloud/CloudPros.tsx +++ b/src/pages/cloud/CloudPros.tsx @@ -27,7 +27,7 @@ const highlights = [ }, ]; -export function AgentPro() { +export function CloudPros() { return (
{/* Top spacing line */} diff --git a/src/pages/home/HomeAurora.tsx b/src/pages/home/HomeAurora.tsx index c72535d..5babdaa 100644 --- a/src/pages/home/HomeAurora.tsx +++ b/src/pages/home/HomeAurora.tsx @@ -1,6 +1,5 @@ -import { H1, H4, H3, H5, Eyebrow } from "@/components/Texts" +import { H3, H5, Eyebrow } from "@/components/Texts" import { Button } from "@/components/Button" -import { H3Icon } from "@heroicons/react/20/solid" export function HomeAurora({ onGetStartedClick }: { onGetStartedClick: () => void }) { return ( diff --git a/src/pages/network/NetworkDownload.tsx b/src/pages/network/NetworkDownload.tsx index ff72871..0c9f7b3 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 { H3, P, Eyebrow, CT, CP } from '@/components/Texts' +import { CT, CP } from '@/components/Texts' const features = [ { @@ -50,15 +50,15 @@ export function NetworkDownload() {
- Download Mycelium Network - - + Read the manual. - +
diff --git a/src/pages/pods/PodsFeatures.tsx b/src/pages/pods/PodsFeatures.tsx index 95c229a..ccdf049 100644 --- a/src/pages/pods/PodsFeatures.tsx +++ b/src/pages/pods/PodsFeatures.tsx @@ -1,7 +1,6 @@ "use client"; import { Container } from "@/components/Container"; -import { Small } from "@/components/Texts"; const useCases = [ { diff --git a/src/pages/pods/PodsHow.tsx b/src/pages/pods/PodsHow.tsx index ce993e6..678758d 100644 --- a/src/pages/pods/PodsHow.tsx +++ b/src/pages/pods/PodsHow.tsx @@ -3,7 +3,6 @@ import { Eyebrow, H4, H5 } from "@/components/Texts"; import PodsFlow from "./animations/PodsFlow"; import { useEffect, useState } from "react"; -import { IconClockHour5 } from "@tabler/icons-react"; const phrases = [ "everything runs directly from your Pod.",