refactor: Replace ShoppingCartIcon with ShoppingCart component in ProductCard and Market pages
- Update ProductCard.vue and Market.vue to use the new ShoppingCart component from lucide-vue-next instead of the previous ShoppingCartIcon from heroicons. - Adjust button and icon imports for consistency across the application.
This commit is contained in:
parent
4d3d69f527
commit
21bb7372b4
2 changed files with 11 additions and 11 deletions
|
|
@ -85,7 +85,7 @@
|
|||
<!-- Cart Summary -->
|
||||
<div v-if="marketStore.cartItemCount > 0" class="fixed bottom-4 right-4">
|
||||
<Button @click="viewCart" class="shadow-lg">
|
||||
<ShoppingCartIcon class="w-5 h-5 mr-2" />
|
||||
<ShoppingCart class="w-5 h-5 mr-2" />
|
||||
Cart ({{ marketStore.cartItemCount }})
|
||||
</Button>
|
||||
</div>
|
||||
|
|
@ -102,7 +102,7 @@ import { Button } from '@/components/ui/button'
|
|||
import { Input } from '@/components/ui/input'
|
||||
import { Badge } from '@/components/ui/badge'
|
||||
import { Avatar, AvatarImage, AvatarFallback } from '@/components/ui/avatar'
|
||||
import { ShoppingCartIcon } from '@heroicons/vue/24/outline'
|
||||
import { ShoppingCart } from 'lucide-vue-next'
|
||||
import ProductCard from '@/components/market/ProductCard.vue'
|
||||
|
||||
const marketStore = useMarketStore()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue