forked from emre/www_projectmycelium_com
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:
@@ -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>
|
||||||
|
|||||||
@@ -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 }) {
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user