diff --git a/frontend/app.vue b/frontend/app.vue index da627ed..54a43d4 100644 --- a/frontend/app.vue +++ b/frontend/app.vue @@ -5,6 +5,14 @@ import { VueQueryDevtools } from "@tanstack/vue-query-devtools"; // state +useSeoMeta({ + titleTemplate: (titleChunk) => { + return titleChunk ? `${titleChunk} | فروشگاه هی‌ ملز` : "فروشگاه هی‌ ملز"; + }, + ogImage: "/img/heymlz/global-cover.jpg", + twitterImage: "/img/heymlz/global-cover.jpg", +}); + const { $updateAvailable: updateAvailable, $handleUpdate: handleUpdate } = useNuxtApp(); const closeModal = () => { @@ -37,7 +45,7 @@ const closeModal = () => { diff --git a/frontend/assets/css/tailwind.css b/frontend/assets/css/tailwind.css index f071dc5..5696404 100644 --- a/frontend/assets/css/tailwind.css +++ b/frontend/assets/css/tailwind.css @@ -131,8 +131,6 @@ --breakpoint-3xl: 1700px; /* ANIMATIONS */ - --animate-marquee: marquee 20s linear infinite; - --animate-marquee-reverse: marquee 20s linear infinite reverse; --animate-fade-in: fadeIn 350ms ease-in-out; --animate-slide-down: slideDown 300ms ease-out; @@ -149,12 +147,6 @@ --animate-toast-in: toastSlideIn 600ms cubic-bezier(0.16, 1, 0.3, 1); --animate-toast-out: toastSlideOut 200ms ease-out; - @keyframes marquee { - to { - transform: translateX(50%); - } - } - @keyframes fadeIn { from { opacity: 0; diff --git a/frontend/components/global/Brands.vue b/frontend/components/global/Brands.vue index 370b2d5..d570827 100644 --- a/frontend/components/global/Brands.vue +++ b/frontend/components/global/Brands.vue @@ -9,6 +9,15 @@ type Props = { const props = defineProps(); const {} = toRefs(props); + +const brands = ref([ + "/img/brands/brand-1.png", + "/img/brands/brand-2.png", + "/img/brands/brand-3.png", + "/img/brands/brand-4.png", + "/img/brands/brand-5.png", + "/img/brands/brand-6.png", +]); + diff --git a/frontend/components/global/CategoryCard.vue b/frontend/components/global/CategoryCard.vue index 9b96646..fe2fbff 100644 --- a/frontend/components/global/CategoryCard.vue +++ b/frontend/components/global/CategoryCard.vue @@ -10,6 +10,7 @@ type Props = { description: string; picture: string; darkLayer?: boolean; + isActive: boolean; }; // props @@ -23,39 +24,45 @@ const { colorObject } = useImageColor(`#category-image-${id.value}`);