@@ -7,7 +7,7 @@ function CodeWindow({ filename, children }: { filename: string; children: React.
77 < div className = "relative rounded-2xl overflow-hidden shadow-2xl shadow-black/20" >
88 { /* Glow effect */ }
99 < div className = "absolute -inset-1 bg-gradient-to-r from-violet-600/20 via-purple-600/20 to-fuchsia-600/20 rounded-2xl blur-xl opacity-50" />
10-
10+
1111 < div className = "relative bg-[#1a1b26] rounded-2xl overflow-hidden border border-white/10" >
1212 { /* Window chrome */ }
1313 < div className = "flex items-center gap-3 px-4 py-3 bg-[#16161e] border-b border-white/5" >
@@ -18,7 +18,7 @@ function CodeWindow({ filename, children }: { filename: string; children: React.
1818 </ div >
1919 < span className = "text-sm font-medium text-zinc-400" > { filename } </ span >
2020 </ div >
21-
21+
2222 { /* Code content */ }
2323 < div className = "p-5 font-mono text-[13px] leading-6 overflow-x-auto" >
2424 { children }
@@ -173,57 +173,52 @@ export default function HomePage() {
173173 < div className = "absolute top-40 right-1/4 w-[400px] h-[400px] bg-gradient-to-br from-primary/30 to-primary/15 rounded-full blur-3xl animate-float" style = { { animationDelay : '2s' } } />
174174 < div className = "absolute -bottom-20 left-1/3 w-[600px] h-[300px] bg-gradient-to-br from-primary/15 to-primary/5 rounded-full blur-3xl animate-float" style = { { animationDelay : '4s' } } />
175175 </ div >
176-
176+
177177 < div className = "container py-24 md:py-32 lg:py-40" >
178- < div className = "mx-auto max-w-4xl text-center" >
178+ < div className = "mx-auto max-w-screen-2xl text-center" >
179179 { /* Glass badge */ }
180180 < div className = "inline-flex items-center gap-2 rounded-full px-4 py-2 text-sm text-muted-foreground mb-8 bg-background/60 backdrop-blur-xl border border-white/20 dark:border-white/10 shadow-lg" >
181181 < Sparkles className = "h-4 w-4 text-violet-500" />
182182 < span > Block-based markdown for the modern web</ span >
183183 </ div >
184-
184+
185185 < h1 className = "text-4xl font-bold tracking-tight sm:text-5xl md:text-6xl lg:text-7xl" >
186186 Parse, create & { ' ' }
187187 < span className = "relative inline-block" >
188188 < span className = "text-primary" >
189189 serialize
190190 </ span >
191191 < svg className = "absolute -bottom-2 left-0 w-full" viewBox = "0 0 200 8" fill = "none" >
192- < path d = "M1 5.5Q50 1 100 5.5T199 5.5" stroke = "currentColor" className = "text-primary" strokeWidth = "2" strokeLinecap = "round" />
192+ < path d = "M1 5.5Q50 1 100 5.5T199 5.5" stroke = "currentColor" className = "text-primary" strokeWidth = "2" strokeLinecap = "round" />
193193 </ svg >
194194 </ span >
195195 < br />
196196 markdown with ease
197197 </ h1 >
198-
199- < p className = "mt-8 text-lg text-muted-foreground md:text-xl max-w-2xl mx-auto leading-relaxed" >
200- A clean, block -based API for working with markdown.
201- Zero dependencies. Full TypeScript support. Built for modern frameworks.
198+
199+ < p className = "mt-8 text-lg text-muted-foreground md:text-xl max-w-4xl mx-auto leading-relaxed" >
200+ Block -based API for working with markdown.
201+ Zero dependencies. TypeScript support. Built for modern frameworks.
202202 </ p >
203-
204- { /* CTA buttons - Glassmorphic */ }
203+
204+ { /* CTA buttons */ }
205205 < div className = "mt-12 flex flex-col sm:flex-row items-center justify-center gap-4" >
206206 < Link
207207 href = "/docs"
208- className = "group relative inline-flex items-center justify-center rounded-xl px-8 py-4 text-sm font-medium overflow-hidden transition-all duration-300 hover:scale-105 bg-primary text-primary-foreground shadow-lg hover:shadow-xl"
208+ className = "inline-flex items-center justify-center rounded-xl px-8 py-4 text-sm font-medium bg-violet-600 hover:bg-violet-500 text-white shadow-lg shadow-violet-600/25 hover:shadow-xl hover:shadow-violet-500/30 transition-all duration-300 hover:scale-105 "
209209 >
210- { /* Glow effect */ }
211- < div className = "absolute inset-0 opacity-0 group-hover:opacity-100 transition-opacity duration-300 bg-primary/80 blur-xl" />
212- { /* Content */ }
213- < span className = "relative flex items-center" >
214- Get Started
215- < ArrowRight className = "ml-2 h-4 w-4 transition-transform group-hover:translate-x-1" />
216- </ span >
210+ Get Started
211+ < ArrowRight className = "ml-2 h-4 w-4" />
217212 </ Link >
218-
213+
219214 < Link
220215 href = "https://github.com/BunsDev/create-markdown"
221- className = "group inline-flex items-center justify-center rounded-xl px-8 py-4 text-sm font-medium bg-background/60 backdrop-blur-xl border border -white/20 dark: border-white/10 shadow-lg hover:bg-background/80 hover:border-white/30 hover: shadow-xl transition-all duration-300"
216+ className = "inline-flex items-center justify-center rounded-xl px-8 py-4 text-sm font-medium bg-zinc-800 hover:bg-zinc-700 text -white border border-zinc-700 hover:border-zinc-600 shadow-lg transition-all duration-300"
222217 target = "_blank"
223218 rel = "noopener noreferrer"
224219 >
225220 < svg className = "mr-2 h-5 w-5" fill = "currentColor" viewBox = "0 0 24 24" >
226- < path d = "M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z" />
221+ < path d = "M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z" />
227222 </ svg >
228223 View on GitHub
229224 </ Link >
@@ -236,14 +231,14 @@ export default function HomePage() {
236231 < section className = "relative py-20 md:py-28 overflow-hidden" >
237232 { /* Background gradient */ }
238233 < div className = "absolute inset-0 bg-gradient-to-b from-muted/50 via-muted/30 to-transparent" />
239-
234+
240235 < div className = "container relative" >
241- < div className = "mx-auto max-w-4xl " >
236+ < div className = "mx-auto max-w-screen-2xl " >
242237 < div className = "text-center mb-14" >
243238 < h2 className = "text-3xl font-bold tracking-tight sm:text-4xl md:text-5xl" >
244239 Simple, intuitive API
245240 </ h2 >
246- < p className = "mt-4 text-muted-foreground text-lg max-w-xl mx-auto" >
241+ < p className = "mt-4 text-muted-foreground text-lg max-w-screen-2xl mx-auto" >
247242 Parse markdown to blocks, manipulate them, and serialize back to markdown.
248243 </ p >
249244 </ div >
@@ -255,19 +250,19 @@ export default function HomePage() {
255250 { /* Bento Grid - Code Examples */ }
256251 < section className = "py-20 md:py-28" >
257252 < div className = "container" >
258- < div className = "mx-auto max-w-6xl " >
253+ < div className = "mx-auto max-w-screen-2xl " >
259254 < div className = "text-center mb-14" >
260255 < h2 className = "text-3xl font-bold tracking-tight sm:text-4xl" >
261- The complete workflow
256+ Complete Workflow
262257 </ h2 >
263258 < p className = "mt-4 text-muted-foreground text-lg" >
264259 From parsing to creation to serialization — all with type safety.
265260 </ p >
266261 </ div >
267-
262+
268263 { /* Bento Grid */ }
269264 < div className = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 auto-rows-min" >
270-
265+
271266 { /* Parse - Large card spanning 2 rows on lg */ }
272267 < div className = "lg:row-span-2 group" >
273268 < div className = "h-full rounded-3xl bg-gradient-to-br from-violet-500/10 to-purple-600/5 border border-white/10 p-6 transition-all duration-300 hover:border-violet-500/30 hover:shadow-lg hover:shadow-violet-500/10" >
@@ -286,7 +281,7 @@ export default function HomePage() {
286281 < ParseCodeBlock />
287282 </ div >
288283 </ div >
289-
284+
290285 { /* Create - Regular card */ }
291286 < div className = "group" >
292287 < div className = "h-full rounded-3xl bg-gradient-to-br from-blue-500/10 to-cyan-500/5 border border-white/10 p-6 transition-all duration-300 hover:border-blue-500/30 hover:shadow-lg hover:shadow-blue-500/10" >
@@ -305,7 +300,7 @@ export default function HomePage() {
305300 < CreateCodeBlock />
306301 </ div >
307302 </ div >
308-
303+
309304 { /* Serialize - Regular card */ }
310305 < div className = "group" >
311306 < div className = "h-full rounded-3xl bg-gradient-to-br from-emerald-500/10 to-green-500/5 border border-white/10 p-6 transition-all duration-300 hover:border-emerald-500/30 hover:shadow-lg hover:shadow-emerald-500/10" >
@@ -324,7 +319,7 @@ export default function HomePage() {
324319 < SerializeCodeBlock />
325320 </ div >
326321 </ div >
327-
322+
328323 { /* Feature highlights - spans 2 columns */ }
329324 < div className = "md:col-span-2 group" >
330325 < div className = "h-full rounded-3xl bg-gradient-to-r from-amber-500/10 via-orange-500/5 to-rose-500/10 border border-white/10 p-6 transition-all duration-300 hover:border-amber-500/30" >
@@ -359,7 +354,7 @@ export default function HomePage() {
359354 </ div >
360355 </ div >
361356 </ div >
362-
357+
363358 </ div >
364359 </ div >
365360 </ div >
@@ -368,14 +363,14 @@ export default function HomePage() {
368363 { /* Features Grid - Glassmorphic */ }
369364 < section className = "py-20 md:py-28" >
370365 < div className = "container" >
371- < div className = "mx-auto max-w-5xl " >
366+ < div className = "mx-auto max-w-screen-2xl " >
372367 < h2 className = "text-center text-3xl font-bold tracking-tight sm:text-4xl" >
373368 Everything you need
374369 </ h2 >
375370 < p className = "mt-4 text-center text-muted-foreground text-lg" >
376371 A complete toolkit for working with markdown in modern applications.
377372 </ p >
378-
373+
379374 < div className = "mt-14 grid gap-6 sm:grid-cols-2" >
380375 { features . map ( ( feature ) => (
381376 < div
@@ -384,10 +379,10 @@ export default function HomePage() {
384379 >
385380 { /* Glass background */ }
386381 < div className = "absolute inset-0 bg-background/60 dark:bg-background/40 backdrop-blur-xl border border-white/20 dark:border-white/10 rounded-2xl" />
387-
382+
388383 { /* Gradient hover effect */ }
389384 < div className = { `absolute inset-0 bg-gradient-to-br ${ feature . gradient } opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-2xl` } />
390-
385+
391386 { /* Content */ }
392387 < div className = "relative" >
393388 < div className = { `h-12 w-12 rounded-xl bg-gradient-to-br ${ feature . gradient } backdrop-blur-sm border border-white/20 flex items-center justify-center shadow-lg` } >
@@ -398,7 +393,7 @@ export default function HomePage() {
398393 { feature . description }
399394 </ p >
400395 </ div >
401-
396+
402397 { /* Inner ring */ }
403398 < div className = "absolute inset-0 pointer-events-none rounded-2xl ring-1 ring-inset ring-white/10" />
404399 </ div >
@@ -412,30 +407,30 @@ export default function HomePage() {
412407 < section className = "relative py-20 md:py-28 overflow-hidden" >
413408 { /* Background gradient */ }
414409 < div className = "absolute inset-0 bg-gradient-to-b from-transparent via-muted/30 to-muted/50" />
415-
410+
416411 < div className = "container relative" >
417- < div className = "mx-auto max-w-2xl text-center" >
412+ < div className = "mx-auto max-w-screen- 2xl text-center" >
418413 < h2 className = "text-3xl font-bold tracking-tight sm:text-4xl" >
419414 Ready to get started?
420415 </ h2 >
421416 < p className = "mt-4 text-muted-foreground text-lg" >
422417 Install create-markdown and start building in minutes.
423418 </ p >
424-
419+
425420 { /* Glassmorphic install command */ }
426421 < div className = "mt-10 inline-block rounded-2xl overflow-hidden" >
427422 < div className = "relative" >
428423 { /* Gradient border */ }
429424 < div className = "absolute -inset-[1px] bg-primary rounded-2xl opacity-30" />
430-
425+
431426 < div className = "relative bg-background/80 dark:bg-card/80 backdrop-blur-xl border border-white/10 rounded-2xl px-8 py-4" >
432427 < code className = "font-mono text-sm sm:text-base text-primary font-medium" >
433428 bun add create-markdown
434429 </ code >
435430 </ div >
436431 </ div >
437432 </ div >
438-
433+
439434 < div className = "mt-10" >
440435 < Link
441436 href = "/docs"
@@ -455,7 +450,7 @@ export default function HomePage() {
455450 { /* Footer - Glassmorphic */ }
456451 < footer className = "relative border-t border-white/10 py-10" >
457452 < div className = "absolute inset-0 bg-background/50 backdrop-blur-xl" />
458-
453+
459454 < div className = "container relative" >
460455 < div className = "flex flex-col items-center justify-between gap-6 md:flex-row" >
461456 < p className = "text-sm text-muted-foreground" >
0 commit comments