Skip to content

Commit 2c0fd49

Browse files
committed
🧹 minor ui changes to banner
1 parent 1437e96 commit 2c0fd49

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/app/providers.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use client'
22

33
import { Button } from '@/components/mdx'
4+
import { ChevronRight } from 'lucide-react'
45
import { ThemeProvider } from 'next-themes'
56
import { useRouter } from 'next/navigation'
67

@@ -21,12 +22,13 @@ const SyntaxUIProBanner = () => {
2122
return (
2223
<>
2324
<div
24-
className={`fixed bottom-0 left-0 right-0 z-50 transition-all duration-300 ease-in-out`}
25+
onClick={() => router.push('/pro')}
26+
className={`fixed bottom-0 left-0 right-0 z-50 cursor-pointer transition-all duration-300 ease-in-out`}
2527
>
26-
<div className="flex w-full items-center justify-center gap-x-6 bg-red-500 px-6 py-3 sm:px-3.5">
28+
<div className="flex w-full items-center justify-center gap-x-6 bg-red-500 px-6 py-2 sm:px-3.5">
2729
<div className="flex items-center gap-4 text-sm font-medium leading-6 text-white">
2830
<p>{`Get Premium Blocks and Templates for your next project on SyntaxUI Pro`}</p>
29-
<Button onClick={() => router.push('/pro')}>Get Now!</Button>
31+
<ChevronRight className="h-4 w-4" />
3032
</div>
3133
</div>
3234
</div>

0 commit comments

Comments
 (0)