-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpromo.tsx
34 lines (31 loc) · 993 Bytes
/
promo.tsx
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
import Image from "next/image"
import { Button } from "./ui/button"
import Link from "next/link"
export const Promo = () => {
return (
<div className="border-2 rounded-xl p-4 space-y-4">
<div className="space-y-2">
<div className="flex items-center gap-x-2">
<Image
src={"/unlimited.svg"}
alt="Pro"
height={26}
width={26}
/>
<h3 className="font-bold text-lg">Upgrade to Pro</h3>
</div>
<p className="text-muted-foreground">Get unlimited hearts and more!</p>
</div>
<Button
className="w-full"
size={"lg"}
variant={"super"}
asChild
>
<Link href={"/shop"}>
Upgrade today
</Link>
</Button>
</div>
)
}