refactor: clean up unused imports and fix component naming

- Removed unused component imports across multiple page files
- Fixed component name casing inconsistencies (CalltoAction → CallToAction, NetworkUseCases → NetworkUsecases)
- Changed AgentComponents from default to named export
- Removed stray character in NetworkPage.tsx
This commit is contained in:
2025-11-05 13:10:45 +01:00
parent 560ec7dcd0
commit 8fac6f8edd
12 changed files with 11 additions and 18 deletions

View File

@@ -35,7 +35,7 @@ const components = [
}, },
] ]
export default function AgentComponents() { export function AgentComponents() {
return ( return (
<section className="bg-white py-24 sm:py-32"> <section className="bg-white py-24 sm:py-32">
<Container> <Container>

View File

@@ -4,7 +4,7 @@ import {
ServerIcon, ServerIcon,
ShieldCheckIcon, ShieldCheckIcon,
} from '@heroicons/react/24/outline' } from '@heroicons/react/24/outline'
import { CP, CT, Eyebrow, H3, P } from '../../components/Texts' import { CP, CT, Eyebrow, H3 } from '../../components/Texts'
const features = [ const features = [
{ {

View File

@@ -2,11 +2,10 @@ import { AnimatedSection } from '../../components/AnimatedSection'
import { CloudArchitecture } from './CloudArchitecture' import { CloudArchitecture } from './CloudArchitecture'
import { CloudFeatures } from './CloudFeatures' import { CloudFeatures } from './CloudFeatures'
import { CloudUseCases } from './CloudUseCases' import { CloudUseCases } from './CloudUseCases'
import { CloudCTA } from './CloudCTA'
import { CloudHeroNew } from './CloudHeroNew' import { CloudHeroNew } from './CloudHeroNew'
import { CloudHosting } from './CloudHosting' import { CloudHosting } from './CloudHosting'
import { CloudBluePrint } from './CloudBluePrint' import { CloudBluePrint } from './CloudBluePrint'
import { CalltoAction } from './CalltoAction' import { CallToAction } from './CalltoAction'
export default function CloudPage() { export default function CloudPage() {
return ( return (
@@ -37,7 +36,7 @@ export default function CloudPage() {
</AnimatedSection> </AnimatedSection>
<AnimatedSection> <AnimatedSection>
<CalltoAction /> <CallToAction />
</AnimatedSection> </AnimatedSection>
</> </>
) )

View File

@@ -1,12 +1,8 @@
import { AnimatedSection } from '../../components/AnimatedSection' import { AnimatedSection } from '../../components/AnimatedSection'
import { ComputeHero } from './ComputeHero' import { ComputeHero } from './ComputeHero'
import { ComputeOverview } from './ComputeOverview'
import { ComputeFeatures } from './ComputeFeatures' import { ComputeFeatures } from './ComputeFeatures'
import { ComputeZeroImage } from './ComputeZeroImage'
import { ComputeArchitecture } from './ComputeArchitecture' import { ComputeArchitecture } from './ComputeArchitecture'
import { ComputeDeveloperExperience } from './ComputeDeveloperExperience'
import { ComputeUseCases } from './ComputeUseCases' import { ComputeUseCases } from './ComputeUseCases'
import { ComputeDifferentiators } from './ComputeDifferentiators'
import { CallToAction } from './CallToAction' import { CallToAction } from './CallToAction'
import { ComputeCapabilities } from './ComputeCapabilities' import { ComputeCapabilities } from './ComputeCapabilities'
import { ComputeDesign } from './ComputeDesign' import { ComputeDesign } from './ComputeDesign'

View File

@@ -1,5 +1,5 @@
import { Container } from '../../components/Container' import { Container } from '../../components/Container'
import { Eyebrow, SectionHeader, P } from '../../components/Texts' import { Eyebrow, SectionHeader } from '../../components/Texts'
const useCases = [ const useCases = [
{ {

View File

@@ -4,7 +4,7 @@ import {
CubeTransparentIcon, CubeTransparentIcon,
CpuChipIcon, CpuChipIcon,
} from '@heroicons/react/24/solid' } from '@heroicons/react/24/solid'
import { Eyebrow, H3, P, CT, CP } from '../../components/Texts' import { Eyebrow, H3, CT, CP } from '../../components/Texts'
import { Container } from '../../components/Container' import { Container } from '../../components/Container'
const capabilities = [ const capabilities = [

View File

@@ -1,5 +1,5 @@
import { Container } from '../../components/Container' import { Container } from '../../components/Container'
import { Eyebrow, H3, P, CT } from '../../components/Texts' import { Eyebrow, H3, CT } from '../../components/Texts'
import { import {
BoltIcon, BoltIcon,
BanknotesIcon, BanknotesIcon,

View File

@@ -2,7 +2,7 @@ import createGlobe from "cobe";
import { useEffect, useRef } from "react"; import { useEffect, useRef } from "react";
import { motion } from "motion/react"; import { motion } from "motion/react";
import { IconBrandYoutubeFilled } from "@tabler/icons-react"; import { IconBrandYoutubeFilled } from "@tabler/icons-react";
import { H2, P, CP, Eyebrow } from '@/components/Texts' import { H2, CP, Eyebrow } from '@/components/Texts'
export function HomeBenefits() { export function HomeBenefits() {

View File

@@ -7,7 +7,6 @@ import { HomeBenefits } from './HomeBenefits'
import { CallToAction } from './CallToAction' import { CallToAction } from './CallToAction'
import { HomeSlider } from './HomeSlider' import { HomeSlider } from './HomeSlider'
import { HomeHostingDark } from './HomeHostingDark' import { HomeHostingDark } from './HomeHostingDark'
import { HomeComparisonTable } from './HomeComparisonTable'
export default function HomePage() { export default function HomePage() {

View File

@@ -1,6 +1,5 @@
import { AnimatedSection } from '../../components/AnimatedSection' import { AnimatedSection } from '../../components/AnimatedSection'
import { Hero } from './Hero' import { Hero } from './Hero'
import { About } from './About'
import { Features } from './Features' import { Features } from './Features'
import { PrimaryFeatures } from './PrimaryFeatures' import { PrimaryFeatures } from './PrimaryFeatures'
import { SecondaryFeatures } from './SecondaryFeatures' import { SecondaryFeatures } from './SecondaryFeatures'
@@ -35,7 +34,7 @@ export default function NetworkPage() {
<SecondaryFeatures /> <SecondaryFeatures />
</AnimatedSection> </AnimatedSection>
ß <AnimatedSection> <AnimatedSection>
<CallToAction /> <CallToAction />
</AnimatedSection> </AnimatedSection>
</> </>

View File

@@ -25,7 +25,7 @@ const networkUseCases = [
}, },
] ]
export function NetworkUseCases() { export function NetworkUsecases() {
return ( return (
<section className="bg-white py-24 sm:py-32"> <section className="bg-white py-24 sm:py-32">
<Container> <Container>

View File

@@ -1,5 +1,5 @@
import { Container } from '../../components/Container' import { Container } from '../../components/Container'
import { Eyebrow, H3, P, CT, CP } from '../../components/Texts' import { Eyebrow, H3, CT, CP } from '../../components/Texts'
import { import {
ServerStackIcon, ServerStackIcon,
GlobeAltIcon, GlobeAltIcon,