From 0e8de7e7fe17e637676d78f0fdfe8421acbdb8e9 Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Thu, 6 Nov 2025 22:42:24 +0100 Subject: [PATCH] refactor: remove unused imports across cloud page components - Cleaned up unused component imports (CircleBackground, Button, Texts components) - Removed unused utility function classNames - Changed button color prop from "dark" to "white" in CallToAction component --- src/pages/cloud/CalltoAction.tsx | 3 +-- src/pages/cloud/CloudHeroNew.tsx | 2 +- src/pages/cloud/CloudHostingNew.tsx | 6 +----- src/pages/cloud/CloudPage.tsx | 1 - 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/pages/cloud/CalltoAction.tsx b/src/pages/cloud/CalltoAction.tsx index 8a027ba..d2c4290 100644 --- a/src/pages/cloud/CalltoAction.tsx +++ b/src/pages/cloud/CalltoAction.tsx @@ -1,6 +1,5 @@ "use client"; -import { CircleBackground } from '../../components/CircleBackground' import { Container } from "@/components/Container"; import { Button } from "@/components/Button"; @@ -39,7 +38,7 @@ export function CallToAction() {
-
diff --git a/src/pages/cloud/CloudHeroNew.tsx b/src/pages/cloud/CloudHeroNew.tsx index bea8cb7..7508620 100644 --- a/src/pages/cloud/CloudHeroNew.tsx +++ b/src/pages/cloud/CloudHeroNew.tsx @@ -1,4 +1,4 @@ -import { H3, H5, Eyebrow, P } from "@/components/Texts" +import { H3, Eyebrow } from "@/components/Texts" import { Button } from "@/components/Button" export function CloudHeroNew({ onGetStartedClick = () => {} }: { onGetStartedClick?: () => void }) { diff --git a/src/pages/cloud/CloudHostingNew.tsx b/src/pages/cloud/CloudHostingNew.tsx index a872939..0e3d0d6 100644 --- a/src/pages/cloud/CloudHostingNew.tsx +++ b/src/pages/cloud/CloudHostingNew.tsx @@ -7,12 +7,8 @@ import { } from '@headlessui/react' import { MinusIcon, PlusIcon } from '@heroicons/react/24/outline' -import { H1, H5, Eyebrow, H3, P } from "@/components/Texts" -import { Button } from "@/components/Button" +import { Eyebrow, H3 } from "@/components/Texts" -function classNames(...classes) { - return classes.filter(Boolean).join(' ') -} const product = { subtitle: 'capabilities', diff --git a/src/pages/cloud/CloudPage.tsx b/src/pages/cloud/CloudPage.tsx index 4e6f9ed..ddc466a 100644 --- a/src/pages/cloud/CloudPage.tsx +++ b/src/pages/cloud/CloudPage.tsx @@ -1,6 +1,5 @@ import { AnimatedSection } from '../../components/AnimatedSection' import { CloudArchitecture } from './CloudArchitecture' -import { CloudFeatures } from './CloudFeatures' import { CloudUseCases } from './CloudUseCases' import { CloudHeroNew } from './CloudHeroNew' import { CloudBluePrint } from './CloudBluePrint'