MCPcopy Create free account
hub / github.com/SyntaxUI/syntaxui / Home

Function Home

src/app/page.tsx:14–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12import Link from 'next/link'
13
14const Home = () => {
15 return (
16 <>
17 <div className="flex h-screen w-full flex-col items-center justify-between text-center">
18 <Header />
19 <div className="my-[8rem] flex h-full flex-col items-center justify-center gap-4 px-3">
20 <div className="flex w-full flex-col items-center justify-center gap-2">
21 <AnimatedBadge />
22 <Image
23 src="/images/syntaxUI.svg"
24 alt="SyntaxUI"
25 className="mb-4 h-16 w-16 rounded-lg"
26 width={100}
27 height={100}
28 />
29 <h1 className="max-w-lg text-3xl font-bold tracking-tight md:max-w-2xl md:text-5xl">
30 Stop coding from scratch. Build faster. Launch sooner.
31 </h1>
32 <p className="text-gray-600 dark:text-gray-300">
33 Free-to-use UI elements designed for rapid development.
34 </p>
35 </div>
36 <div className="flex items-center space-x-4">
37 <Link href="/components">
38 <Button className="bg-red-500 hover:bg-red-500/90 dark:bg-red-500 dark:text-white dark:hover:bg-red-500/90">
39 Get Started
40 </Button>
41 </Link>
42 <Link
43 href="https://pro.syntaxui.com/"
44 target="_blank"
45 rel="noreferrer"
46 >
47 <Button variant={'outline'} className="gap-1">
48 Get SyntaxUI Pro
49 </Button>
50 </Link>
51 </div>
52 </div>
53 {/* UI Elements */}
54 <div className="mb-12 flex w-full max-w-7xl flex-col gap-8 px-3">
55 <div>
56 <div className="mb-4 text-left text-lg font-semibold tracking-tight">
57 Components
58 </div>
59 <ComponentCards />
60 </div>
61 <div>
62 <div className="mb-4 text-left text-lg font-semibold tracking-tight">
63 Blocks
64 </div>
65 <BlockCards />
66 </div>
67 <div>
68 <div className="mb-4 text-left text-lg font-semibold tracking-tight">
69 Animations
70 </div>
71 <AnimationCards />

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected