remove unused import for CardHeader
This commit is contained in:
parent
32c3357ccc
commit
b0eb8aa744
1 changed files with 4 additions and 9 deletions
|
|
@ -4,7 +4,6 @@ import { MapPin, Phone, ExternalLink, Zap, MessageCircle } from 'lucide-vue-next
|
||||||
import {
|
import {
|
||||||
Card,
|
Card,
|
||||||
CardContent,
|
CardContent,
|
||||||
CardHeader,
|
|
||||||
CardTitle,
|
CardTitle,
|
||||||
CardDescription,
|
CardDescription,
|
||||||
} from '@/components/ui/card'
|
} from '@/components/ui/card'
|
||||||
|
|
@ -60,18 +59,14 @@ const categoryColors = {
|
||||||
<Phone class="h-4 w-4" />
|
<Phone class="h-4 w-4" />
|
||||||
<span>{{ item.contact }}</span>
|
<span>{{ item.contact }}</span>
|
||||||
<div v-if="item.contactType" class="flex gap-1">
|
<div v-if="item.contactType" class="flex gap-1">
|
||||||
<a v-if="item.contactType.includes('whatsapp')"
|
<a v-if="item.contactType.includes('whatsapp')" :href="`https://wa.me/${item.contact.replace(/\D/g, '')}`"
|
||||||
:href="`https://wa.me/${item.contact.replace(/\D/g, '')}`"
|
target="_blank" rel="noopener noreferrer"
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
class="bg-green-100 text-green-800 px-2 py-0.5 rounded-full text-xs font-medium flex items-center gap-1 hover:bg-green-200 transition-colors">
|
class="bg-green-100 text-green-800 px-2 py-0.5 rounded-full text-xs font-medium flex items-center gap-1 hover:bg-green-200 transition-colors">
|
||||||
<MessageCircle class="h-3 w-3" />
|
<MessageCircle class="h-3 w-3" />
|
||||||
WhatsApp
|
WhatsApp
|
||||||
</a>
|
</a>
|
||||||
<a v-if="item.contactType.includes('telegram')"
|
<a v-if="item.contactType.includes('telegram')" :href="`https://t.me/${item.contact.replace(/\D/g, '')}`"
|
||||||
:href="`https://t.me/${item.contact.replace(/\D/g, '')}`"
|
target="_blank" rel="noopener noreferrer"
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
class="bg-blue-100 text-blue-800 px-2 py-0.5 rounded-full text-xs font-medium flex items-center gap-1 hover:bg-blue-200 transition-colors">
|
class="bg-blue-100 text-blue-800 px-2 py-0.5 rounded-full text-xs font-medium flex items-center gap-1 hover:bg-blue-200 transition-colors">
|
||||||
<MessageCircle class="h-3 w-3" />
|
<MessageCircle class="h-3 w-3" />
|
||||||
Telegram
|
Telegram
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue