@@ -2,9 +2,11 @@ import { type ReactElement } from 'react'
22import { useTranslation } from 'react-i18next'
33import { Pie } from 'react-chartjs-2'
44import { Chart as ChartJS , ArcElement , Tooltip as ChartTooltip , Legend , type ChartOptions } from 'chart.js'
5- import { Clock3 , Megaphone , Presentation , Share2 } from 'lucide-react'
5+ import { Clock3 , ExternalLink , Megaphone , Presentation , Share2 } from 'lucide-react'
66import SiteShell from './components/SiteShell'
7+ import { buttonVariants } from './components/ui/button'
78import { Card , CardContent , CardHeader , CardTitle } from './components/ui/card'
9+ import { cn } from './lib/utils'
810import { Tooltip } from './components/ui/tooltip'
911import logo from './assets/images/logo.png'
1012import rubyCentral from './assets/images/sponsors/ruby_central.png'
@@ -149,6 +151,20 @@ const Sponsorship = (): ReactElement => {
149151 < span className = "inline-flex items-center gap-2 rounded-full border border-yellow-300/40 bg-yellow-300/10 px-3 py-1.5 text-[0.82rem] font-bold uppercase tracking-[0.08em] text-sky-600" > { t ( 'sponsorship.heroEyebrow' ) } </ span >
150152 < h1 className = "text-4xl font-bold leading-none tracking-tight text-brand md:text-5xl lg:text-6xl" > { t ( 'navbar.sponsorship' ) } </ h1 >
151153 < p className = "text-lg leading-8 text-slate-600" > { t ( 'sponsorship.description1' ) } </ p >
154+ < div className = "flex justify-start" >
155+ < a
156+ href = "https://www.patreon.com/cw/WebDevTalksColima"
157+ target = "_blank"
158+ rel = "noopener noreferrer"
159+ className = { cn (
160+ buttonVariants ( { variant : 'default' , size : 'lg' } ) ,
161+ 'h-14 max-w-full rounded-full px-8 text-lg' ,
162+ ) }
163+ >
164+ { t ( 'sponsorship.patreonCta' ) }
165+ < ExternalLink className = "h-5 w-5" aria-hidden />
166+ </ a >
167+ </ div >
152168 < p className = "text-slate-600" > { t ( 'sponsorship.description2' ) } </ p >
153169 < p className = "text-slate-600" > { t ( 'sponsorship.description3' ) } </ p >
154170 </ div >
0 commit comments