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
This commit is contained in:
2025-11-06 22:42:24 +01:00
parent 3919b72b0c
commit 0e8de7e7fe
4 changed files with 3 additions and 9 deletions

View File

@@ -1,6 +1,5 @@
"use client"; "use client";
import { CircleBackground } from '../../components/CircleBackground'
import { Container } from "@/components/Container"; import { Container } from "@/components/Container";
import { Button } from "@/components/Button"; import { Button } from "@/components/Button";
@@ -39,7 +38,7 @@ export function CallToAction() {
</div> </div>
<div className="flex flex-col items-center text-center max-w-xs"> <div className="flex flex-col items-center text-center max-w-xs">
<Button to="/cloud" variant="outline" color="dark" className="mt-4"> <Button to="/cloud" variant="outline" color="white" className="mt-4">
Start Deploying Start Deploying
</Button> </Button>
</div> </div>

View File

@@ -1,4 +1,4 @@
import { H3, H5, Eyebrow, P } from "@/components/Texts" import { H3, Eyebrow } from "@/components/Texts"
import { Button } from "@/components/Button" import { Button } from "@/components/Button"
export function CloudHeroNew({ onGetStartedClick = () => {} }: { onGetStartedClick?: () => void }) { export function CloudHeroNew({ onGetStartedClick = () => {} }: { onGetStartedClick?: () => void }) {

View File

@@ -7,12 +7,8 @@ import {
} from '@headlessui/react' } from '@headlessui/react'
import { MinusIcon, PlusIcon } from '@heroicons/react/24/outline' import { MinusIcon, PlusIcon } from '@heroicons/react/24/outline'
import { H1, H5, Eyebrow, H3, P } from "@/components/Texts" import { Eyebrow, H3 } from "@/components/Texts"
import { Button } from "@/components/Button"
function classNames(...classes) {
return classes.filter(Boolean).join(' ')
}
const product = { const product = {
subtitle: 'capabilities', subtitle: 'capabilities',

View File

@@ -1,6 +1,5 @@
import { AnimatedSection } from '../../components/AnimatedSection' import { AnimatedSection } from '../../components/AnimatedSection'
import { CloudArchitecture } from './CloudArchitecture' import { CloudArchitecture } from './CloudArchitecture'
import { CloudFeatures } from './CloudFeatures'
import { CloudUseCases } from './CloudUseCases' import { CloudUseCases } from './CloudUseCases'
import { CloudHeroNew } from './CloudHeroNew' import { CloudHeroNew } from './CloudHeroNew'
import { CloudBluePrint } from './CloudBluePrint' import { CloudBluePrint } from './CloudBluePrint'