-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcart-items-empty.tsx
28 lines (25 loc) · 936 Bytes
/
cart-items-empty.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
'use client'
import Link from 'next/link'
import { Plus, XCircle } from 'lucide-react'
import { Button } from '../components/ui/button'
export function CartItemsEmpty() {
return (
<div className="flex h-[450px] shrink-0 items-center justify-center rounded-md border-2 border-dashed border-gray-300 dark:border-gray-800">
<div className="mx-auto flex max-w-[420px] flex-col items-center justify-center text-center">
<XCircle className="h-10 w-10 text-muted-foreground" />
<h3 className="mt-4 text-lg font-semibold">
Nenhum produto adicionado
</h3>
<p className="mb-4 mt-2 text-sm text-muted-foreground">
Adicione produtos na sacola.
</p>
<Link href="/products">
<Button size="sm" className="relative">
<Plus className="mr-2 h-4 w-4" />
Adicionar Produto
</Button>
</Link>
</div>
</div>
)
}