11"use server" ;
22
3- import { Button , Text , Input , Textarea , Card , Avatar } from "@/packages/ui" ;
3+ import {
4+ Button ,
5+ Text ,
6+ Input ,
7+ Textarea ,
8+ Card ,
9+ Avatar ,
10+ Badge ,
11+ } from "@/packages/ui" ;
412import AccordionStyleDefault from "@/preview/components/accordion-style-default" ;
513import AlertStyleDefaultIcon from "@/preview/components/alert-style-with-icon" ;
614import AvatarStyleCircle from "@/preview/components/avatar-style-circle-sizes" ;
715import BadgeStyleVariants from "@/preview/components/badge-style-variants" ;
8- import { GithubIcon , HeartIcon , MessageCircle } from "lucide-react" ;
16+ import {
17+ ArrowRightIcon ,
18+ GithubIcon ,
19+ HeartIcon ,
20+ MessageCircle ,
21+ } from "lucide-react" ;
922import Image from "next/image" ;
1023import Link from "next/link" ;
1124
1225async function getContributors ( ) : Promise <
1326 { avatar : string ; username : string ; url : string } [ ]
1427> {
15- let request = await fetch (
28+ const request = await fetch (
1629 `https://api.github.com/repos/Logging-Stuff/RetroUI/contributors` ,
1730 {
1831 method : "GET" ,
@@ -22,7 +35,7 @@ async function getContributors(): Promise<
2235 }
2336 ) ;
2437
25- let contributorsList = await request . json ( ) ;
38+ const contributorsList = await request . json ( ) ;
2639 return [
2740 {
2841 avatar : "https://avatars.githubusercontent.com/u/58097221?v=4" ,
@@ -47,6 +60,19 @@ export default async function Home() {
4760 < div className = "bg-[url('/images/banner_void_2.svg')] bg-cover bg-no-repeat bg-center flex flex-col items-center h-[1900px] lg:h-[1400px]" >
4861 < section className = "container max-w-6xl mx-auto px-4 lg:px-0 text-gray-900 flex justify-center items-center lg:gap-28 xl:gap-32 my-28" >
4962 < div className = "text-center lg:text-left w-full lg:w-2/3" >
63+ < Link
64+ id = "checkout-figma-kit"
65+ data-umami-event = "checkout-figma-kit"
66+ href = "https://buy.polar.sh/polar_cl_lDjYITXPX3VSsoGl2UfxIZqiinJ9xVn4y9YAP1ApYcJ"
67+ target = "_blank"
68+ className = "mb-6 inline-block"
69+ >
70+ < Badge >
71+ Checkout Retro UI Figma Kit{ " " }
72+ < ArrowRightIcon className = "ml-2 h-4 w-4 inline-block" />
73+ </ Badge >
74+ </ Link >
75+
5076 < Text as = "h1" > Make your projects</ Text >
5177 < Text as = "h1" className = "text-outlined" >
5278 stand out!
@@ -155,7 +181,10 @@ export default async function Home() {
155181
156182 < section className = "container max-w-6xl mx-auto px-4 lg:px-0 flex flex-col lg:flex-row gap-12 lg:gap-16 lg:grid-cols-2 my-36" >
157183 < div className = "w-full lg:w-3/5" >
158- < Text as = "h2" > Easily Customize to Your Own Needs! 🛠️</ Text >
184+ < Text as = "h2" >
185+ Easily < span className = "text-outlined" > Customize</ span > to Your Own
186+ Needs! 🛠️
187+ </ Text >
159188 < div className = "flex flex-col space-y-1 mt-6 mb-8 text-muted" >
160189 < Text className = "text-xl" >
161190 Copy-Paste Ready: Components that you can just copy paste.
@@ -183,7 +212,8 @@ export default async function Home() {
183212
184213 < section className = "container max-w-6xl mx-auto bg-[url('/images/starts_bg.svg')] bg-cover bg-no-repeat py-12" >
185214 < Text as = "h2" className = "text-center mb-28" >
186- A Growing Community of < br /> Developers and Designers.
215+ A < span className = "text-outlined" > Growing</ span > Community of < br /> { " " }
216+ Developers and Designers.
187217 </ Text >
188218
189219 < div className = "grid grid-cols-1 md:grid-cols-2 gap-12 max-w-2xl mx-auto" >
@@ -192,7 +222,7 @@ export default async function Home() {
192222 Github Stars
193223 </ Text >
194224 < Text as = "h1" className = "text-outlined text-7xl lg:text-8xl" >
195- 150 +
225+ 230 +
196226 </ Text >
197227 < Image
198228 src = "/images/shooting_star.svg"
@@ -220,6 +250,83 @@ export default async function Home() {
220250 </ div >
221251 </ section >
222252
253+ < section className = "container max-w-6xl mx-auto px-4 lg:px-0 my-48" >
254+ < Text as = "h2" className = "text-center mb-28" >
255+ Works With Both < span className = "text-outlined" > SSR</ span > and{ " " }
256+ < span className = "text-outlined" > SPA</ span > Applications.
257+ </ Text >
258+
259+ < div className = "grid grid-cols-5 lg:grid-cols-5 gap-8 lg:gap-6 max-w-2xl mx-auto items-center" >
260+ < Image
261+ src = "/images/logos/vite.png"
262+ alt = "vite"
263+ width = { 60 }
264+ height = { 60 }
265+ />
266+ < Image
267+ src = "/images/logos/nextjs.png"
268+ alt = "nextjs"
269+ width = { 60 }
270+ height = { 60 }
271+ />
272+ < Image
273+ src = "/images/logos/remix.png"
274+ alt = "remix"
275+ width = { 55 }
276+ height = { 55 }
277+ />
278+ < Image
279+ src = "/images/logos/astro.png"
280+ alt = "astro"
281+ width = { 55 }
282+ height = { 55 }
283+ />
284+ < Image
285+ src = "/images/logos/gatsby.png"
286+ alt = "gatsby"
287+ width = { 60 }
288+ height = { 60 }
289+ />
290+ </ div >
291+ </ section >
292+
293+ < section className = "container max-w-6xl mx-auto px-4 lg:px-0 grid grid-cols-1 lg:grid-cols-2 items-center my-36" >
294+ < div className = "w-full" >
295+ < Text as = "h2" >
296+ The < span className = "text-outlined" > Figma</ span > UI Kit You Were
297+ Looking For!
298+ </ Text >
299+ < div className = "flex flex-col space-y-1 mt-6 mb-8 text-muted" >
300+ < Text className = "text-xl" >
301+ - Based on the design foundation of RetroUI.
302+ </ Text >
303+ < Text className = "text-xl" >
304+ - Comes with 60+ UI elements like cards, modals, stats, etc .
305+ </ Text >
306+ < Text className = "text-xl" >
307+ - Get Lifetime update of new versions.
308+ </ Text >
309+ </ div >
310+
311+ < Link
312+ id = "checkout-figma-kit"
313+ data-umami-event = "checkout-figma-kit"
314+ href = "https://buy.polar.sh/polar_cl_lDjYITXPX3VSsoGl2UfxIZqiinJ9xVn4y9YAP1ApYcJ"
315+ target = "_blank"
316+ >
317+ < Button > Checkout Now</ Button >
318+ </ Link >
319+ </ div >
320+ < div className = "w-full" >
321+ < Image
322+ src = "/images/figma-banner.png"
323+ width = { 800 }
324+ height = { 800 }
325+ alt = "retroui code showcase"
326+ />
327+ </ div >
328+ </ section >
329+
223330 < section className = "container max-w-6xl mx-auto border-2 bg-primary-400 border-black py-16 px-4 lg:p-16 my-36" >
224331 < Text as = "h2" className = "text-center mb-2" >
225332 Community Contributors
0 commit comments