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> <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 <LightRays
rays-color="#007bff" rays-color="#007bff"
:rays-speed="1.75" :rays-speed="1.75"
@@ -21,7 +21,7 @@
</ClientOnly> </ClientOnly>
<div class="flex flex-col gap-4 items-center justify-center relative z-20"> <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 <img
src="/img/heymlz/heymlz-small-idle.gif" src="/img/heymlz/heymlz-small-idle.gif"
loading="lazy" loading="lazy"
@@ -46,7 +46,7 @@
<div class="flex items-center gap-4 mt-6 max-lg:justify-center"> <div class="flex items-center gap-4 mt-6 max-lg:justify-center">
<NuxtLink <NuxtLink
to="#" to="#"
class="flex-center size-[1.5rem]" class="flex-center size-6"
> >
<Icon <Icon
name="ci:instagram" name="ci:instagram"
@@ -56,7 +56,7 @@
</NuxtLink> </NuxtLink>
<NuxtLink <NuxtLink
to="#" to="#"
class="flex-center size-[1.5rem]" class="flex-center size-6"
> >
<Icon <Icon
name="ci:facebook" name="ci:facebook"
@@ -66,7 +66,7 @@
</NuxtLink> </NuxtLink>
<NuxtLink <NuxtLink
to="#" to="#"
class="flex-center size-[1.5rem]" class="flex-center size-6"
> >
<Icon <Icon
name="ci:tiktok" name="ci:tiktok"
@@ -76,7 +76,7 @@
</NuxtLink> </NuxtLink>
<NuxtLink <NuxtLink
to="#" to="#"
class="flex-center size-[1.5rem]" class="flex-center size-6"
> >
<Icon <Icon
name="ci:youtube" name="ci:youtube"
+18 -13
View File
@@ -38,7 +38,7 @@ watch(
() => route.fullPath, () => route.fullPath,
() => { () => {
closeSideDrawer(); closeSideDrawer();
} },
); );
</script> </script>
@@ -88,14 +88,17 @@ watch(
v-else v-else
to="/signin" to="/signin"
class="w-full flex items-center justify-between gap-4 p-2 transition-all" 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="flex items-center gap-3">
<div class="size-5 flex-center"> <div class="size-6 flex-center">
<Icon <!-- <Icon
name="ci:profile" name="ci:profile"
size="18" size="18"
class="**:stroke-black" class="**:stroke-black"
/> -->
<NuxtImg
src="/img/mobile-drawer/profile.gif"
/> />
</div> </div>
@@ -132,14 +135,12 @@ watch(
<NuxtLink <NuxtLink
to="/cart" to="/cart"
class="w-full flex items-center justify-between gap-4 p-2 transition-all" 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="flex items-center gap-3">
<div class="size-5 flex-center"> <div class="size-6 flex-center">
<Icon <NuxtImg
name="ci:cart" src="/img/mobile-drawer/cart.gif"
size="19"
class="**:stroke-black"
/> />
</div> </div>
<span class="text-xs"> سبد خرید </span> <span class="text-xs"> سبد خرید </span>
@@ -158,14 +159,18 @@ watch(
:key="index" :key="index"
:to="link.path" :to="link.path"
class="w-full flex items-center justify-between gap-3 p-2 transition-all" 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="flex items-center gap-3">
<div class="size-5 flex-center"> <div class="size-6 flex-center">
<Icon <!-- <Icon
:name="link.icon" :name="link.icon"
size="18" size="18"
class="**:stroke-black" class="**:stroke-black"
/> -->
<NuxtImg
:src="link.icon"
class="drawer-item-icon"
/> />
</div> </div>
<span class="text-xs"> {{ link.title }}</span> <span class="text-xs"> {{ link.title }}</span>
+4 -4
View File
@@ -109,22 +109,22 @@ export const NAV_LINKS = [
{ {
title: "خانه", title: "خانه",
path: "/", path: "/",
icon: "ci:home", icon: "/img/mobile-drawer/home.gif",
}, },
{ {
title: "محصولات", title: "محصولات",
path: "/products", path: "/products",
icon: "ci:airdrop", icon: "/img/mobile-drawer/products.gif",
}, },
{ {
title: "دسته بندی ها", title: "دسته بندی ها",
path: "/category", path: "/category",
icon: "ci:delivery-boxes", icon: "/img/mobile-drawer/category.gif",
}, },
{ {
title: "ارتباط با ما", title: "ارتباط با ما",
path: "/contact-us", 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]" /> <Hero class="mb-20 max-md:mt-[80px]" />
<Preview /> <Preview />
<ProductsShowcase class="lg:mb-12" /> <ProductsShowcase class="lg:mb-12" />
<ProductsGrid <div class="py-[5rem]">
<ProductsSlider
title="محصولات پرفروش" title="محصولات پرفروش"
:products="homeData!.products" :products="homeData!.products"
/> />
</div>
<Categories class="mt-12" /> <Categories class="mt-12" />
<Brands /> <Brands />
<LatestStories class="mb-20" /> <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