Update id and slug props

This commit is contained in:
marzban-dev
2025-05-21 17:46:15 +03:30
parent af45440e43
commit a224256651
@@ -9,7 +9,8 @@ import { useImageColor } from "~/composables/global/useImageColor";
// types
type Props = {
id: number;
id: number | string;
slug: string;
title: string;
colors: string[];
price: string;
@@ -37,7 +38,7 @@ const limitedColors = computed(() => {
<template>
<li class="w-full">
<NuxtLink :to="'/product/' + id">
<NuxtLink :to="'/product/' + slug">
<div class="@container group">
<div
class="group relative size-full aspect-square rounded-2xl bg-white brightness-[95%] overflow-hidden p-6"