diff --git a/frontend/assets/css/other.utils.css b/frontend/assets/css/other.utils.css index 45c7fec..a34b0b2 100644 --- a/frontend/assets/css/other.utils.css +++ b/frontend/assets/css/other.utils.css @@ -1,7 +1,7 @@ @utility persian-number { - -moz-font-feature-settings: "ss03"; - -webkit-font-feature-settings: "ss03"; - font-feature-settings: "ss03"; + -moz-font-feature-settings: "ss02"; + -webkit-font-feature-settings: "ss02"; + font-feature-settings: "ss02"; } @utility text-gradient { diff --git a/frontend/components/global/BlogPost.vue b/frontend/components/global/BlogPost.vue index 457a707..1e26aa7 100644 --- a/frontend/components/global/BlogPost.vue +++ b/frontend/components/global/BlogPost.vue @@ -39,7 +39,7 @@ const createdAt = usePersianTimeAgo(new Date(date.value)); {{ category.name }} @@ -49,7 +49,7 @@ const createdAt = usePersianTimeAgo(new Date(date.value)); class="aspect-square w-full rounded-150 overflow-hidden relative" > {{ category.name }} diff --git a/frontend/components/global/LoadingOverlay.vue b/frontend/components/global/LoadingOverlay.vue index 57494c6..fecd7bf 100644 --- a/frontend/components/global/LoadingOverlay.vue +++ b/frontend/components/global/LoadingOverlay.vue @@ -92,7 +92,7 @@ onMounted(() => { src="/img/heymlz/heymlz-text-logo.png" class="invert w-[250px]" /> -
+
{ :key="slide" class="py-4" > -
+
+ +
diff --git a/frontend/components/global/product/ProductCard.vue b/frontend/components/global/product/ProductCard.vue index 745cdb8..f96e0dc 100644 --- a/frontend/components/global/product/ProductCard.vue +++ b/frontend/components/global/product/ProductCard.vue @@ -22,11 +22,17 @@ type Props = { // props const props = defineProps(); -const { id } = toRefs(props); +const { id, colors } = toRefs(props); // state const { colorObject } = useImageColor(`#product-image-${id.value}`); + +// computed + +const limitedColors = computed(() => { + return colors.value.slice(0, 3); +});