create-flexireact 1.2.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +458 -732
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -357,6 +357,22 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
357
357
|
children: React.ReactNode;
|
|
358
358
|
}
|
|
359
359
|
|
|
360
|
+
const baseStyles = 'inline-flex items-center justify-center rounded-lg ' +
|
|
361
|
+
'font-medium transition-all duration-200 focus-visible:outline-none ' +
|
|
362
|
+
'focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50';
|
|
363
|
+
|
|
364
|
+
const variants = {
|
|
365
|
+
default: 'bg-primary text-black hover:bg-primary/90',
|
|
366
|
+
outline: 'border border-border bg-transparent hover:bg-secondary',
|
|
367
|
+
ghost: 'hover:bg-secondary hover:text-foreground',
|
|
368
|
+
};
|
|
369
|
+
|
|
370
|
+
const sizes = {
|
|
371
|
+
default: 'h-10 px-4 py-2 text-sm',
|
|
372
|
+
sm: 'h-9 px-3 text-sm',
|
|
373
|
+
lg: 'h-12 px-8 text-base',
|
|
374
|
+
};
|
|
375
|
+
|
|
360
376
|
export function Button({
|
|
361
377
|
className,
|
|
362
378
|
variant = 'default',
|
|
@@ -366,20 +382,7 @@ export function Button({
|
|
|
366
382
|
}: ButtonProps) {
|
|
367
383
|
return (
|
|
368
384
|
<button
|
|
369
|
-
className={cn(
|
|
370
|
-
'inline-flex items-center justify-center rounded-lg font-medium transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50',
|
|
371
|
-
{
|
|
372
|
-
'bg-primary text-primary-foreground hover:bg-primary/90 shadow-lg shadow-primary/25': variant === 'default',
|
|
373
|
-
'border border-border bg-transparent hover:bg-secondary hover:text-foreground': variant === 'outline',
|
|
374
|
-
'hover:bg-secondary hover:text-foreground': variant === 'ghost',
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
'h-10 px-4 py-2 text-sm': size === 'default',
|
|
378
|
-
'h-9 px-3 text-sm': size === 'sm',
|
|
379
|
-
'h-12 px-8 text-base': size === 'lg',
|
|
380
|
-
},
|
|
381
|
-
className
|
|
382
|
-
)}
|
|
385
|
+
className={cn(baseStyles, variants[variant], sizes[size], className)}
|
|
383
386
|
{...props}
|
|
384
387
|
>
|
|
385
388
|
{children}
|
|
@@ -395,15 +398,13 @@ interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
395
398
|
children: React.ReactNode;
|
|
396
399
|
}
|
|
397
400
|
|
|
401
|
+
const cardStyles = 'rounded-xl border border-border bg-card ' +
|
|
402
|
+
'text-card-foreground shadow-sm transition-all duration-300 ' +
|
|
403
|
+
'hover:border-primary/50';
|
|
404
|
+
|
|
398
405
|
export function Card({ className, children, ...props }: CardProps) {
|
|
399
406
|
return (
|
|
400
|
-
<div
|
|
401
|
-
className={cn(
|
|
402
|
-
'rounded-xl border border-border bg-card text-card-foreground shadow-sm transition-all duration-300 hover:border-primary/50 hover:shadow-lg hover:shadow-primary/5',
|
|
403
|
-
className
|
|
404
|
-
)}
|
|
405
|
-
{...props}
|
|
406
|
-
>
|
|
407
|
+
<div className={cn(cardStyles, className)} {...props}>
|
|
407
408
|
{children}
|
|
408
409
|
</div>
|
|
409
410
|
);
|
|
@@ -419,7 +420,7 @@ export function CardHeader({ className, children, ...props }: CardProps) {
|
|
|
419
420
|
|
|
420
421
|
export function CardTitle({ className, children, ...props }: CardProps) {
|
|
421
422
|
return (
|
|
422
|
-
<h3 className={cn('text-lg font-semibold
|
|
423
|
+
<h3 className={cn('text-lg font-semibold', className)} {...props}>
|
|
423
424
|
{children}
|
|
424
425
|
</h3>
|
|
425
426
|
);
|
|
@@ -471,33 +472,18 @@ export function Badge({ className, variant = 'default', children, ...props }: Ba
|
|
|
471
472
|
`,
|
|
472
473
|
|
|
473
474
|
'components/Navbar.tsx': () => `import React from 'react';
|
|
474
|
-
import { Button } from './ui/button';
|
|
475
475
|
|
|
476
476
|
export function Navbar() {
|
|
477
477
|
return (
|
|
478
|
-
<header className="
|
|
479
|
-
<nav className="
|
|
480
|
-
<a href="/" className="
|
|
481
|
-
<div className="
|
|
482
|
-
|
|
483
|
-
<path strokeLinecap="round" strokeLinejoin="round" d="M13 10V3L4 14h7v7l9-11h-7z" />
|
|
484
|
-
</svg>
|
|
485
|
-
</div>
|
|
486
|
-
<span className="text-lg font-bold">FlexiReact</span>
|
|
478
|
+
<header className="navbar">
|
|
479
|
+
<nav className="navbar-inner">
|
|
480
|
+
<a href="/" className="logo">
|
|
481
|
+
<div className="logo-icon">⚡</div>
|
|
482
|
+
<span className="logo-text">FlexiReact</span>
|
|
487
483
|
</a>
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
<
|
|
491
|
-
<a href="https://github.com/flexireact/flexireact">Docs</a>
|
|
492
|
-
</Button>
|
|
493
|
-
<Button variant="ghost" size="sm" asChild>
|
|
494
|
-
<a href="https://github.com/flexireact/flexireact" className="flex items-center gap-2">
|
|
495
|
-
<svg className="h-4 w-4" fill="currentColor" viewBox="0 0 24 24">
|
|
496
|
-
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
|
|
497
|
-
</svg>
|
|
498
|
-
GitHub
|
|
499
|
-
</a>
|
|
500
|
-
</Button>
|
|
484
|
+
<div className="nav-links">
|
|
485
|
+
<a href="https://github.com/flexireact/flexireact">Docs</a>
|
|
486
|
+
<a href="https://github.com/flexireact/flexireact">GitHub</a>
|
|
501
487
|
</div>
|
|
502
488
|
</nav>
|
|
503
489
|
</header>
|
|
@@ -506,83 +492,41 @@ export function Navbar() {
|
|
|
506
492
|
`,
|
|
507
493
|
|
|
508
494
|
'components/Hero.tsx': () => `import React from 'react';
|
|
509
|
-
import { Button } from './ui/button';
|
|
510
|
-
import { Badge } from './ui/badge';
|
|
511
495
|
|
|
512
496
|
export function Hero() {
|
|
513
497
|
return (
|
|
514
|
-
<section className="
|
|
515
|
-
|
|
516
|
-
<div className="
|
|
517
|
-
<
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
498
|
+
<section className="hero">
|
|
499
|
+
<div className="hero-glow" />
|
|
500
|
+
<div className="hero-content">
|
|
501
|
+
<span className="hero-badge">⚡ The Modern React Framework</span>
|
|
502
|
+
<h1 className="hero-title">
|
|
503
|
+
Build <span className="gradient-text">blazing fast</span> web apps
|
|
504
|
+
</h1>
|
|
505
|
+
<p className="hero-subtitle">
|
|
506
|
+
A modern React framework with TypeScript, Tailwind CSS,
|
|
507
|
+
SSR, SSG, Islands architecture, and file-based routing.
|
|
508
|
+
</p>
|
|
509
|
+
<div className="hero-buttons">
|
|
510
|
+
<a href="https://github.com/flexireact/flexireact" className="btn-primary">
|
|
511
|
+
Get Started →
|
|
512
|
+
</a>
|
|
513
|
+
<a href="https://github.com/flexireact/flexireact" className="btn-outline">
|
|
514
|
+
GitHub
|
|
515
|
+
</a>
|
|
522
516
|
</div>
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
<Badge className="mb-6 animate-fade-in">
|
|
529
|
-
<span className="mr-1">⚡</span> The Modern React Framework
|
|
530
|
-
</Badge>
|
|
531
|
-
|
|
532
|
-
{/* Title */}
|
|
533
|
-
<h1 className="mb-6 max-w-4xl animate-fade-up text-4xl font-extrabold tracking-tight sm:text-5xl md:text-6xl lg:text-7xl">
|
|
534
|
-
Build{' '}
|
|
535
|
-
<span className="bg-gradient-to-r from-primary via-emerald-400 to-cyan-400 bg-clip-text text-transparent">
|
|
536
|
-
blazing fast
|
|
537
|
-
</span>{' '}
|
|
538
|
-
web apps
|
|
539
|
-
</h1>
|
|
540
|
-
|
|
541
|
-
{/* Subtitle */}
|
|
542
|
-
<p className="mb-10 max-w-2xl animate-fade-up text-lg text-muted-foreground sm:text-xl" style={{ animationDelay: '0.1s' }}>
|
|
543
|
-
A modern React framework with TypeScript, Tailwind CSS, SSR, SSG,
|
|
544
|
-
Islands architecture, and file-based routing. Ship faster.
|
|
545
|
-
</p>
|
|
546
|
-
|
|
547
|
-
{/* CTA Buttons */}
|
|
548
|
-
<div className="flex flex-wrap items-center justify-center gap-4 animate-fade-up" style={{ animationDelay: '0.2s' }}>
|
|
549
|
-
<Button size="lg" className="gap-2">
|
|
550
|
-
Start Building
|
|
551
|
-
<svg className="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2}>
|
|
552
|
-
<path strokeLinecap="round" strokeLinejoin="round" d="M13 7l5 5m0 0l-5 5m5-5H6" />
|
|
553
|
-
</svg>
|
|
554
|
-
</Button>
|
|
555
|
-
<Button variant="outline" size="lg" asChild>
|
|
556
|
-
<a href="https://github.com/flexireact/flexireact" className="gap-2">
|
|
557
|
-
<svg className="h-4 w-4" fill="currentColor" viewBox="0 0 24 24">
|
|
558
|
-
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
|
|
559
|
-
</svg>
|
|
560
|
-
GitHub
|
|
561
|
-
</a>
|
|
562
|
-
</Button>
|
|
517
|
+
<div className="terminal">
|
|
518
|
+
<div className="terminal-header">
|
|
519
|
+
<span className="dot red"></span>
|
|
520
|
+
<span className="dot yellow"></span>
|
|
521
|
+
<span className="dot green"></span>
|
|
563
522
|
</div>
|
|
523
|
+
<pre className="terminal-body">
|
|
524
|
+
<span className="dim">$</span> <span className="green">npx</span> create-flexireact my-app
|
|
525
|
+
<span className="dim">$</span> <span className="green">cd</span> my-app
|
|
526
|
+
<span className="dim">$</span> <span className="green">npm</span> run dev
|
|
564
527
|
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
<div className="flex items-center gap-2 border-b border-border pb-3">
|
|
568
|
-
<div className="h-3 w-3 rounded-full bg-red-500/80" />
|
|
569
|
-
<div className="h-3 w-3 rounded-full bg-yellow-500/80" />
|
|
570
|
-
<div className="h-3 w-3 rounded-full bg-green-500/80" />
|
|
571
|
-
<span className="ml-2 text-xs text-muted-foreground">terminal</span>
|
|
572
|
-
</div>
|
|
573
|
-
<pre className="mt-4 overflow-x-auto text-left text-sm">
|
|
574
|
-
<code className="text-muted-foreground">
|
|
575
|
-
<span className="text-muted-foreground/60">$</span>{' '}
|
|
576
|
-
<span className="text-primary">npx</span> create-flexireact@latest my-app{'\n'}
|
|
577
|
-
<span className="text-muted-foreground/60">$</span>{' '}
|
|
578
|
-
<span className="text-primary">cd</span> my-app{'\n'}
|
|
579
|
-
<span className="text-muted-foreground/60">$</span>{' '}
|
|
580
|
-
<span className="text-primary">npm</span> run dev{'\n'}
|
|
581
|
-
{'\n'}
|
|
582
|
-
<span className="text-emerald-400">✓</span> Ready in <span className="text-primary">38ms</span>
|
|
583
|
-
</code>
|
|
584
|
-
</pre>
|
|
585
|
-
</div>
|
|
528
|
+
<span className="green">✓</span> Ready in 38ms
|
|
529
|
+
</pre>
|
|
586
530
|
</div>
|
|
587
531
|
</div>
|
|
588
532
|
</section>
|
|
@@ -591,70 +535,28 @@ export function Hero() {
|
|
|
591
535
|
`,
|
|
592
536
|
|
|
593
537
|
'components/Features.tsx': () => `import React from 'react';
|
|
594
|
-
import { Card, CardHeader, CardTitle, CardDescription } from './ui/card';
|
|
595
538
|
|
|
596
539
|
const features = [
|
|
597
|
-
{
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
</svg>
|
|
602
|
-
),
|
|
603
|
-
title: 'Lightning Fast',
|
|
604
|
-
description: 'Powered by esbuild for instant builds and sub-second hot module replacement.',
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
icon: (
|
|
608
|
-
<svg className="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2}>
|
|
609
|
-
<path strokeLinecap="round" strokeLinejoin="round" d="M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z" />
|
|
610
|
-
</svg>
|
|
611
|
-
),
|
|
612
|
-
title: 'File-based Routing',
|
|
613
|
-
description: 'Create a file in pages/, get a route automatically. Simple and intuitive.',
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
icon: (
|
|
617
|
-
<svg className="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2}>
|
|
618
|
-
<path strokeLinecap="round" strokeLinejoin="round" d="M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z" />
|
|
619
|
-
</svg>
|
|
620
|
-
),
|
|
621
|
-
title: 'Islands Architecture',
|
|
622
|
-
description: 'Partial hydration for minimal JavaScript. Only hydrate what needs interactivity.',
|
|
623
|
-
},
|
|
624
|
-
{
|
|
625
|
-
icon: (
|
|
626
|
-
<svg className="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2}>
|
|
627
|
-
<path strokeLinecap="round" strokeLinejoin="round" d="M5 12h14M5 12a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v4a2 2 0 01-2 2M5 12a2 2 0 00-2 2v4a2 2 0 002 2h14a2 2 0 002-2v-4a2 2 0 00-2-2m-2-4h.01M17 16h.01" />
|
|
628
|
-
</svg>
|
|
629
|
-
),
|
|
630
|
-
title: 'SSR & SSG',
|
|
631
|
-
description: 'Server-side rendering and static generation out of the box. SEO friendly.',
|
|
632
|
-
},
|
|
540
|
+
{ icon: '⚡', title: 'Lightning Fast', desc: 'Powered by esbuild for instant builds.' },
|
|
541
|
+
{ icon: '📁', title: 'File Routing', desc: 'Create a file, get a route automatically.' },
|
|
542
|
+
{ icon: '🏝️', title: 'Islands', desc: 'Partial hydration for minimal JavaScript.' },
|
|
543
|
+
{ icon: '🚀', title: 'SSR & SSG', desc: 'Server rendering out of the box.' },
|
|
633
544
|
];
|
|
634
545
|
|
|
635
546
|
export function Features() {
|
|
636
547
|
return (
|
|
637
|
-
<section className="
|
|
638
|
-
<
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
<Card key={index} className="group cursor-default">
|
|
650
|
-
<CardHeader>
|
|
651
|
-
<div className="mb-3 inline-flex h-12 w-12 items-center justify-center rounded-lg bg-primary/10 text-primary transition-colors group-hover:bg-primary group-hover:text-primary-foreground">
|
|
652
|
-
{feature.icon}
|
|
653
|
-
</div>
|
|
654
|
-
<CardTitle>{feature.title}</CardTitle>
|
|
655
|
-
<CardDescription>{feature.description}</CardDescription>
|
|
656
|
-
</CardHeader>
|
|
657
|
-
</Card>
|
|
548
|
+
<section className="features">
|
|
549
|
+
<h2 className="features-title">Everything you need</h2>
|
|
550
|
+
<p className="features-subtitle">
|
|
551
|
+
A complete toolkit for building modern web apps.
|
|
552
|
+
</p>
|
|
553
|
+
<div className="features-grid">
|
|
554
|
+
{features.map((f, i) => (
|
|
555
|
+
<div key={i} className="feature-card">
|
|
556
|
+
<span className="feature-icon">{f.icon}</span>
|
|
557
|
+
<h3 className="feature-title">{f.title}</h3>
|
|
558
|
+
<p className="feature-desc">{f.desc}</p>
|
|
559
|
+
</div>
|
|
658
560
|
))}
|
|
659
561
|
</div>
|
|
660
562
|
</section>
|
|
@@ -666,25 +568,12 @@ export function Features() {
|
|
|
666
568
|
|
|
667
569
|
export function Footer() {
|
|
668
570
|
return (
|
|
669
|
-
<footer className="
|
|
670
|
-
<div className="
|
|
671
|
-
<
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
<span>using</span>
|
|
676
|
-
<a href="https://github.com/flexireact/flexireact" className="font-medium text-foreground hover:text-primary transition-colors">
|
|
677
|
-
FlexiReact
|
|
678
|
-
</a>
|
|
679
|
-
</div>
|
|
680
|
-
<div className="flex items-center gap-4 text-sm text-muted-foreground">
|
|
681
|
-
<a href="https://github.com/flexireact/flexireact" className="hover:text-foreground transition-colors">
|
|
682
|
-
GitHub
|
|
683
|
-
</a>
|
|
684
|
-
<a href="https://github.com/flexireact/flexireact" className="hover:text-foreground transition-colors">
|
|
685
|
-
Documentation
|
|
686
|
-
</a>
|
|
687
|
-
</div>
|
|
571
|
+
<footer className="footer">
|
|
572
|
+
<div className="footer-inner">
|
|
573
|
+
<span>Built with ❤️ using FlexiReact</span>
|
|
574
|
+
<div className="footer-links">
|
|
575
|
+
<a href="https://github.com/flexireact/flexireact">GitHub</a>
|
|
576
|
+
<a href="https://github.com/flexireact/flexireact">Docs</a>
|
|
688
577
|
</div>
|
|
689
578
|
</div>
|
|
690
579
|
</footer>
|
|
@@ -758,53 +647,216 @@ export default function HomePage() {
|
|
|
758
647
|
@tailwind components;
|
|
759
648
|
@tailwind utilities;
|
|
760
649
|
|
|
761
|
-
|
|
762
|
-
:
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
--primary: 142.1 76.2% 36.3%;
|
|
770
|
-
--primary-foreground: 144.9 80.4% 10%;
|
|
771
|
-
--secondary: 240 3.7% 15.9%;
|
|
772
|
-
--secondary-foreground: 0 0% 98%;
|
|
773
|
-
--muted: 240 3.7% 15.9%;
|
|
774
|
-
--muted-foreground: 240 5% 64.9%;
|
|
775
|
-
--accent: 240 3.7% 15.9%;
|
|
776
|
-
--accent-foreground: 0 0% 98%;
|
|
777
|
-
--destructive: 0 62.8% 30.6%;
|
|
778
|
-
--destructive-foreground: 0 0% 98%;
|
|
779
|
-
--border: 240 3.7% 15.9%;
|
|
780
|
-
--input: 240 3.7% 15.9%;
|
|
781
|
-
--ring: 142.1 76.2% 36.3%;
|
|
782
|
-
--radius: 0.75rem;
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
* {
|
|
786
|
-
border-color: hsl(var(--border));
|
|
787
|
-
}
|
|
650
|
+
:root {
|
|
651
|
+
--bg: #0a0a0a;
|
|
652
|
+
--fg: #fafafa;
|
|
653
|
+
--primary: #10b981;
|
|
654
|
+
--muted: #71717a;
|
|
655
|
+
--border: #27272a;
|
|
656
|
+
--card: #18181b;
|
|
657
|
+
}
|
|
788
658
|
|
|
789
|
-
|
|
790
|
-
scroll-behavior: smooth;
|
|
791
|
-
}
|
|
659
|
+
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
792
660
|
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
-moz-osx-font-smoothing: grayscale;
|
|
800
|
-
}
|
|
661
|
+
body {
|
|
662
|
+
font-family: 'Inter', system-ui, sans-serif;
|
|
663
|
+
background: var(--bg);
|
|
664
|
+
color: var(--fg);
|
|
665
|
+
min-height: 100vh;
|
|
666
|
+
-webkit-font-smoothing: antialiased;
|
|
801
667
|
}
|
|
802
668
|
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
669
|
+
a { color: inherit; text-decoration: none; }
|
|
670
|
+
a:hover { color: var(--primary); }
|
|
671
|
+
|
|
672
|
+
/* Navbar */
|
|
673
|
+
.navbar {
|
|
674
|
+
position: sticky;
|
|
675
|
+
top: 0;
|
|
676
|
+
z-index: 50;
|
|
677
|
+
border-bottom: 1px solid var(--border);
|
|
678
|
+
background: rgba(10,10,10,0.8);
|
|
679
|
+
backdrop-filter: blur(12px);
|
|
680
|
+
}
|
|
681
|
+
.navbar-inner {
|
|
682
|
+
max-width: 1200px;
|
|
683
|
+
margin: 0 auto;
|
|
684
|
+
padding: 1rem 1.5rem;
|
|
685
|
+
display: flex;
|
|
686
|
+
justify-content: space-between;
|
|
687
|
+
align-items: center;
|
|
688
|
+
}
|
|
689
|
+
.logo { display: flex; align-items: center; gap: 0.5rem; }
|
|
690
|
+
.logo-icon {
|
|
691
|
+
width: 32px;
|
|
692
|
+
height: 32px;
|
|
693
|
+
background: linear-gradient(135deg, var(--primary), #06b6d4);
|
|
694
|
+
border-radius: 8px;
|
|
695
|
+
display: flex;
|
|
696
|
+
align-items: center;
|
|
697
|
+
justify-content: center;
|
|
698
|
+
}
|
|
699
|
+
.logo-text { font-weight: 700; font-size: 1.125rem; }
|
|
700
|
+
.nav-links { display: flex; gap: 1.5rem; }
|
|
701
|
+
.nav-links a { color: var(--muted); font-size: 0.875rem; }
|
|
702
|
+
.nav-links a:hover { color: var(--fg); }
|
|
703
|
+
|
|
704
|
+
/* Hero */
|
|
705
|
+
.hero {
|
|
706
|
+
position: relative;
|
|
707
|
+
min-height: 90vh;
|
|
708
|
+
display: flex;
|
|
709
|
+
align-items: center;
|
|
710
|
+
justify-content: center;
|
|
711
|
+
overflow: hidden;
|
|
712
|
+
}
|
|
713
|
+
.hero-glow {
|
|
714
|
+
position: absolute;
|
|
715
|
+
top: 50%;
|
|
716
|
+
left: 50%;
|
|
717
|
+
transform: translate(-50%, -50%);
|
|
718
|
+
width: 600px;
|
|
719
|
+
height: 600px;
|
|
720
|
+
background: radial-gradient(circle, rgba(16,185,129,0.15), transparent 70%);
|
|
721
|
+
pointer-events: none;
|
|
722
|
+
}
|
|
723
|
+
.hero-content {
|
|
724
|
+
text-align: center;
|
|
725
|
+
padding: 2rem;
|
|
726
|
+
max-width: 800px;
|
|
727
|
+
}
|
|
728
|
+
.hero-badge {
|
|
729
|
+
display: inline-block;
|
|
730
|
+
padding: 0.5rem 1rem;
|
|
731
|
+
background: rgba(16,185,129,0.1);
|
|
732
|
+
border: 1px solid rgba(16,185,129,0.2);
|
|
733
|
+
border-radius: 9999px;
|
|
734
|
+
font-size: 0.875rem;
|
|
735
|
+
color: var(--primary);
|
|
736
|
+
margin-bottom: 2rem;
|
|
737
|
+
}
|
|
738
|
+
.hero-title {
|
|
739
|
+
font-size: clamp(2.5rem, 6vw, 4.5rem);
|
|
740
|
+
font-weight: 800;
|
|
741
|
+
line-height: 1.1;
|
|
742
|
+
margin-bottom: 1.5rem;
|
|
743
|
+
}
|
|
744
|
+
.gradient-text {
|
|
745
|
+
background: linear-gradient(90deg, var(--primary), #06b6d4);
|
|
746
|
+
-webkit-background-clip: text;
|
|
747
|
+
-webkit-text-fill-color: transparent;
|
|
748
|
+
}
|
|
749
|
+
.hero-subtitle {
|
|
750
|
+
font-size: 1.125rem;
|
|
751
|
+
color: var(--muted);
|
|
752
|
+
line-height: 1.7;
|
|
753
|
+
margin-bottom: 2.5rem;
|
|
754
|
+
}
|
|
755
|
+
.hero-buttons {
|
|
756
|
+
display: flex;
|
|
757
|
+
gap: 1rem;
|
|
758
|
+
justify-content: center;
|
|
759
|
+
flex-wrap: wrap;
|
|
760
|
+
margin-bottom: 3rem;
|
|
761
|
+
}
|
|
762
|
+
.btn-primary {
|
|
763
|
+
padding: 0.875rem 2rem;
|
|
764
|
+
background: var(--primary);
|
|
765
|
+
color: #000;
|
|
766
|
+
font-weight: 600;
|
|
767
|
+
border-radius: 8px;
|
|
768
|
+
transition: opacity 0.2s;
|
|
769
|
+
}
|
|
770
|
+
.btn-primary:hover { opacity: 0.9; color: #000; }
|
|
771
|
+
.btn-outline {
|
|
772
|
+
padding: 0.875rem 2rem;
|
|
773
|
+
border: 1px solid var(--border);
|
|
774
|
+
border-radius: 8px;
|
|
775
|
+
transition: border-color 0.2s;
|
|
776
|
+
}
|
|
777
|
+
.btn-outline:hover { border-color: var(--primary); color: var(--fg); }
|
|
778
|
+
|
|
779
|
+
/* Terminal */
|
|
780
|
+
.terminal {
|
|
781
|
+
background: var(--card);
|
|
782
|
+
border: 1px solid var(--border);
|
|
783
|
+
border-radius: 12px;
|
|
784
|
+
max-width: 500px;
|
|
785
|
+
margin: 0 auto;
|
|
786
|
+
overflow: hidden;
|
|
787
|
+
}
|
|
788
|
+
.terminal-header {
|
|
789
|
+
padding: 0.75rem 1rem;
|
|
790
|
+
border-bottom: 1px solid var(--border);
|
|
791
|
+
display: flex;
|
|
792
|
+
gap: 0.5rem;
|
|
807
793
|
}
|
|
794
|
+
.dot { width: 12px; height: 12px; border-radius: 50%; }
|
|
795
|
+
.dot.red { background: #ef4444; }
|
|
796
|
+
.dot.yellow { background: #eab308; }
|
|
797
|
+
.dot.green { background: #22c55e; }
|
|
798
|
+
.terminal-body {
|
|
799
|
+
padding: 1rem;
|
|
800
|
+
font-family: monospace;
|
|
801
|
+
font-size: 0.875rem;
|
|
802
|
+
text-align: left;
|
|
803
|
+
line-height: 1.6;
|
|
804
|
+
}
|
|
805
|
+
.dim { color: var(--muted); }
|
|
806
|
+
.green { color: var(--primary); }
|
|
807
|
+
|
|
808
|
+
/* Features */
|
|
809
|
+
.features {
|
|
810
|
+
padding: 6rem 1.5rem;
|
|
811
|
+
max-width: 1200px;
|
|
812
|
+
margin: 0 auto;
|
|
813
|
+
}
|
|
814
|
+
.features-title {
|
|
815
|
+
font-size: 2rem;
|
|
816
|
+
font-weight: 700;
|
|
817
|
+
text-align: center;
|
|
818
|
+
margin-bottom: 1rem;
|
|
819
|
+
}
|
|
820
|
+
.features-subtitle {
|
|
821
|
+
text-align: center;
|
|
822
|
+
color: var(--muted);
|
|
823
|
+
margin-bottom: 3rem;
|
|
824
|
+
}
|
|
825
|
+
.features-grid {
|
|
826
|
+
display: grid;
|
|
827
|
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
828
|
+
gap: 1.5rem;
|
|
829
|
+
}
|
|
830
|
+
.feature-card {
|
|
831
|
+
background: var(--card);
|
|
832
|
+
border: 1px solid var(--border);
|
|
833
|
+
border-radius: 12px;
|
|
834
|
+
padding: 1.5rem;
|
|
835
|
+
transition: border-color 0.2s;
|
|
836
|
+
}
|
|
837
|
+
.feature-card:hover { border-color: var(--primary); }
|
|
838
|
+
.feature-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
|
|
839
|
+
.feature-title { font-weight: 600; margin-bottom: 0.5rem; }
|
|
840
|
+
.feature-desc { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }
|
|
841
|
+
|
|
842
|
+
/* Footer */
|
|
843
|
+
.footer {
|
|
844
|
+
border-top: 1px solid var(--border);
|
|
845
|
+
padding: 2rem 1.5rem;
|
|
846
|
+
}
|
|
847
|
+
.footer-inner {
|
|
848
|
+
max-width: 1200px;
|
|
849
|
+
margin: 0 auto;
|
|
850
|
+
display: flex;
|
|
851
|
+
justify-content: space-between;
|
|
852
|
+
align-items: center;
|
|
853
|
+
flex-wrap: wrap;
|
|
854
|
+
gap: 1rem;
|
|
855
|
+
font-size: 0.875rem;
|
|
856
|
+
color: var(--muted);
|
|
857
|
+
}
|
|
858
|
+
.footer-links { display: flex; gap: 1.5rem; }
|
|
859
|
+
.footer-links a:hover { color: var(--fg); }
|
|
808
860
|
`,
|
|
809
861
|
|
|
810
862
|
// ============================================================================
|
|
@@ -978,85 +1030,30 @@ export default {
|
|
|
978
1030
|
`,
|
|
979
1031
|
|
|
980
1032
|
// ============================================================================
|
|
981
|
-
// Components
|
|
1033
|
+
// Components - Simple Landing Page
|
|
982
1034
|
// ============================================================================
|
|
983
1035
|
|
|
984
1036
|
'components/Hero.tsx': () => `import React from 'react';
|
|
985
|
-
import { Button, Badge
|
|
986
|
-
import { Zap, Github, ArrowRight, Sparkles } from 'lucide-react';
|
|
1037
|
+
import { Button, Badge } from '@flexireact/flexi-ui';
|
|
987
1038
|
|
|
988
1039
|
export function Hero() {
|
|
989
1040
|
return (
|
|
990
|
-
<section className="
|
|
991
|
-
|
|
992
|
-
<div className="
|
|
993
|
-
<
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
<
|
|
1005
|
-
|
|
1006
|
-
<Sparkles className="w-4 h-4 mr-2" />
|
|
1007
|
-
The Modern React Framework
|
|
1008
|
-
</Badge>
|
|
1009
|
-
</div>
|
|
1010
|
-
|
|
1011
|
-
{/* Title */}
|
|
1012
|
-
<h1 className="text-5xl sm:text-6xl md:text-7xl lg:text-8xl font-black tracking-tight mb-8 animate-fade-up" style={{ animationDelay: '0.2s' }}>
|
|
1013
|
-
Build{' '}
|
|
1014
|
-
<span className="text-transparent bg-clip-text bg-gradient-to-r from-[#00FF9C] via-emerald-400 to-cyan-400">
|
|
1015
|
-
beautiful
|
|
1016
|
-
</span>
|
|
1017
|
-
<br />
|
|
1018
|
-
apps faster
|
|
1019
|
-
</h1>
|
|
1020
|
-
|
|
1021
|
-
{/* Subtitle */}
|
|
1022
|
-
<p className="text-xl md:text-2xl text-[#94a3b8] max-w-2xl mb-12 leading-relaxed animate-fade-up" style={{ animationDelay: '0.3s' }}>
|
|
1023
|
-
Flexi UI is a stunning component library with neon emerald accents,
|
|
1024
|
-
dark-first design, and seamless React integration.
|
|
1025
|
-
</p>
|
|
1026
|
-
|
|
1027
|
-
{/* CTA Buttons */}
|
|
1028
|
-
<div className="flex flex-wrap items-center justify-center gap-4 mb-20 animate-fade-up" style={{ animationDelay: '0.4s' }}>
|
|
1029
|
-
<Button size="lg" className="gap-2 text-base px-8 py-4 h-auto">
|
|
1030
|
-
Get Started
|
|
1031
|
-
<ArrowRight className="w-5 h-5" />
|
|
1032
|
-
</Button>
|
|
1033
|
-
<Button variant="outline" size="lg" className="gap-2 text-base px-8 py-4 h-auto">
|
|
1034
|
-
<Github className="w-5 h-5" />
|
|
1035
|
-
GitHub
|
|
1036
|
-
</Button>
|
|
1037
|
-
</div>
|
|
1038
|
-
|
|
1039
|
-
{/* Terminal Preview */}
|
|
1040
|
-
<Card className="w-full max-w-2xl animate-scale-in animate-glow-pulse" style={{ animationDelay: '0.5s' }}>
|
|
1041
|
-
<div className="p-6">
|
|
1042
|
-
<div className="flex items-center gap-2 mb-4">
|
|
1043
|
-
<div className="w-3 h-3 rounded-full bg-red-500/80" />
|
|
1044
|
-
<div className="w-3 h-3 rounded-full bg-yellow-500/80" />
|
|
1045
|
-
<div className="w-3 h-3 rounded-full bg-green-500/80" />
|
|
1046
|
-
<span className="ml-3 text-xs text-[#64748b]">terminal</span>
|
|
1047
|
-
</div>
|
|
1048
|
-
<pre className="text-left text-sm md:text-base font-mono">
|
|
1049
|
-
<code>
|
|
1050
|
-
<span className="text-[#64748b]">$</span>{' '}
|
|
1051
|
-
<span className="text-[#00FF9C]">npm</span> install @flexireact/flexi-ui{'\n'}
|
|
1052
|
-
<span className="text-[#64748b]">$</span>{' '}
|
|
1053
|
-
<span className="text-[#00FF9C]">npx</span> create-flexireact my-app{'\n'}
|
|
1054
|
-
{'\n'}
|
|
1055
|
-
<span className="text-[#00FF9C]">✓</span> <span className="text-[#f8fafc]">Ready in</span> <span className="text-[#00FF9C]">38ms</span>
|
|
1056
|
-
</code>
|
|
1057
|
-
</pre>
|
|
1058
|
-
</div>
|
|
1059
|
-
</Card>
|
|
1041
|
+
<section className="hero">
|
|
1042
|
+
<div className="hero-glow" />
|
|
1043
|
+
<div className="hero-content">
|
|
1044
|
+
<Badge variant="success" className="mb-6">
|
|
1045
|
+
⚡ Flexi UI Components
|
|
1046
|
+
</Badge>
|
|
1047
|
+
<h1 className="hero-title">
|
|
1048
|
+
Build <span className="gradient-text">beautiful</span> apps
|
|
1049
|
+
</h1>
|
|
1050
|
+
<p className="hero-subtitle">
|
|
1051
|
+
A stunning component library with neon emerald accents,
|
|
1052
|
+
dark-first design, and seamless React integration.
|
|
1053
|
+
</p>
|
|
1054
|
+
<div className="hero-buttons">
|
|
1055
|
+
<Button size="lg">Get Started</Button>
|
|
1056
|
+
<Button variant="outline" size="lg">GitHub</Button>
|
|
1060
1057
|
</div>
|
|
1061
1058
|
</div>
|
|
1062
1059
|
</section>
|
|
@@ -1065,267 +1062,27 @@ export function Hero() {
|
|
|
1065
1062
|
`,
|
|
1066
1063
|
|
|
1067
1064
|
'components/Features.tsx': () => `import React from 'react';
|
|
1068
|
-
import { Card
|
|
1069
|
-
import { Zap, Folder, Sparkles, Server, Palette, Shield } from 'lucide-react';
|
|
1065
|
+
import { Card } from '@flexireact/flexi-ui';
|
|
1070
1066
|
|
|
1071
1067
|
const features = [
|
|
1072
|
-
{
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
badge: 'Performance',
|
|
1077
|
-
},
|
|
1078
|
-
{
|
|
1079
|
-
icon: Folder,
|
|
1080
|
-
title: 'File-based Routing',
|
|
1081
|
-
description: 'Create a file in pages/, get a route automatically. Simple and intuitive.',
|
|
1082
|
-
badge: 'DX',
|
|
1083
|
-
},
|
|
1084
|
-
{
|
|
1085
|
-
icon: Sparkles,
|
|
1086
|
-
title: 'Islands Architecture',
|
|
1087
|
-
description: 'Partial hydration for minimal JavaScript. Only hydrate what needs interactivity.',
|
|
1088
|
-
badge: 'Modern',
|
|
1089
|
-
},
|
|
1090
|
-
{
|
|
1091
|
-
icon: Server,
|
|
1092
|
-
title: 'SSR & SSG',
|
|
1093
|
-
description: 'Server-side rendering and static generation out of the box. SEO friendly.',
|
|
1094
|
-
badge: 'SEO',
|
|
1095
|
-
},
|
|
1096
|
-
{
|
|
1097
|
-
icon: Palette,
|
|
1098
|
-
title: 'Beautiful Design',
|
|
1099
|
-
description: 'Neon emerald accents with dark-first design. Stunning out of the box.',
|
|
1100
|
-
badge: 'UI',
|
|
1101
|
-
},
|
|
1102
|
-
{
|
|
1103
|
-
icon: Shield,
|
|
1104
|
-
title: 'Type Safe',
|
|
1105
|
-
description: 'Full TypeScript support with strict type checking and excellent DX.',
|
|
1106
|
-
badge: 'TypeScript',
|
|
1107
|
-
},
|
|
1068
|
+
{ icon: '⚡', title: 'Fast', desc: 'Powered by esbuild.' },
|
|
1069
|
+
{ icon: '📁', title: 'File Routing', desc: 'Automatic routes.' },
|
|
1070
|
+
{ icon: '🏝️', title: 'Islands', desc: 'Partial hydration.' },
|
|
1071
|
+
{ icon: '🎨', title: 'Beautiful', desc: 'Dark mode first.' },
|
|
1108
1072
|
];
|
|
1109
1073
|
|
|
1110
1074
|
export function Features() {
|
|
1111
1075
|
return (
|
|
1112
|
-
<section className="
|
|
1113
|
-
<
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
<
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
<p className="text-xl text-[#94a3b8] max-w-2xl mx-auto">
|
|
1121
|
-
A complete toolkit for building modern web applications with React and Flexi UI.
|
|
1122
|
-
</p>
|
|
1123
|
-
</div>
|
|
1124
|
-
|
|
1125
|
-
{/* Feature Grid */}
|
|
1126
|
-
<div className="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
|
|
1127
|
-
{features.map((feature, index) => (
|
|
1128
|
-
<Card
|
|
1129
|
-
key={index}
|
|
1130
|
-
className="group p-8 transition-all duration-300 hover:border-[#00FF9C]/50 hover:shadow-[0_0_30px_rgba(0,255,156,0.1)] cursor-default animate-fade-up"
|
|
1131
|
-
style={{ animationDelay: (index * 0.1) + 's' }}
|
|
1132
|
-
>
|
|
1133
|
-
<div className="flex items-start gap-4">
|
|
1134
|
-
<div className="p-3 rounded-xl bg-[#00FF9C]/10 text-[#00FF9C] group-hover:bg-[#00FF9C] group-hover:text-black transition-all duration-300">
|
|
1135
|
-
<feature.icon className="w-6 h-6" />
|
|
1136
|
-
</div>
|
|
1137
|
-
<div className="flex-1">
|
|
1138
|
-
<div className="flex items-center gap-2 mb-2">
|
|
1139
|
-
<h3 className="text-lg font-semibold">{feature.title}</h3>
|
|
1140
|
-
</div>
|
|
1141
|
-
<p className="text-[#94a3b8] text-sm leading-relaxed">
|
|
1142
|
-
{feature.description}
|
|
1143
|
-
</p>
|
|
1144
|
-
</div>
|
|
1145
|
-
</div>
|
|
1146
|
-
</Card>
|
|
1147
|
-
))}
|
|
1148
|
-
</div>
|
|
1149
|
-
</div>
|
|
1150
|
-
</section>
|
|
1151
|
-
);
|
|
1152
|
-
}
|
|
1153
|
-
`,
|
|
1154
|
-
|
|
1155
|
-
'components/Showcase.tsx': () => `import React from 'react';
|
|
1156
|
-
import {
|
|
1157
|
-
Button,
|
|
1158
|
-
Card,
|
|
1159
|
-
Badge,
|
|
1160
|
-
Input,
|
|
1161
|
-
Checkbox,
|
|
1162
|
-
Switch,
|
|
1163
|
-
Progress,
|
|
1164
|
-
Spinner,
|
|
1165
|
-
Avatar,
|
|
1166
|
-
Separator
|
|
1167
|
-
} from '@flexireact/flexi-ui';
|
|
1168
|
-
import { Mail, Lock, User, Search, Heart, Star, Check } from 'lucide-react';
|
|
1169
|
-
|
|
1170
|
-
export function Showcase() {
|
|
1171
|
-
return (
|
|
1172
|
-
<section className="py-32 px-6 relative">
|
|
1173
|
-
{/* Background Gradient */}
|
|
1174
|
-
<div className="absolute inset-0 -z-10">
|
|
1175
|
-
<div className="absolute top-1/2 left-1/4 w-[500px] h-[500px] rounded-full bg-gradient-radial from-[#00FF9C]/10 to-transparent blur-3xl" />
|
|
1176
|
-
</div>
|
|
1177
|
-
|
|
1178
|
-
<div className="container mx-auto max-w-6xl">
|
|
1179
|
-
{/* Section Header */}
|
|
1180
|
-
<div className="text-center mb-20">
|
|
1181
|
-
<Badge variant="success" className="mb-6">Components</Badge>
|
|
1182
|
-
<h2 className="text-4xl md:text-5xl font-bold tracking-tight mb-6">
|
|
1183
|
-
Beautiful by default
|
|
1184
|
-
</h2>
|
|
1185
|
-
<p className="text-xl text-[#94a3b8] max-w-2xl mx-auto">
|
|
1186
|
-
23+ components designed with attention to detail. Dark mode first, accessible, and customizable.
|
|
1187
|
-
</p>
|
|
1188
|
-
</div>
|
|
1189
|
-
|
|
1190
|
-
{/* Component Showcase Grid */}
|
|
1191
|
-
<div className="grid lg:grid-cols-2 gap-8">
|
|
1192
|
-
{/* Buttons Card */}
|
|
1193
|
-
<Card className="p-8">
|
|
1194
|
-
<h3 className="text-lg font-semibold mb-6 flex items-center gap-2">
|
|
1195
|
-
<span className="w-2 h-2 rounded-full bg-[#00FF9C]" />
|
|
1196
|
-
Buttons
|
|
1197
|
-
</h3>
|
|
1198
|
-
<div className="flex flex-wrap gap-3">
|
|
1199
|
-
<Button>Primary</Button>
|
|
1200
|
-
<Button variant="secondary">Secondary</Button>
|
|
1201
|
-
<Button variant="outline">Outline</Button>
|
|
1202
|
-
<Button variant="ghost">Ghost</Button>
|
|
1203
|
-
<Button variant="danger">Danger</Button>
|
|
1204
|
-
<Button variant="link">Link</Button>
|
|
1205
|
-
</div>
|
|
1206
|
-
<Separator className="my-6" />
|
|
1207
|
-
<div className="flex flex-wrap gap-3">
|
|
1208
|
-
<Button size="sm">Small</Button>
|
|
1209
|
-
<Button size="md">Medium</Button>
|
|
1210
|
-
<Button size="lg">Large</Button>
|
|
1211
|
-
</div>
|
|
1212
|
-
<Separator className="my-6" />
|
|
1213
|
-
<div className="flex flex-wrap gap-3">
|
|
1214
|
-
<Button loading>Loading</Button>
|
|
1215
|
-
<Button disabled>Disabled</Button>
|
|
1216
|
-
<Button className="gap-2">
|
|
1217
|
-
<Heart className="w-4 h-4" /> With Icon
|
|
1218
|
-
</Button>
|
|
1219
|
-
</div>
|
|
1220
|
-
</Card>
|
|
1221
|
-
|
|
1222
|
-
{/* Inputs Card */}
|
|
1223
|
-
<Card className="p-8">
|
|
1224
|
-
<h3 className="text-lg font-semibold mb-6 flex items-center gap-2">
|
|
1225
|
-
<span className="w-2 h-2 rounded-full bg-[#00FF9C]" />
|
|
1226
|
-
Inputs
|
|
1227
|
-
</h3>
|
|
1228
|
-
<div className="space-y-4">
|
|
1229
|
-
<Input
|
|
1230
|
-
label="Email"
|
|
1231
|
-
placeholder="you@example.com"
|
|
1232
|
-
type="email"
|
|
1233
|
-
/>
|
|
1234
|
-
<Input
|
|
1235
|
-
label="Password"
|
|
1236
|
-
placeholder="Enter password"
|
|
1237
|
-
type="password"
|
|
1238
|
-
/>
|
|
1239
|
-
<Input
|
|
1240
|
-
label="Search"
|
|
1241
|
-
placeholder="Search..."
|
|
1242
|
-
/>
|
|
1243
|
-
<Input
|
|
1244
|
-
label="With Error"
|
|
1245
|
-
placeholder="Invalid input"
|
|
1246
|
-
error
|
|
1247
|
-
helperText="This field is required"
|
|
1248
|
-
/>
|
|
1249
|
-
</div>
|
|
1250
|
-
</Card>
|
|
1251
|
-
|
|
1252
|
-
{/* Badges Card */}
|
|
1253
|
-
<Card className="p-8">
|
|
1254
|
-
<h3 className="text-lg font-semibold mb-6 flex items-center gap-2">
|
|
1255
|
-
<span className="w-2 h-2 rounded-full bg-[#00FF9C]" />
|
|
1256
|
-
Badges & Status
|
|
1257
|
-
</h3>
|
|
1258
|
-
<div className="flex flex-wrap gap-3 mb-6">
|
|
1259
|
-
<Badge>Default</Badge>
|
|
1260
|
-
<Badge variant="success">Success</Badge>
|
|
1261
|
-
<Badge variant="warning">Warning</Badge>
|
|
1262
|
-
<Badge variant="danger">Danger</Badge>
|
|
1263
|
-
<Badge variant="outline">Outline</Badge>
|
|
1264
|
-
</div>
|
|
1265
|
-
<Separator className="my-6" />
|
|
1266
|
-
<h4 className="text-sm font-medium mb-4 text-[#94a3b8]">Progress</h4>
|
|
1267
|
-
<div className="space-y-4">
|
|
1268
|
-
<Progress value={25} />
|
|
1269
|
-
<Progress value={50} />
|
|
1270
|
-
<Progress value={75} />
|
|
1271
|
-
<Progress value={100} />
|
|
1272
|
-
</div>
|
|
1076
|
+
<section className="features">
|
|
1077
|
+
<h2 className="features-title">Features</h2>
|
|
1078
|
+
<div className="features-grid">
|
|
1079
|
+
{features.map((f, i) => (
|
|
1080
|
+
<Card key={i} className="feature-card">
|
|
1081
|
+
<span className="feature-icon">{f.icon}</span>
|
|
1082
|
+
<h3>{f.title}</h3>
|
|
1083
|
+
<p>{f.desc}</p>
|
|
1273
1084
|
</Card>
|
|
1274
|
-
|
|
1275
|
-
{/* Form Controls Card */}
|
|
1276
|
-
<Card className="p-8">
|
|
1277
|
-
<h3 className="text-lg font-semibold mb-6 flex items-center gap-2">
|
|
1278
|
-
<span className="w-2 h-2 rounded-full bg-[#00FF9C]" />
|
|
1279
|
-
Form Controls
|
|
1280
|
-
</h3>
|
|
1281
|
-
<div className="space-y-6">
|
|
1282
|
-
<div className="flex items-center gap-4">
|
|
1283
|
-
<Checkbox id="terms" />
|
|
1284
|
-
<label htmlFor="terms" className="text-sm">Accept terms and conditions</label>
|
|
1285
|
-
</div>
|
|
1286
|
-
<div className="flex items-center gap-4">
|
|
1287
|
-
<Checkbox id="newsletter" defaultChecked />
|
|
1288
|
-
<label htmlFor="newsletter" className="text-sm">Subscribe to newsletter</label>
|
|
1289
|
-
</div>
|
|
1290
|
-
<Separator />
|
|
1291
|
-
<div className="flex items-center justify-between">
|
|
1292
|
-
<span className="text-sm">Dark Mode</span>
|
|
1293
|
-
<Switch defaultChecked />
|
|
1294
|
-
</div>
|
|
1295
|
-
<div className="flex items-center justify-between">
|
|
1296
|
-
<span className="text-sm">Notifications</span>
|
|
1297
|
-
<Switch />
|
|
1298
|
-
</div>
|
|
1299
|
-
<Separator />
|
|
1300
|
-
<div className="flex items-center gap-4">
|
|
1301
|
-
<Spinner size="sm" />
|
|
1302
|
-
<Spinner />
|
|
1303
|
-
<Spinner size="lg" />
|
|
1304
|
-
</div>
|
|
1305
|
-
</div>
|
|
1306
|
-
</Card>
|
|
1307
|
-
</div>
|
|
1308
|
-
|
|
1309
|
-
{/* Avatars Row */}
|
|
1310
|
-
<Card className="p-8 mt-8">
|
|
1311
|
-
<h3 className="text-lg font-semibold mb-6 flex items-center gap-2">
|
|
1312
|
-
<span className="w-2 h-2 rounded-full bg-[#00FF9C]" />
|
|
1313
|
-
Avatars
|
|
1314
|
-
</h3>
|
|
1315
|
-
<div className="flex items-center gap-4 flex-wrap">
|
|
1316
|
-
<Avatar size="sm" fallback="JD" />
|
|
1317
|
-
<Avatar fallback="AB" />
|
|
1318
|
-
<Avatar size="lg" fallback="CD" />
|
|
1319
|
-
<Avatar size="xl" fallback="EF" />
|
|
1320
|
-
<Separator orientation="vertical" className="h-12 mx-4" />
|
|
1321
|
-
<div className="flex -space-x-3">
|
|
1322
|
-
<Avatar fallback="A" className="ring-2 ring-[#0a0a0a]" />
|
|
1323
|
-
<Avatar fallback="B" className="ring-2 ring-[#0a0a0a]" />
|
|
1324
|
-
<Avatar fallback="C" className="ring-2 ring-[#0a0a0a]" />
|
|
1325
|
-
<Avatar fallback="+5" className="ring-2 ring-[#0a0a0a]" />
|
|
1326
|
-
</div>
|
|
1327
|
-
</div>
|
|
1328
|
-
</Card>
|
|
1085
|
+
))}
|
|
1329
1086
|
</div>
|
|
1330
1087
|
</section>
|
|
1331
1088
|
);
|
|
@@ -1333,51 +1090,12 @@ export function Showcase() {
|
|
|
1333
1090
|
`,
|
|
1334
1091
|
|
|
1335
1092
|
'components/Footer.tsx': () => `import React from 'react';
|
|
1336
|
-
import { Separator } from '@flexireact/flexi-ui';
|
|
1337
|
-
import { Github, Twitter, Heart } from 'lucide-react';
|
|
1338
1093
|
|
|
1339
1094
|
export function Footer() {
|
|
1340
1095
|
return (
|
|
1341
|
-
<footer className="
|
|
1342
|
-
<
|
|
1343
|
-
|
|
1344
|
-
{/* Logo & Copyright */}
|
|
1345
|
-
<div className="flex items-center gap-3">
|
|
1346
|
-
<div className="w-8 h-8 rounded-lg bg-gradient-to-br from-[#00FF9C] to-emerald-400 flex items-center justify-center">
|
|
1347
|
-
<span className="text-black font-bold text-sm">F</span>
|
|
1348
|
-
</div>
|
|
1349
|
-
<span className="text-[#94a3b8] text-sm">
|
|
1350
|
-
Built with <Heart className="w-4 h-4 inline text-red-500 mx-1" /> using{' '}
|
|
1351
|
-
<a href="https://github.com/flexireact/flexi-ui" className="text-[#00FF9C] hover:underline">
|
|
1352
|
-
Flexi UI
|
|
1353
|
-
</a>
|
|
1354
|
-
</span>
|
|
1355
|
-
</div>
|
|
1356
|
-
|
|
1357
|
-
{/* Links */}
|
|
1358
|
-
<div className="flex items-center gap-6">
|
|
1359
|
-
<a
|
|
1360
|
-
href="https://github.com/flexireact/flexi-ui"
|
|
1361
|
-
className="text-[#94a3b8] hover:text-white transition-colors flex items-center gap-2 text-sm"
|
|
1362
|
-
>
|
|
1363
|
-
<Github className="w-4 h-4" />
|
|
1364
|
-
GitHub
|
|
1365
|
-
</a>
|
|
1366
|
-
<a
|
|
1367
|
-
href="https://github.com/flexireact/flexireact"
|
|
1368
|
-
className="text-[#94a3b8] hover:text-white transition-colors text-sm"
|
|
1369
|
-
>
|
|
1370
|
-
Documentation
|
|
1371
|
-
</a>
|
|
1372
|
-
<a
|
|
1373
|
-
href="https://github.com/flexireact/flexi-ui"
|
|
1374
|
-
className="text-[#94a3b8] hover:text-white transition-colors text-sm"
|
|
1375
|
-
>
|
|
1376
|
-
Components
|
|
1377
|
-
</a>
|
|
1378
|
-
</div>
|
|
1379
|
-
</div>
|
|
1380
|
-
</div>
|
|
1096
|
+
<footer className="footer">
|
|
1097
|
+
<span>Built with Flexi UI</span>
|
|
1098
|
+
<a href="https://github.com/flexireact/flexi-ui">GitHub</a>
|
|
1381
1099
|
</footer>
|
|
1382
1100
|
);
|
|
1383
1101
|
}
|
|
@@ -1385,43 +1103,20 @@ export function Footer() {
|
|
|
1385
1103
|
|
|
1386
1104
|
'components/Navbar.tsx': () => `import React from 'react';
|
|
1387
1105
|
import { Button, Badge } from '@flexireact/flexi-ui';
|
|
1388
|
-
import { Github, Menu } from 'lucide-react';
|
|
1389
1106
|
|
|
1390
1107
|
export function Navbar() {
|
|
1391
1108
|
return (
|
|
1392
|
-
<header className="
|
|
1393
|
-
<nav className="
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
<
|
|
1397
|
-
|
|
1398
|
-
</div>
|
|
1399
|
-
<span className="text-lg font-bold">Flexi UI</span>
|
|
1400
|
-
<Badge variant="outline" className="hidden sm:flex text-xs">v1.0</Badge>
|
|
1109
|
+
<header className="navbar">
|
|
1110
|
+
<nav className="navbar-inner">
|
|
1111
|
+
<a href="/" className="logo">
|
|
1112
|
+
<span className="logo-icon">F</span>
|
|
1113
|
+
<span className="logo-text">Flexi UI</span>
|
|
1114
|
+
<Badge variant="outline" className="ml-2">v1.0</Badge>
|
|
1401
1115
|
</a>
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
<Button variant="ghost" size="sm">
|
|
1406
|
-
<a href="https://github.com/flexireact/flexi-ui">Docs</a>
|
|
1407
|
-
</Button>
|
|
1408
|
-
<Button variant="ghost" size="sm">
|
|
1409
|
-
<a href="https://github.com/flexireact/flexi-ui">Components</a>
|
|
1410
|
-
</Button>
|
|
1411
|
-
<Button variant="ghost" size="sm">
|
|
1412
|
-
<a href="https://github.com/flexireact/flexireact">FlexiReact</a>
|
|
1413
|
-
</Button>
|
|
1414
|
-
<div className="w-px h-6 bg-[#1e293b] mx-2" />
|
|
1415
|
-
<Button variant="outline" size="sm" className="gap-2">
|
|
1416
|
-
<Github className="w-4 h-4" />
|
|
1417
|
-
<a href="https://github.com/flexireact/flexi-ui">GitHub</a>
|
|
1418
|
-
</Button>
|
|
1116
|
+
<div className="nav-links">
|
|
1117
|
+
<Button variant="ghost" size="sm">Docs</Button>
|
|
1118
|
+
<Button variant="outline" size="sm">GitHub</Button>
|
|
1419
1119
|
</div>
|
|
1420
|
-
|
|
1421
|
-
{/* Mobile Menu Button */}
|
|
1422
|
-
<Button variant="ghost" size="sm" className="md:hidden">
|
|
1423
|
-
<Menu className="w-5 h-5" />
|
|
1424
|
-
</Button>
|
|
1425
1120
|
</nav>
|
|
1426
1121
|
</header>
|
|
1427
1122
|
);
|
|
@@ -1430,7 +1125,6 @@ export function Navbar() {
|
|
|
1430
1125
|
|
|
1431
1126
|
'components/index.ts': () => `export { Hero } from './Hero';
|
|
1432
1127
|
export { Features } from './Features';
|
|
1433
|
-
export { Showcase } from './Showcase';
|
|
1434
1128
|
export { Footer } from './Footer';
|
|
1435
1129
|
export { Navbar } from './Navbar';
|
|
1436
1130
|
`,
|
|
@@ -1464,14 +1158,12 @@ export default function RootLayout({ children }: LayoutProps) {
|
|
|
1464
1158
|
'pages/index.tsx': () => `import React from 'react';
|
|
1465
1159
|
import { Hero } from '../components/Hero';
|
|
1466
1160
|
import { Features } from '../components/Features';
|
|
1467
|
-
import { Showcase } from '../components/Showcase';
|
|
1468
1161
|
|
|
1469
1162
|
export default function HomePage() {
|
|
1470
1163
|
return (
|
|
1471
1164
|
<>
|
|
1472
1165
|
<Hero />
|
|
1473
1166
|
<Features />
|
|
1474
|
-
<Showcase />
|
|
1475
1167
|
</>
|
|
1476
1168
|
);
|
|
1477
1169
|
}
|
|
@@ -1485,111 +1177,145 @@ export default function HomePage() {
|
|
|
1485
1177
|
@tailwind components;
|
|
1486
1178
|
@tailwind utilities;
|
|
1487
1179
|
|
|
1488
|
-
|
|
1489
|
-
:
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
--flexi-border: #1e293b;
|
|
1496
|
-
--flexi-card: #0f0f0f;
|
|
1497
|
-
}
|
|
1498
|
-
|
|
1499
|
-
* {
|
|
1500
|
-
border-color: var(--flexi-border);
|
|
1501
|
-
}
|
|
1502
|
-
|
|
1503
|
-
html {
|
|
1504
|
-
scroll-behavior: smooth;
|
|
1505
|
-
}
|
|
1506
|
-
|
|
1507
|
-
body {
|
|
1508
|
-
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
|
1509
|
-
background-color: var(--flexi-bg);
|
|
1510
|
-
color: var(--flexi-fg);
|
|
1511
|
-
min-height: 100vh;
|
|
1512
|
-
-webkit-font-smoothing: antialiased;
|
|
1513
|
-
-moz-osx-font-smoothing: grayscale;
|
|
1514
|
-
}
|
|
1515
|
-
|
|
1516
|
-
::selection {
|
|
1517
|
-
background-color: rgba(0, 255, 156, 0.3);
|
|
1518
|
-
color: white;
|
|
1519
|
-
}
|
|
1180
|
+
:root {
|
|
1181
|
+
--bg: #0a0a0a;
|
|
1182
|
+
--fg: #fafafa;
|
|
1183
|
+
--primary: #00FF9C;
|
|
1184
|
+
--muted: #94a3b8;
|
|
1185
|
+
--border: #1e293b;
|
|
1186
|
+
--card: #0f0f0f;
|
|
1520
1187
|
}
|
|
1521
1188
|
|
|
1522
|
-
|
|
1523
|
-
.bg-gradient-radial {
|
|
1524
|
-
background: radial-gradient(circle, var(--tw-gradient-stops));
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1527
|
-
.text-balance {
|
|
1528
|
-
text-wrap: balance;
|
|
1529
|
-
}
|
|
1530
|
-
|
|
1531
|
-
/* Custom scrollbar */
|
|
1532
|
-
::-webkit-scrollbar {
|
|
1533
|
-
width: 8px;
|
|
1534
|
-
height: 8px;
|
|
1535
|
-
}
|
|
1536
|
-
|
|
1537
|
-
::-webkit-scrollbar-track {
|
|
1538
|
-
background: #0a0a0a;
|
|
1539
|
-
}
|
|
1540
|
-
|
|
1541
|
-
::-webkit-scrollbar-thumb {
|
|
1542
|
-
background: #1e293b;
|
|
1543
|
-
border-radius: 4px;
|
|
1544
|
-
}
|
|
1189
|
+
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
1545
1190
|
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1191
|
+
body {
|
|
1192
|
+
font-family: 'Inter', system-ui, sans-serif;
|
|
1193
|
+
background: var(--bg);
|
|
1194
|
+
color: var(--fg);
|
|
1195
|
+
min-height: 100vh;
|
|
1549
1196
|
}
|
|
1550
1197
|
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1198
|
+
a { color: inherit; text-decoration: none; }
|
|
1199
|
+
|
|
1200
|
+
/* Navbar */
|
|
1201
|
+
.navbar {
|
|
1202
|
+
position: fixed;
|
|
1203
|
+
top: 0;
|
|
1204
|
+
left: 0;
|
|
1205
|
+
right: 0;
|
|
1206
|
+
z-index: 50;
|
|
1207
|
+
border-bottom: 1px solid var(--border);
|
|
1208
|
+
background: rgba(10,10,10,0.8);
|
|
1209
|
+
backdrop-filter: blur(12px);
|
|
1555
1210
|
}
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1211
|
+
.navbar-inner {
|
|
1212
|
+
max-width: 1200px;
|
|
1213
|
+
margin: 0 auto;
|
|
1214
|
+
padding: 1rem 1.5rem;
|
|
1215
|
+
display: flex;
|
|
1216
|
+
justify-content: space-between;
|
|
1217
|
+
align-items: center;
|
|
1560
1218
|
}
|
|
1561
|
-
|
|
1562
|
-
.
|
|
1563
|
-
|
|
1564
|
-
|
|
1219
|
+
.logo { display: flex; align-items: center; gap: 0.5rem; }
|
|
1220
|
+
.logo-icon {
|
|
1221
|
+
width: 32px;
|
|
1222
|
+
height: 32px;
|
|
1223
|
+
background: linear-gradient(135deg, var(--primary), #10b981);
|
|
1224
|
+
border-radius: 8px;
|
|
1225
|
+
display: flex;
|
|
1226
|
+
align-items: center;
|
|
1227
|
+
justify-content: center;
|
|
1228
|
+
font-weight: 900;
|
|
1229
|
+
color: #000;
|
|
1565
1230
|
}
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1231
|
+
.logo-text { font-weight: 700; }
|
|
1232
|
+
.nav-links { display: flex; gap: 0.5rem; }
|
|
1233
|
+
|
|
1234
|
+
/* Hero */
|
|
1235
|
+
.hero {
|
|
1236
|
+
position: relative;
|
|
1237
|
+
min-height: 100vh;
|
|
1238
|
+
display: flex;
|
|
1239
|
+
align-items: center;
|
|
1240
|
+
justify-content: center;
|
|
1241
|
+
padding-top: 4rem;
|
|
1570
1242
|
}
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1243
|
+
.hero-glow {
|
|
1244
|
+
position: absolute;
|
|
1245
|
+
top: 50%;
|
|
1246
|
+
left: 50%;
|
|
1247
|
+
transform: translate(-50%, -50%);
|
|
1248
|
+
width: 600px;
|
|
1249
|
+
height: 600px;
|
|
1250
|
+
background: radial-gradient(circle, rgba(0,255,156,0.15), transparent 70%);
|
|
1251
|
+
pointer-events: none;
|
|
1252
|
+
}
|
|
1253
|
+
.hero-content {
|
|
1254
|
+
text-align: center;
|
|
1255
|
+
padding: 2rem;
|
|
1256
|
+
max-width: 800px;
|
|
1257
|
+
}
|
|
1258
|
+
.hero-title {
|
|
1259
|
+
font-size: clamp(2.5rem, 6vw, 4rem);
|
|
1260
|
+
font-weight: 800;
|
|
1261
|
+
line-height: 1.1;
|
|
1262
|
+
margin-bottom: 1.5rem;
|
|
1263
|
+
}
|
|
1264
|
+
.gradient-text {
|
|
1265
|
+
background: linear-gradient(90deg, var(--primary), #10b981);
|
|
1266
|
+
-webkit-background-clip: text;
|
|
1267
|
+
-webkit-text-fill-color: transparent;
|
|
1268
|
+
}
|
|
1269
|
+
.hero-subtitle {
|
|
1270
|
+
font-size: 1.125rem;
|
|
1271
|
+
color: var(--muted);
|
|
1272
|
+
line-height: 1.7;
|
|
1273
|
+
margin-bottom: 2rem;
|
|
1274
|
+
}
|
|
1275
|
+
.hero-buttons {
|
|
1276
|
+
display: flex;
|
|
1277
|
+
gap: 1rem;
|
|
1278
|
+
justify-content: center;
|
|
1581
1279
|
}
|
|
1582
1280
|
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1281
|
+
/* Features */
|
|
1282
|
+
.features {
|
|
1283
|
+
padding: 6rem 1.5rem;
|
|
1284
|
+
max-width: 1200px;
|
|
1285
|
+
margin: 0 auto;
|
|
1286
|
+
}
|
|
1287
|
+
.features-title {
|
|
1288
|
+
font-size: 2rem;
|
|
1289
|
+
font-weight: 700;
|
|
1290
|
+
text-align: center;
|
|
1291
|
+
margin-bottom: 3rem;
|
|
1292
|
+
}
|
|
1293
|
+
.features-grid {
|
|
1294
|
+
display: grid;
|
|
1295
|
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
1296
|
+
gap: 1.5rem;
|
|
1297
|
+
}
|
|
1298
|
+
.feature-card {
|
|
1299
|
+
padding: 1.5rem;
|
|
1300
|
+
text-align: center;
|
|
1301
|
+
}
|
|
1302
|
+
.feature-card:hover { border-color: var(--primary); }
|
|
1303
|
+
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
|
|
1304
|
+
.feature-card h3 { font-weight: 600; margin-bottom: 0.5rem; }
|
|
1305
|
+
.feature-card p { color: var(--muted); font-size: 0.875rem; }
|
|
1306
|
+
|
|
1307
|
+
/* Footer */
|
|
1308
|
+
.footer {
|
|
1309
|
+
border-top: 1px solid var(--border);
|
|
1310
|
+
padding: 2rem 1.5rem;
|
|
1311
|
+
display: flex;
|
|
1312
|
+
justify-content: space-between;
|
|
1313
|
+
max-width: 1200px;
|
|
1314
|
+
margin: 0 auto;
|
|
1315
|
+
color: var(--muted);
|
|
1316
|
+
font-size: 0.875rem;
|
|
1592
1317
|
}
|
|
1318
|
+
.footer a:hover { color: var(--primary); }
|
|
1593
1319
|
`,
|
|
1594
1320
|
|
|
1595
1321
|
// ============================================================================
|