diff --git a/frontend/assets/css/fonts/morabba.css b/frontend/assets/css/fonts/morabba.css new file mode 100644 index 0000000..d609e04 --- /dev/null +++ b/frontend/assets/css/fonts/morabba.css @@ -0,0 +1,73 @@ +@layer base { + @font-face { + font-family: "Morabba"; + src: url("/fonts/Morabba/IRANYekanX-UltraLight.woff2"); + font-weight: 200; + font-style: normal; + font-display: swap; + } + + @font-face { + font-family: "Morabba"; + src: url("/fonts/Morabba/Morabba-Light.woff2"); + font-weight: 300; + font-style: normal; + font-display: swap; + } + + @font-face { + font-family: "Morabba"; + src: url("/fonts/Morabba/Morabba-Regular.woff2"); + font-weight: 400; + font-style: normal; + font-display: swap; + } + + @font-face { + font-family: "Morabba"; + src: url("/fonts/Morabba/Morabba-Medium.woff2"); + font-weight: 500; + font-style: normal; + font-display: swap; + } + + @font-face { + font-family: "Morabba"; + src: url("/fonts/Morabba/Morabba-SemiBold.woff2"); + font-weight: 600; + font-style: normal; + font-display: swap; + } + + @font-face { + font-family: "Morabba"; + src: url("/fonts/Morabba/Morabba-Bold.woff2"); + font-weight: 700; + font-style: normal; + font-display: swap; + } + + @font-face { + font-family: "Morabba"; + src: url("/fonts/Morabba/Morabba-ExtraBold.woff2"); + font-weight: 800; + font-style: normal; + font-display: swap; + } + + @font-face { + font-family: "Morabba"; + src: url("/fonts/Morabba/Morabba-Black.woff2"); + font-weight: 900; + font-style: normal; + font-display: swap; + } + + @font-face { + font-family: "Morabba"; + src: url("/fonts/Morabba/Morabba-Heavy.woff2"); + font-weight: 1000; + font-style: normal; + font-display: swap; + } +} \ No newline at end of file diff --git a/frontend/assets/css/fonts/yekan-bakh.css b/frontend/assets/css/fonts/yekan-bakh.css new file mode 100644 index 0000000..4705c50 --- /dev/null +++ b/frontend/assets/css/fonts/yekan-bakh.css @@ -0,0 +1,41 @@ +@layer base { + @font-face { + font-family: "YekanBakh"; + src: url("/fonts/YekanBakh/YekanBakh-Thin.woff"); + font-weight: 100; + font-style: normal; + font-display: swap; + } + + @font-face { + font-family: "YekanBakh"; + src: url("/fonts/YekanBakh/YekanBakh-Light.woff"); + font-weight: 300; + font-style: normal; + font-display: swap; + } + + @font-face { + font-family: "YekanBakh"; + src: url("/fonts/YekanBakh/YekanBakh-Regular.woff"); + font-weight: 400; + font-style: normal; + font-display: swap; + } + + @font-face { + font-family: "YekanBakh"; + src: url("/fonts/YekanBakh/YekanBakh-SemiBold.woff"); + font-weight: 600; + font-style: normal; + font-display: swap; + } + + @font-face { + font-family: "YekanBakh"; + src: url("/fonts/YekanBakh/YekanBakh-Bold.woff"); + font-weight: 700; + font-style: normal; + font-display: swap; + } +} \ No newline at end of file diff --git a/frontend/assets/css/other.utils.css b/frontend/assets/css/other.utils.css index a34b0b2..6302eb2 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: "ss02"; - -webkit-font-feature-settings: "ss02"; - font-feature-settings: "ss02"; + -moz-font-feature-settings: "ss07"; + -webkit-font-feature-settings: "ss07"; + font-feature-settings: "ss07"; } @utility text-gradient { diff --git a/frontend/assets/css/tailwind.css b/frontend/assets/css/tailwind.css index 66e087e..e3d4052 100644 --- a/frontend/assets/css/tailwind.css +++ b/frontend/assets/css/tailwind.css @@ -4,7 +4,9 @@ @import "./typo.utils.css"; @import "./button.comp.css"; @import "./input.comp.css"; -@import "./fonts/iran-yekan-x.css" +@import "./fonts/iran-yekan-x.css"; +@import "./fonts/morabba.css"; +@import "./fonts/yekan-bakh.css"; @theme { /* COLORS */ @@ -109,19 +111,21 @@ --font-inter: "Inter", sans-serif; --font-dmsans: "DM Sans", sans-serif; --font-iran-yekan-x: "IRANYekanXVF", "sans-serif"; + --font-yekan-bakh: "YekanBakh", "sans-serif"; + --font-morabba: "Morabba", "sans-serif"; /* BREAKPOINTS */ --breakpoint-3xl: 1700px; --breakpoint-2xs: 400px; --breakpoint-xs: 480px; - /* ANIMATIONS */ - --animate-marquee: marquee 3s linear infinite; + --animate-marquee: marquee 25s linear infinite; + --animate-marquee-reverse: marquee 25s linear infinite reverse; @keyframes marquee { to { - transform: translateY(-50%); + transform: translateX(50%); } } } @@ -129,8 +133,9 @@ /* CONTAINER */ @utility container { + @apply mx-auto; padding-inline: 3rem; @screen xl { padding-inline: 5rem; } -} \ No newline at end of file +} diff --git a/frontend/assets/css/typo.utils.css b/frontend/assets/css/typo.utils.css index a8fa5c7..43e281a 100644 --- a/frontend/assets/css/typo.utils.css +++ b/frontend/assets/css/typo.utils.css @@ -1,35 +1,35 @@ /* TYPO HERO */ @utility typo-hero-1 { - @apply text-[96px] leading-[96px] font-bold ; + @apply text-[96px] leading-[96px] font-semibold ; } @utility typo-hero-2 { - @apply text-[72px] leading-[72px] font-bold ; + @apply text-[72px] leading-[72px] font-semibold ; } /* TYPE HEADING */ @utility typo-h-1 { - @apply text-[64px] leading-[72px] font-bold ; + @apply text-[64px] leading-[72px] font-semibold ; } @utility typo-h-2 { - @apply text-[56px] leading-[64px] font-bold ; + @apply text-[56px] leading-[64px] font-semibold ; } @utility typo-h-3 { - @apply text-[48px] leading-[56px] font-bold ; + @apply text-[48px] leading-[56px] font-semibold ; } @utility typo-h-4 { - @apply text-[40px] leading-[52px] font-bold ; + @apply text-[40px] leading-[52px] font-semibold ; } @utility typo-h-5 { - @apply text-[32px] leading-[40px] font-bold ; + @apply text-[32px] leading-[40px] font-semibold ; } @utility typo-h-6 { - @apply text-[24px] leading-[32px] font-bold ; + @apply text-[24px] leading-[32px] font-semibold ; } /* TYPE SUBHEADING */ diff --git a/frontend/components/global/BlogPost.vue b/frontend/components/global/BlogPost.vue new file mode 100644 index 0000000..7c43a15 --- /dev/null +++ b/frontend/components/global/BlogPost.vue @@ -0,0 +1,117 @@ + + + \ No newline at end of file diff --git a/frontend/components/global/Brands.vue b/frontend/components/global/Brands.vue new file mode 100644 index 0000000..5fa82ef --- /dev/null +++ b/frontend/components/global/Brands.vue @@ -0,0 +1,73 @@ + + + \ No newline at end of file diff --git a/frontend/components/global/CategoryCard.vue b/frontend/components/global/CategoryCard.vue new file mode 100644 index 0000000..f62fa67 --- /dev/null +++ b/frontend/components/global/CategoryCard.vue @@ -0,0 +1,47 @@ + + + \ No newline at end of file diff --git a/frontend/components/global/Header.vue b/frontend/components/global/Header.vue index c5c0bd9..80db796 100644 --- a/frontend/components/global/Header.vue +++ b/frontend/components/global/Header.vue @@ -35,7 +35,7 @@ const nav_links = ref([ \ No newline at end of file diff --git a/frontend/components/global/product-detail/ProductsSlider.vue b/frontend/components/global/product-detail/ProductsSlider.vue new file mode 100644 index 0000000..3ad0d83 --- /dev/null +++ b/frontend/components/global/product-detail/ProductsSlider.vue @@ -0,0 +1,96 @@ + + + + + diff --git a/frontend/components/global/product-detail/Rating.vue b/frontend/components/global/product-detail/Rating.vue index 76ae042..ac204dd 100644 --- a/frontend/components/global/product-detail/Rating.vue +++ b/frontend/components/global/product-detail/Rating.vue @@ -4,9 +4,6 @@ \ No newline at end of file diff --git a/frontend/components/global/product-detail/RemainQuantity.vue b/frontend/components/global/product-detail/RemainQuantity.vue index 243a894..63318be 100644 --- a/frontend/components/global/product-detail/RemainQuantity.vue +++ b/frontend/components/global/product-detail/RemainQuantity.vue @@ -3,6 +3,7 @@ // types type Props = { + maxQuantity: number; quantity: number; } @@ -13,16 +14,19 @@ defineProps(); \ No newline at end of file diff --git a/frontend/components/global/product-detail/Share.vue b/frontend/components/global/product-detail/Share.vue index aa5afec..09f0a3d 100644 --- a/frontend/components/global/product-detail/Share.vue +++ b/frontend/components/global/product-detail/Share.vue @@ -1,7 +1,7 @@ diff --git a/frontend/components/global/product/StickyCard.vue b/frontend/components/global/product/StickyCard.vue new file mode 100644 index 0000000..1a183ae --- /dev/null +++ b/frontend/components/global/product/StickyCard.vue @@ -0,0 +1,35 @@ + + + \ No newline at end of file diff --git a/frontend/components/home/Categories.vue b/frontend/components/home/Categories.vue new file mode 100644 index 0000000..13b07b3 --- /dev/null +++ b/frontend/components/home/Categories.vue @@ -0,0 +1,96 @@ + + + \ No newline at end of file diff --git a/frontend/components/home/Hero.vue b/frontend/components/home/Hero.vue new file mode 100644 index 0000000..aa89517 --- /dev/null +++ b/frontend/components/home/Hero.vue @@ -0,0 +1,121 @@ + + + \ No newline at end of file diff --git a/frontend/components/home/LatestStories.vue b/frontend/components/home/LatestStories.vue new file mode 100644 index 0000000..616251d --- /dev/null +++ b/frontend/components/home/LatestStories.vue @@ -0,0 +1,65 @@ + + + \ No newline at end of file diff --git a/frontend/components/home/MostRecentComments.vue b/frontend/components/home/MostRecentComments.vue new file mode 100644 index 0000000..fce34f6 --- /dev/null +++ b/frontend/components/home/MostRecentComments.vue @@ -0,0 +1,78 @@ + + + \ No newline at end of file diff --git a/frontend/components/home/Preview.vue b/frontend/components/home/Preview.vue new file mode 100644 index 0000000..d942172 --- /dev/null +++ b/frontend/components/home/Preview.vue @@ -0,0 +1,93 @@ + + + + + \ No newline at end of file diff --git a/frontend/components/product/Comments.vue b/frontend/components/product/Comments.vue new file mode 100644 index 0000000..15c2611 --- /dev/null +++ b/frontend/components/product/Comments.vue @@ -0,0 +1,29 @@ + + + \ No newline at end of file diff --git a/frontend/components/product/ProductHero.vue b/frontend/components/product/ProductHero.vue new file mode 100644 index 0000000..f9e77f8 --- /dev/null +++ b/frontend/components/product/ProductHero.vue @@ -0,0 +1,68 @@ + + + diff --git a/frontend/components/product/ProductView.vue b/frontend/components/product/ProductView.vue deleted file mode 100644 index 9aa13ab..0000000 --- a/frontend/components/product/ProductView.vue +++ /dev/null @@ -1,55 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/components/product/Video.vue b/frontend/components/product/Video.vue new file mode 100644 index 0000000..82f77c4 --- /dev/null +++ b/frontend/components/product/Video.vue @@ -0,0 +1,15 @@ + + + diff --git a/frontend/components/Button.vue b/frontend/components/ui/Button.vue similarity index 100% rename from frontend/components/Button.vue rename to frontend/components/ui/Button.vue diff --git a/frontend/components/Input.vue b/frontend/components/ui/Input.vue similarity index 96% rename from frontend/components/Input.vue rename to frontend/components/ui/Input.vue index 756718d..6a69c0f 100644 --- a/frontend/components/Input.vue +++ b/frontend/components/ui/Input.vue @@ -1,6 +1,6 @@ diff --git a/frontend/public/fonts/Morabba/Morabba-Black.woff2 b/frontend/public/fonts/Morabba/Morabba-Black.woff2 new file mode 100644 index 0000000..9046b14 Binary files /dev/null and b/frontend/public/fonts/Morabba/Morabba-Black.woff2 differ diff --git a/frontend/public/fonts/Morabba/Morabba-Bold.woff2 b/frontend/public/fonts/Morabba/Morabba-Bold.woff2 new file mode 100644 index 0000000..5b4e175 Binary files /dev/null and b/frontend/public/fonts/Morabba/Morabba-Bold.woff2 differ diff --git a/frontend/public/fonts/Morabba/Morabba-ExtraBold.woff2 b/frontend/public/fonts/Morabba/Morabba-ExtraBold.woff2 new file mode 100644 index 0000000..d91c75a Binary files /dev/null and b/frontend/public/fonts/Morabba/Morabba-ExtraBold.woff2 differ diff --git a/frontend/public/fonts/Morabba/Morabba-Heavy.woff2 b/frontend/public/fonts/Morabba/Morabba-Heavy.woff2 new file mode 100644 index 0000000..bd73f5e Binary files /dev/null and b/frontend/public/fonts/Morabba/Morabba-Heavy.woff2 differ diff --git a/frontend/public/fonts/Morabba/Morabba-Light.woff2 b/frontend/public/fonts/Morabba/Morabba-Light.woff2 new file mode 100644 index 0000000..1660ac3 Binary files /dev/null and b/frontend/public/fonts/Morabba/Morabba-Light.woff2 differ diff --git a/frontend/public/fonts/Morabba/Morabba-Medium.woff2 b/frontend/public/fonts/Morabba/Morabba-Medium.woff2 new file mode 100644 index 0000000..c7d7c62 Binary files /dev/null and b/frontend/public/fonts/Morabba/Morabba-Medium.woff2 differ diff --git a/frontend/public/fonts/Morabba/Morabba-Regular.woff2 b/frontend/public/fonts/Morabba/Morabba-Regular.woff2 new file mode 100644 index 0000000..ba8a057 Binary files /dev/null and b/frontend/public/fonts/Morabba/Morabba-Regular.woff2 differ diff --git a/frontend/public/fonts/Morabba/Morabba-SemiBold.woff2 b/frontend/public/fonts/Morabba/Morabba-SemiBold.woff2 new file mode 100644 index 0000000..eef92c1 Binary files /dev/null and b/frontend/public/fonts/Morabba/Morabba-SemiBold.woff2 differ diff --git a/frontend/public/fonts/Morabba/Morabba-UltraLight.woff2 b/frontend/public/fonts/Morabba/Morabba-UltraLight.woff2 new file mode 100644 index 0000000..dae5d24 Binary files /dev/null and b/frontend/public/fonts/Morabba/Morabba-UltraLight.woff2 differ diff --git a/frontend/public/fonts/YekanBakh/YekanBakh-Bold.woff b/frontend/public/fonts/YekanBakh/YekanBakh-Bold.woff new file mode 100644 index 0000000..a5dcf87 Binary files /dev/null and b/frontend/public/fonts/YekanBakh/YekanBakh-Bold.woff differ diff --git a/frontend/public/fonts/YekanBakh/YekanBakh-Light.woff b/frontend/public/fonts/YekanBakh/YekanBakh-Light.woff new file mode 100644 index 0000000..0e83072 Binary files /dev/null and b/frontend/public/fonts/YekanBakh/YekanBakh-Light.woff differ diff --git a/frontend/public/fonts/YekanBakh/YekanBakh-Regular.woff b/frontend/public/fonts/YekanBakh/YekanBakh-Regular.woff new file mode 100644 index 0000000..bf5aab7 Binary files /dev/null and b/frontend/public/fonts/YekanBakh/YekanBakh-Regular.woff differ diff --git a/frontend/public/fonts/YekanBakh/YekanBakh-SemiBold.woff b/frontend/public/fonts/YekanBakh/YekanBakh-SemiBold.woff new file mode 100644 index 0000000..746a3d0 Binary files /dev/null and b/frontend/public/fonts/YekanBakh/YekanBakh-SemiBold.woff differ diff --git a/frontend/public/fonts/YekanBakh/YekanBakh-Thin.woff b/frontend/public/fonts/YekanBakh/YekanBakh-Thin.woff new file mode 100644 index 0000000..72fcc39 Binary files /dev/null and b/frontend/public/fonts/YekanBakh/YekanBakh-Thin.woff differ diff --git a/frontend/public/img/hero-bg.jpg b/frontend/public/img/hero-bg.jpg new file mode 100644 index 0000000..c7d7fb7 Binary files /dev/null and b/frontend/public/img/hero-bg.jpg differ