diff --git a/src/themes/claude/Home.jsx b/src/themes/claude/Home.jsx index ae2de0f..de51f3a 100644 --- a/src/themes/claude/Home.jsx +++ b/src/themes/claude/Home.jsx @@ -6,11 +6,6 @@ import { useSite } from '../../context/SiteContext'; import { getSiteModels, getSitePackages } from '../../api'; import CountUp from '../../components/bits/CountUp'; import FadeContent from '../../components/bits/FadeContent'; -import GradientText from '../../components/bits/GradientText'; -import BlurText from '../../components/bits/BlurText'; -import ShinyText from '../../components/bits/ShinyText'; -import SpotlightCard from '../../components/bits/SpotlightCard'; -import StarBorder from '../../components/bits/StarBorder'; export default function ClaudeHome() { const { t } = useTranslation(); @@ -27,143 +22,83 @@ export default function ClaudeHome() { const enabledModels = models.filter(m => m.enabled !== false); return ( -
+ {t('home.heroSubtitle')} +
-{t('home.aiModels')}
-{t('home.uptime')}
-{t('home.latency')}
+ {/* Stats */} +{t('home.aiModels')}
{t('home.uptime')}
+{t('home.latency')}
+{t('home.whyChooseUsDesc')}
-{t('home.whyChooseUsDesc')}
-{f.desc}
{t('home.lightningFastDesc')}
{t('home.securePrivateDesc')}
-{t('home.payAsYouGoDesc')}
-{t('home.availableModelsDesc', { count: enabledModels.length })}
+{t('home.availableModelsDesc', { count: enabledModels.length })}
+{t('home.choosePlan')}
-{t('home.choosePlan')}
-{pkg.description}
} -{t('home.days', { count: pkg.duration })}
} -{pkg.description}
} +{t('home.days', { count: pkg.duration })}
} +{t('home.readyToStartDesc')}
-{t('home.readyToStartDesc')}
+{t('home.heroTagline') || 'AI API Platform'}
++
{t('home.heroSubtitle')}
-{t('home.aiModels')}
+{t('home.aiModels')}
{t('home.uptime')}
+{t('home.uptime')}
{t('home.latency')}
+{t('home.latency')}
{t('home.whyChooseUsDesc')}
-{t('home.whyChooseUsDesc')}
+{t('home.lightningFastDesc')}
+{t('home.securePrivateDesc')}
-{t('home.payAsYouGoDesc')}
-{f.desc}
+{t('home.availableModelsDesc', { count: enabledModels.length })}
+{t('home.availableModelsDesc', { count: enabledModels.length })}
+{t('home.choosePlan')}
-{t('home.choosePlan')}
-{pkg.description}
} -{t('home.days', { count: pkg.duration })}
} -{pkg.description}
} +{t('home.days', { count: pkg.duration })}
} +{t('home.readyToStartDesc')}
+{t('home.readyToStartDesc')}
+ {t('home.heroSubtitle')} +
-- {t('home.heroSubtitle')} -
- -{t('home.aiModels')}
-{t('home.uptime')}
-{t('home.latency')}
+ {/* Stats — horizontal bar */} +{t('home.aiModels')}
{t('home.uptime')}
+{t('home.latency')}
+{t('home.whyChooseUsDesc')}
-{t('home.whyChooseUsDesc')}
-{t('home.lightningFastDesc')}
+{f.desc}
{t('home.securePrivateDesc')}
-{t('home.payAsYouGoDesc')}
-{t('home.availableModelsDesc', { count: enabledModels.length })}
+{t('home.availableModelsDesc', { count: enabledModels.length })}
+{t('home.choosePlan')}
-{t('home.choosePlan')}
-{pkg.description}
} -{t('home.days', { count: pkg.duration })}
} -{pkg.description}
} +{t('home.days', { count: pkg.duration })}
} +{t('home.readyToStartDesc')}
-{t('home.readyToStartDesc')}
++ {t('home.heroSubtitle')} +
-- {'> '} - {t('home.heroSubtitle')} -
- -{s.label}
+{t('home.aiModels')}
{t('home.whyChooseUsDesc')}
-{f.desc}
- +{t('home.uptime')}
+{t('home.latency')}
{t('home.availableModelsDesc', { count: enabledModels.length })}
{t('home.whyChooseUsDesc')}
+ +{f.desc}
+{t('home.availableModelsDesc', { count: enabledModels.length })}
+{t('home.choosePlan')}
-{t('home.choosePlan')}
-{pkg.description}
} -{t('home.days', { count: pkg.duration })}
} +{pkg.description}
} +{t('home.days', { count: pkg.duration })}
} +{t('home.readyToStartDesc')}
+{t('home.readyToStartDesc')}
+ {t('home.heroSubtitle')} +
-- {t('home.heroSubtitle')} -
- -{stat.label}
-{t('home.whyChooseUsDesc')}
-{t('home.lightningFastDesc')}
-{t('home.securePrivateDesc')}
-{t('home.payAsYouGoDesc')}
-{t('home.availableModelsDesc', { count: enabledModels.length })}
-{t('home.choosePlan')}
-{pkg.description}
} -{t('home.days', { count: pkg.duration })}
} -{t('home.readyToStartDesc')}
-{stat.label}
+{t('home.whyChooseUsDesc')}
+{f.desc}
+{t('home.availableModelsDesc', { count: enabledModels.length })}
+{t('home.choosePlan')}
+ +{pkg.description}
} +{t('home.days', { count: pkg.duration })}
} +{t('home.readyToStartDesc')}
+{t('home.heroTagline') || 'AI API Platform'}
+{t('home.aiModels')}
-{t('home.uptime')}
-{t('home.latency')}
-{t('home.whyChooseUsDesc')}
-{t('home.lightningFastDesc')}
-{t('home.securePrivateDesc')}
-{t('home.payAsYouGoDesc')}
-- {t('home.availableModelsDesc', { count: enabledModels.length })} + +
+ {t('home.heroSubtitle')}
-{t('home.choosePlan')}
-{pkg.description}
- )} -{t('home.days', { count: pkg.duration })}
- )} -- {t('home.readyToStartDesc')} -
-{t('home.aiModels')}
+{t('home.uptime')}
+{t('home.latency')}
+{t('home.whyChooseUsDesc')}
+{f.desc}
+{t('home.availableModelsDesc', { count: enabledModels.length })}
+{t('home.choosePlan')}
+ +{pkg.description}
} +{t('home.days', { count: pkg.duration })}
} +{t('home.readyToStartDesc')}
+