samirhosninet commited on
Commit
6108588
·
1 Parent(s): cfaedfc

feat(hero): sharpen LLM access narrative and trust badges

Browse files

Reorder hero copy around unified API access, add feature badges and pre-launch notice, and rename CTA to Reserve Your API Key.

Files changed (2) hide show
  1. components/hero-section.tsx +33 -6
  2. lib/languages.ts +24 -12
components/hero-section.tsx CHANGED
@@ -9,6 +9,14 @@ import { AgentParticleCanvas } from "./AgentParticleCanvas";
9
  import { ShimmerButton } from "@/components/ui/shimmer-button";
10
  import { useLanguage } from "./LanguageContext";
11
 
 
 
 
 
 
 
 
 
12
  export function HeroSection() {
13
  const reducedMotion = useReducedMotion();
14
  const { t } = useLanguage();
@@ -198,8 +206,11 @@ export function HeroSection() {
198
  <p className="max-w-xl text-sm md:text-base text-muted-foreground leading-relaxed font-mono">
199
  {t("heroSubtitle")}
200
  </p>
201
- <p className="max-w-xl text-sm md:text-base text-muted-foreground leading-relaxed font-mono">
202
- {t("heroSubtitleLine2")}
 
 
 
203
  </p>
204
  </motion.div>
205
 
@@ -226,14 +237,21 @@ export function HeroSection() {
226
  </button>
227
  </motion.div>
228
 
229
- <motion.p
230
  initial={{ y: 20, opacity: 0 }}
231
  animate={{ y: 0, opacity: 1 }}
232
  transition={{ duration: 0.6, delay: 0.55, ease: "easeOut" }}
233
- className="mt-6 max-w-xl text-[11px] sm:text-xs text-muted-foreground/90 leading-relaxed font-mono"
234
  >
235
- {t("heroFootnote")}
236
- </motion.p>
 
 
 
 
 
 
 
237
 
238
  <motion.div
239
  initial={{ y: 30, opacity: 0 }}
@@ -247,6 +265,15 @@ export function HeroSection() {
247
  <WaitlistForm />
248
  </div>
249
  </motion.div>
 
 
 
 
 
 
 
 
 
250
  </div>
251
  </section>
252
  </div>
 
9
  import { ShimmerButton } from "@/components/ui/shimmer-button";
10
  import { useLanguage } from "./LanguageContext";
11
 
12
+ const HERO_FEATURE_BADGES = [
13
+ "heroBadgeCompat",
14
+ "heroBadgeBilling",
15
+ "heroBadgeCompare",
16
+ "heroBadgeRouting",
17
+ "heroBadgeDashboard",
18
+ ] as const;
19
+
20
  export function HeroSection() {
21
  const reducedMotion = useReducedMotion();
22
  const { t } = useLanguage();
 
206
  <p className="max-w-xl text-sm md:text-base text-muted-foreground leading-relaxed font-mono">
207
  {t("heroSubtitle")}
208
  </p>
209
+ <p className="max-w-xl text-sm md:text-base font-medium text-foreground/90 leading-relaxed font-mono">
210
+ {t("heroPunchline")}
211
+ </p>
212
+ <p className="max-w-xl text-xs sm:text-sm text-muted-foreground/80 leading-relaxed font-mono">
213
+ {t("heroSubtitleCost")}
214
  </p>
215
  </motion.div>
216
 
 
237
  </button>
238
  </motion.div>
239
 
240
+ <motion.div
241
  initial={{ y: 20, opacity: 0 }}
242
  animate={{ y: 0, opacity: 1 }}
243
  transition={{ duration: 0.6, delay: 0.55, ease: "easeOut" }}
244
+ className="mt-6 flex flex-wrap gap-2 max-w-xl"
245
  >
246
+ {HERO_FEATURE_BADGES.map((key) => (
247
+ <span
248
+ key={key}
249
+ className="inline-flex items-center rounded-full border border-primary/20 bg-primary/5 px-3 py-1 text-[10px] sm:text-[11px] font-mono font-semibold tracking-wide text-primary/90"
250
+ >
251
+ {t(key)}
252
+ </span>
253
+ ))}
254
+ </motion.div>
255
 
256
  <motion.div
257
  initial={{ y: 30, opacity: 0 }}
 
265
  <WaitlistForm />
266
  </div>
267
  </motion.div>
268
+
269
+ <motion.p
270
+ initial={{ y: 20, opacity: 0 }}
271
+ animate={{ y: 0, opacity: 1 }}
272
+ transition={{ duration: 0.6, delay: 0.65, ease: "easeOut" }}
273
+ className="mt-5 max-w-xl text-[10px] sm:text-[11px] text-muted-foreground/75 leading-relaxed font-mono"
274
+ >
275
+ {t("heroPrelaunchNotice")}
276
+ </motion.p>
277
  </div>
278
  </section>
279
  </div>
lib/languages.ts CHANGED
@@ -35,13 +35,19 @@ export const translations = {
35
  heroTitleLine1: "One key.",
36
  heroTitleLine2: "Every model.",
37
  heroTitleLine3: "Full control.",
38
- heroTagline: "One API key for every model.",
39
- heroSubtitle: "Reduce cost with model comparison, routing, caching, and fallback.",
40
- heroSubtitleLine2: "Access OpenAI, Claude, Gemini, Mistral, Llama, DeepSeek, Qwen, Groq, and more through one unified API.",
41
- heroFootnote: "OpenAI-compatible endpoint. Multi-model access. Unified billing. Developer-first dashboard.",
42
- heroCtaGetKey: "Get API Key",
 
 
 
 
 
43
  heroCtaViewModels: "View Models",
44
- heroSubtitleIntel: "Reduce cost with model comparison, routing, caching, and fallback.",
 
45
  pulseMetricModels: "Supported Models",
46
  pulseMetricUptime: "Uptime SLA",
47
  pulseMetricProviders: "LLM Providers",
@@ -288,13 +294,19 @@ export const translations = {
288
  heroTitleLine1: "مفتاح واحد.",
289
  heroTitleLine2: "كل نموذج.",
290
  heroTitleLine3: "تحكم كامل.",
291
- heroTagline: "مفتاح API واحد لكل نموذج.",
292
- heroSubtitle: "خفّض التكلفة عبر مقارنة النماذج، التوجيه، التخزين المؤقت، والتوجيه الاحتياطي.",
293
- heroSubtitleLine2: "وصول إلى OpenAI وClaude وGemini وMistral وLlama وDeepSeek وQwen وGroq والمزيد عبر واجهة API موحدة.",
294
- heroFootnote: "نقطة نهاية متوافقة مع OpenAI. وصول متعدد النماذج. فوترة موحدة. لوحة تحكم للمطورين.",
295
- heroCtaGetKey: "احصل على مفتاح API",
 
 
 
 
 
296
  heroCtaViewModels: "عرض النماذج",
297
- heroSubtitleIntel: "خفّض التكلفة عبر مقارنة النماذج، التوجيه، التخزين المؤقت، والتوجيه الاحتياطي.",
 
298
  pulseMetricModels: "النماذج المدعومة",
299
  pulseMetricUptime: "اتفاقية وقت التشغيل",
300
  pulseMetricProviders: "مزودو LLM",
 
35
  heroTitleLine1: "One key.",
36
  heroTitleLine2: "Every model.",
37
  heroTitleLine3: "Full control.",
38
+ heroTagline: "One API Key for Every LLM Model",
39
+ heroSubtitle: "Access OpenAI, Claude, Gemini, Mistral, Llama, DeepSeek, Qwen, Groq, and more through one unified API.",
40
+ heroPunchline: "One key. Every model. One balance. One dashboard.",
41
+ heroSubtitleCost: "Reduce spend with model comparison, smart routing, caching, and fallback.",
42
+ heroBadgeCompat: "OpenAI-compatible",
43
+ heroBadgeBilling: "Unified billing",
44
+ heroBadgeCompare: "Model comparison",
45
+ heroBadgeRouting: "Smart routing",
46
+ heroBadgeDashboard: "Developer dashboard",
47
+ heroCtaGetKey: "Reserve Your API Key",
48
  heroCtaViewModels: "View Models",
49
+ heroPrelaunchNotice: "Pre-launch preview. Product interfaces and network metrics are simulated to demonstrate the planned experience.",
50
+ heroSubtitleIntel: "Access OpenAI, Claude, Gemini, Mistral, Llama, DeepSeek, Qwen, Groq, and more through one unified API.",
51
  pulseMetricModels: "Supported Models",
52
  pulseMetricUptime: "Uptime SLA",
53
  pulseMetricProviders: "LLM Providers",
 
294
  heroTitleLine1: "مفتاح واحد.",
295
  heroTitleLine2: "كل نموذج.",
296
  heroTitleLine3: "تحكم كامل.",
297
+ heroTagline: "مفتاح API واحد لكل نماذج LLM",
298
+ heroSubtitle: "وصول إلى OpenAI وClaude وGemini وMistral وLlama وDeepSeek وQwen وGroq والمزيد عبر واجهة API موحدة.",
299
+ heroPunchline: "مفتاح واحد. كل نموذج. رصيد واحد. لوحة تحكم واحدة.",
300
+ heroSubtitleCost: "خفّض الإنفاق عبر مقارنة النماذج، التوجيه الذكي، التخزين المؤقت، والتوجيه الاحتياطي.",
301
+ heroBadgeCompat: "متوافق مع OpenAI",
302
+ heroBadgeBilling: "فوترة موحدة",
303
+ heroBadgeCompare: "مقارنة النماذج",
304
+ heroBadgeRouting: "توجيه ذكي",
305
+ heroBadgeDashboard: "لوحة للمطورين",
306
+ heroCtaGetKey: "احجز مفتاح API",
307
  heroCtaViewModels: "عرض النماذج",
308
+ heroPrelaunchNotice: "معاينة ما قبل الإطلاق. الواجهات ومقاييس الشبكة محاكاة لعرض تجربة المنتج المخططة.",
309
+ heroSubtitleIntel: "وصول إلى OpenAI وClaude وGemini وMistral وLlama وDeepSeek وQwen وGroq والمزيد عبر واجهة API موحدة.",
310
  pulseMetricModels: "النماذج المدعومة",
311
  pulseMetricUptime: "اتفاقية وقت التشغيل",
312
  pulseMetricProviders: "مزودو LLM",