Add new products slider icons
This commit is contained in:
@@ -9,6 +9,7 @@ import type { SwiperClass } from "swiper/react";
|
||||
type Props = {
|
||||
title: string;
|
||||
products: ProductListItem[];
|
||||
iconImage: string;
|
||||
};
|
||||
|
||||
// props
|
||||
@@ -30,7 +31,7 @@ const onSwiper = (swiper: SwiperClass) => {
|
||||
<section class="w-full flex flex-col gap-10 md:gap-16 lg:container">
|
||||
<div class="w-full flex justify-between items-center max-lg:container">
|
||||
<div class="flex gap-2 items-center">
|
||||
<NuxtImg src="/img/navbar/cart.gif" class="size-8 sm:size-14" />
|
||||
<NuxtImg :src="iconImage" class="size-8 sm:size-14" />
|
||||
<span class="text-black typo-h-6 md:typo-h-5 lg:typo-h-4">
|
||||
{{ title }}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user