-

+
diff --git a/frontend/components/global/LoadingOverlay.vue b/frontend/components/global/LoadingOverlay.vue
index 688c5c2..20843ba 100644
--- a/frontend/components/global/LoadingOverlay.vue
+++ b/frontend/components/global/LoadingOverlay.vue
@@ -55,9 +55,9 @@ onMounted(() => {
id="loading-overlay"
class="fixed inset-0 size-full z-9999 flex-center bg-black"
>
-

diff --git a/frontend/components/global/ServiceHighlights.vue b/frontend/components/global/ServiceHighlights.vue
index e94ea1f..1f3edde 100644
--- a/frontend/components/global/ServiceHighlights.vue
+++ b/frontend/components/global/ServiceHighlights.vue
@@ -11,22 +11,22 @@ type Highlight = {
const highlights = ref
([
{
- icon: "/img/footer-support.svg",
+ icon: "/img/heymlz/footer-support.svg",
title: "خدمات مشتری",
description: "پشتیبانی استثنایی، راهحلهای پایدار برای شما",
},
{
- icon: "/img/footer-send.svg",
+ icon: "/img/heymlz/footer-send.svg",
title: "ارسال سریع و رایگان",
description: "ارسال رایگان برای سفارشهای بالای ۱۵۰ دلار",
},
{
- icon: "/img/footer-share.svg",
+ icon: "/img/heymlz/footer-share.svg",
title: "معرفی به دوستان",
description: "ما را به دوستان خود معرفی کنید",
},
{
- icon: "/img/footer-security.svg",
+ icon: "/img/heymlz/footer-security.svg",
title: "پرداخت امن",
description: "پرداخت شما بهصورت امن پردازش میشود",
},
@@ -40,7 +40,7 @@ const highlights = ref([
>
-
![]()
{
class="bg-white brightness-[97%] w-full relative aspect-square overflow-hidden rounded-[12px] md:rounded-200"
>
-
{
"
class="active:scale-95 hover:border-slate-200 transition-all cursor-pointer brightness-[97%] bg-white aspect-square border-2 rounded-[12px] md:rounded-200 w-full overflow-hidden relative"
>
-
diff --git a/frontend/components/global/product/ProductCard.vue b/frontend/components/global/product/ProductCard.vue
index a4ed9b7..745cdb8 100644
--- a/frontend/components/global/product/ProductCard.vue
+++ b/frontend/components/global/product/ProductCard.vue
@@ -36,7 +36,7 @@ const { colorObject } = useImageColor(`#product-image-${id.value}`);
-
-
![]()
+
{{ title }}
diff --git a/frontend/components/global/products/FilterProducts.vue b/frontend/components/global/products/FilterProducts.vue
index d7c32ad..8c47859 100644
--- a/frontend/components/global/products/FilterProducts.vue
+++ b/frontend/components/global/products/FilterProducts.vue
@@ -9,7 +9,7 @@ import { PRODUCT_RANGE } from "~/constants";
// state
-const params: GetProductsFilters = inject("params");
+const params = inject("params") as GetProductsFilters;
const sort_filter = ref([
{ title: "جدیدترین ها", value: "newest" },
@@ -22,12 +22,12 @@ const sliderValue = ref([
params.price_lte ?? PRODUCT_RANGE.max,
]);
-const has_discount = ref(JSON.parse(params.has_discount ?? false));
-const in_stock = ref(JSON.parse(params.in_stock ?? false));
+const has_discount = ref(Boolean(params.has_discount) ?? false);
+const in_stock = ref(Boolean(params.in_stock) ?? false);
const sliderValueDebounced = refDebounced(sliderValue, 1000);
-const filtersSuccessMessage = ref<{ title: string; status: string } | null>("");
+const filtersSuccessMessage = ref<{ title: string; status: string } | null>(null);
// queries
diff --git a/frontend/components/home/Categories.vue b/frontend/components/home/Categories.vue
index 070163b..06ec0dd 100644
--- a/frontend/components/home/Categories.vue
+++ b/frontend/components/home/Categories.vue
@@ -25,14 +25,14 @@ const onSwiper = (swiper: SwiperClass) => {
class="flex flex-col justify-center gap-4 bg-black h-[150svh] relative overflow-hidden"
>
-
-
- دسته بندی ها
-
-
+
+
+
+
+
-

+
{
-
diff --git a/frontend/components/home/Hero.vue b/frontend/components/home/Hero.vue
index 399bd05..d2622e0 100644
--- a/frontend/components/home/Hero.vue
+++ b/frontend/components/home/Hero.vue
@@ -193,7 +193,7 @@ onUnmounted(() => {
/>
-
![]()
{
-
-
+
-
+
+
+
+
diff --git a/frontend/components/product/ChatBox/ChatButton.vue b/frontend/components/product/ChatBox/ChatButton.vue
index 114b7c2..52cc679 100644
--- a/frontend/components/product/ChatBox/ChatButton.vue
+++ b/frontend/components/product/ChatBox/ChatButton.vue
@@ -13,18 +13,18 @@ provide("isOpen", {
isOpen,
closeChat,
});
+
diff --git a/frontend/components/product/ChatBox/ChatMessage.vue b/frontend/components/product/ChatBox/ChatMessage.vue
index 97ecf3b..8728ebb 100644
--- a/frontend/components/product/ChatBox/ChatMessage.vue
+++ b/frontend/components/product/ChatBox/ChatMessage.vue
@@ -80,7 +80,7 @@ onMounted(() => {
>
diff --git a/frontend/components/product/ProductDetails.vue b/frontend/components/product/ProductDetails.vue
index 151eb3a..6d308aa 100644
--- a/frontend/components/product/ProductDetails.vue
+++ b/frontend/components/product/ProductDetails.vue
@@ -1,8 +1,10 @@