merge and sendin the codebase

This commit is contained in:
Parsa Nazer
2026-02-13 20:38:51 +03:30
10 changed files with 31 additions and 24 deletions
+6 -6
View File
@@ -12,7 +12,7 @@
/> -->
<ClientOnly>
<div class="absolute top-0 w-full max-md:scale-200 origin-top">
<div class="absolute top-0 w-full max-md:scale-300 origin-top mask-b-from-0%">
<LightRays
rays-color="#007bff"
:rays-speed="1.75"
@@ -21,7 +21,7 @@
</ClientOnly>
<div class="flex flex-col gap-4 items-center justify-center relative z-20">
<div class="flex items-center flex-col gap-8 pb-[10px] pt-[80px] lg:pt-[100px] lg:pb-[50px] justify-center">
<div class="flex items-center flex-col gap-8 pb-2.5 pt-20 lg:pt-25 lg:pb-12.5 justify-center">
<img
src="/img/heymlz/heymlz-small-idle.gif"
loading="lazy"
@@ -46,7 +46,7 @@
<div class="flex items-center gap-4 mt-6 max-lg:justify-center">
<NuxtLink
to="#"
class="flex-center size-[1.5rem]"
class="flex-center size-6"
>
<Icon
name="ci:instagram"
@@ -56,7 +56,7 @@
</NuxtLink>
<NuxtLink
to="#"
class="flex-center size-[1.5rem]"
class="flex-center size-6"
>
<Icon
name="ci:facebook"
@@ -66,7 +66,7 @@
</NuxtLink>
<NuxtLink
to="#"
class="flex-center size-[1.5rem]"
class="flex-center size-6"
>
<Icon
name="ci:tiktok"
@@ -76,7 +76,7 @@
</NuxtLink>
<NuxtLink
to="#"
class="flex-center size-[1.5rem]"
class="flex-center size-6"
>
<Icon
name="ci:youtube"
+18 -13
View File
@@ -38,7 +38,7 @@ watch(
() => route.fullPath,
() => {
closeSideDrawer();
}
},
);
</script>
@@ -88,14 +88,17 @@ watch(
v-else
to="/signin"
class="w-full flex items-center justify-between gap-4 p-2 transition-all"
active-class="bg-black rounded-md text-white **:stroke-white"
active-class="bg-black rounded-md text-white"
>
<div class="flex items-center gap-3">
<div class="size-5 flex-center">
<Icon
<div class="size-6 flex-center">
<!-- <Icon
name="ci:profile"
size="18"
class="**:stroke-black"
/> -->
<NuxtImg
src="/img/mobile-drawer/profile.gif"
/>
</div>
@@ -132,14 +135,12 @@ watch(
<NuxtLink
to="/cart"
class="w-full flex items-center justify-between gap-4 p-2 transition-all"
active-class="bg-black rounded-md text-white **:stroke-white"
active-class="bg-black rounded-md text-white"
>
<div class="flex items-center gap-3">
<div class="size-5 flex-center">
<Icon
name="ci:cart"
size="19"
class="**:stroke-black"
<div class="size-6 flex-center">
<NuxtImg
src="/img/mobile-drawer/cart.gif"
/>
</div>
<span class="text-xs"> سبد خرید </span>
@@ -158,14 +159,18 @@ watch(
:key="index"
:to="link.path"
class="w-full flex items-center justify-between gap-3 p-2 transition-all"
active-class="bg-black rounded-md text-white **:stroke-white"
active-class="bg-black rounded-md text-white [&_.drawer-item-icon]:invert"
>
<div class="flex items-center gap-3">
<div class="size-5 flex-center">
<Icon
<div class="size-6 flex-center">
<!-- <Icon
:name="link.icon"
size="18"
class="**:stroke-black"
/> -->
<NuxtImg
:src="link.icon"
class="drawer-item-icon"
/>
</div>
<span class="text-xs"> {{ link.title }}</span>
+4 -4
View File
@@ -109,22 +109,22 @@ export const NAV_LINKS = [
{
title: "خانه",
path: "/",
icon: "ci:home",
icon: "/img/mobile-drawer/home.gif",
},
{
title: "محصولات",
path: "/products",
icon: "ci:airdrop",
icon: "/img/mobile-drawer/products.gif",
},
{
title: "دسته بندی ها",
path: "/category",
icon: "ci:delivery-boxes",
icon: "/img/mobile-drawer/category.gif",
},
{
title: "ارتباط با ما",
path: "/contact-us",
icon: "ci:call",
icon: "/img/mobile-drawer/contact.gif",
},
];
+3 -1
View File
@@ -26,10 +26,12 @@ if (response.isError) {
<Hero class="mb-20 max-md:mt-[80px]" />
<Preview />
<ProductsShowcase class="lg:mb-12" />
<ProductsGrid
<div class="py-[5rem]">
<ProductsSlider
title="محصولات پرفروش"
:products="homeData!.products"
/>
</div>
<Categories class="mt-12" />
<Brands />
<LatestStories class="mb-20" />
Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 769 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB