From 1493f45268c6168aa06a25bd13bfdececf475828 Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Wed, 5 Feb 2025 02:02:11 +0330 Subject: [PATCH 01/10] added layout transition --- frontend/nuxt.config.ts | 47 +++++++++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 18 deletions(-) diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.ts index 4c86992..56daffe 100644 --- a/frontend/nuxt.config.ts +++ b/frontend/nuxt.config.ts @@ -3,10 +3,14 @@ export default defineNuxtConfig({ compatibilityDate: "2024-11-01", ssr: true, devtools: { enabled: true }, - css: ["~/assets/css/tailwind.css", "swiper/css", "animate.css/animate.min.css"], + css: [ + "~/assets/css/tailwind.css", + "swiper/css", + "animate.css/animate.min.css", + ], routeRules: { - "/products": { prerender: false, ssr: false } + "/products": { prerender: false, ssr: false }, }, app: { @@ -15,22 +19,29 @@ export default defineNuxtConfig({ "animate__animated animate__fadeIn animate__faster", leaveActiveClass: "animate__animated animate__fadeOut animate__faster", - mode: "out-in" - } + mode: "out-in", + }, + layoutTransition: { + enterActiveClass: + "animate__animated animate__fadeIn animate__faster", + leaveActiveClass: + "animate__animated animate__fadeOut animate__faster", + mode: "out-in", + }, }, postcss: { plugins: { "@tailwindcss/postcss": {}, - autoprefixer: {} - } + autoprefixer: {}, + }, }, components: [ { path: "~/components", - pathPrefix: false - } + pathPrefix: false, + }, ], icon: { @@ -38,9 +49,9 @@ export default defineNuxtConfig({ customCollections: [ { prefix: "ci", - dir: "./public/icons" - } - ] + dir: "./public/icons", + }, + ], }, modules: [ @@ -51,20 +62,20 @@ export default defineNuxtConfig({ "DM Sans": "100..900", Inter: "100..900", download: true, - inject: false - } - } + inject: false, + }, + }, ], "@nuxt/icon", "reka-ui/nuxt", "@vueuse/nuxt", "@formkit/auto-animate/nuxt", - '@nuxt/test-utils/module' + "@nuxt/test-utils/module", ], runtimeConfig: { public: { - API_BASE_URL: "https://api.heymlz.com" - } - } + API_BASE_URL: "https://api.heymlz.com", + }, + }, }); From 06ae9c9d7cf5ca581c91b8958a98826e353faead Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Wed, 5 Feb 2025 02:02:29 +0330 Subject: [PATCH 02/10] added cursor pointer for buttons --- frontend/assets/css/tailwind.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/assets/css/tailwind.css b/frontend/assets/css/tailwind.css index 409a942..c4265cd 100644 --- a/frontend/assets/css/tailwind.css +++ b/frontend/assets/css/tailwind.css @@ -266,3 +266,9 @@ padding-inline: 5rem; } } + +@layer { + button { + @apply cursor-pointer; + } +} From f280495eac7e01f2307ee63a81e1be5f44e11e90 Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Wed, 5 Feb 2025 02:02:41 +0330 Subject: [PATCH 03/10] added avatar component --- frontend/components/global/Avatar.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/components/global/Avatar.vue b/frontend/components/global/Avatar.vue index 1b2111e..5f787a0 100644 --- a/frontend/components/global/Avatar.vue +++ b/frontend/components/global/Avatar.vue @@ -13,18 +13,20 @@ defineProps(); From 0de5cf62ecd6c7f647eca4ffd84fabed8c2a5f11 Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Wed, 5 Feb 2025 02:02:51 +0330 Subject: [PATCH 04/10] added dropdown component --- frontend/components/global/Dropdown.vue | 55 +++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 frontend/components/global/Dropdown.vue diff --git a/frontend/components/global/Dropdown.vue b/frontend/components/global/Dropdown.vue new file mode 100644 index 0000000..47e101e --- /dev/null +++ b/frontend/components/global/Dropdown.vue @@ -0,0 +1,55 @@ + + + From ce7d7945dc0879c19431e3cacd3c709bf251a9d1 Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Wed, 5 Feb 2025 02:03:02 +0330 Subject: [PATCH 05/10] translated footer --- frontend/components/global/Footer.vue | 82 +++++++++++++++++---------- 1 file changed, 51 insertions(+), 31 deletions(-) diff --git a/frontend/components/global/Footer.vue b/frontend/components/global/Footer.vue index 9d36438..2dc5dfe 100644 --- a/frontend/components/global/Footer.vue +++ b/frontend/components/global/Footer.vue @@ -1,4 +1,8 @@ - +