Skip to content

Commit b03d0aa

Browse files
authored
refactor(hero): simplify context compiler messaging and layout (#229)
- break dense text into clearer segments - improve readability and scanability - highlight core transformation and benefits
1 parent 80e476c commit b03d0aa

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

src/components/sections/Hero.tsx

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,12 @@ export default function Hero() {
104104
}`}
105105
>
106106
<p className="text-xl xl:text-2xl leading-relaxed text-gray-600 dark:text-gray-300 font-medium text-left">
107-
Compile TypeScript into deterministic, structured context (components, contracts, dependencies).{' '}
108-
<span className="font-bold text-gray-900 dark:text-gray-100">One-time setup. Up to 70% token savings.</span>
107+
<span className="block">
108+
Compile TypeScript into deterministic, structured context.
109+
</span>
110+
<span className="mt-1 block font-bold text-gray-900 dark:text-gray-100">
111+
One-time setup. Up to 70% token savings.
112+
</span>
109113
</p>
110114
<p className="mt-4 text-base xl:text-lg text-gray-500 dark:text-gray-400 text-left">
111115
Fast • Deterministic • Open Source
@@ -291,8 +295,13 @@ export default function Hero() {
291295
}`}
292296
>
293297
<p className="mt-8 text-xl lg:text-2xl leading-relaxed text-gray-600 dark:text-gray-300 font-medium max-w-4xl mx-auto">
294-
Compile TypeScript into deterministic, structured context (components, contracts, dependencies).{' '}
295-
<span className="font-bold text-gray-900 dark:text-gray-100">One-time setup. Up to 70% token savings.</span>
298+
<span className="block">
299+
Compile TypeScript into deterministic, structured context.
300+
</span>
301+
<span className="mt-1 block font-bold text-gray-900 dark:text-gray-100">
302+
<span className="block">One-time setup.</span>
303+
<span className="mt-0.5 block">Up to 70% token savings.</span>
304+
</span>
296305
</p>
297306
<p className="mt-4 text-base lg:text-lg text-gray-500 dark:text-gray-400">
298307
Fast • Deterministic • Open Source

0 commit comments

Comments
 (0)