-
-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathpage.tsx
More file actions
84 lines (82 loc) · 2.87 KB
/
page.tsx
File metadata and controls
84 lines (82 loc) · 2.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
import AnimatedBadge from '@/components/AnimatedBadge'
import { Footer } from '@/components/Footer'
import { Header } from '@/components/Header'
import { Button } from '@/components/ui/button'
import AnimationCards from '@/showcase/ui-group/AnimationCards'
import BlockCards from '@/showcase/ui-group/BlockCards'
import ComponentCards from '@/showcase/ui-group/ComponentCards'
import EffectCards from '@/showcase/ui-group/EffectCards'
import Image from 'next/image'
import Link from 'next/link'
const Home = () => {
return (
<>
<div className="flex h-screen w-full flex-col items-center justify-between text-center">
<Header />
<div className="my-[8rem] flex h-full flex-col items-center justify-center gap-4 px-3">
<div className="flex w-full flex-col items-center justify-center gap-2">
<AnimatedBadge />
<Image
src="/images/syntaxUI.svg"
alt="SyntaxUI"
className="mb-4 h-16 w-16 rounded-lg"
width={100}
height={100}
/>
<h1 className="max-w-lg text-3xl font-bold tracking-tight md:max-w-2xl md:text-5xl">
Stop coding from scratch. Build faster. Launch sooner.
</h1>
<p className="text-gray-600 dark:text-gray-300">
Free-to-use UI elements designed for rapid development.
</p>
</div>
<div className="flex items-center space-x-4">
<Link href="/components">
<Button className="bg-red-500 hover:bg-red-500/90 dark:bg-red-500 dark:text-white dark:hover:bg-red-500/90">
Get Started
</Button>
</Link>
<Link
href="https://pro.syntaxui.com/"
target="_blank"
rel="noreferrer"
>
<Button variant={'outline'} className="gap-1">
Get SyntaxUI Pro
</Button>
</Link>
</div>
</div>
{/* UI Elements */}
<div className="mb-12 flex w-full max-w-7xl flex-col gap-8 px-3">
<div>
<div className="mb-4 text-left text-lg font-semibold tracking-tight">
Components
</div>
<ComponentCards />
</div>
<div>
<div className="mb-4 text-left text-lg font-semibold tracking-tight">
Blocks
</div>
<BlockCards />
</div>
<div>
<div className="mb-4 text-left text-lg font-semibold tracking-tight">
Animations
</div>
<AnimationCards />
</div>
<div>
<div className="mb-4 w-full text-left text-lg font-semibold">
Effects
</div>
<EffectCards />
</div>
</div>
<Footer />
</div>
</>
)
}
export default Home