From 0f5b2627ec7debc7b5a5765d932040fe9138ad8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaume=20Sol=C3=ADs?= Date: Tue, 19 Dec 2023 11:52:54 +0100 Subject: [PATCH] mas cambios --- src/components/icons/IconArrowRightOne.vue | 14 + src/components/icons/credit-flags/IconAny.vue | 7 + .../icons/credit-flags/IconExprex.vue | 54 ++ .../icons/credit-flags/IconVisa.vue | 28 + src/components/ui/Modal.vue | 7 +- src/components/ui/QuestionForm.vue | 247 ++++++++ src/layouts/CategoryLayout.vue | 2 +- src/layouts/CheckoutLayout.vue | 13 +- src/layouts/DefaultLayout.vue | 2 +- src/layouts/HomeLayout.vue | 4 +- src/pages/CategoryPage.vue | 89 ++- src/pages/CheckoutPage.vue | 552 ++++++++++++------ src/pages/HomePage.vue | 25 +- src/router/routes.ts | 11 +- src/stores/forms.ts | 31 + src/stores/language.ts | 7 + 16 files changed, 874 insertions(+), 219 deletions(-) create mode 100644 src/components/icons/IconArrowRightOne.vue create mode 100644 src/components/icons/credit-flags/IconAny.vue create mode 100644 src/components/icons/credit-flags/IconExprex.vue create mode 100644 src/components/icons/credit-flags/IconVisa.vue create mode 100644 src/components/ui/QuestionForm.vue create mode 100644 src/stores/forms.ts create mode 100644 src/stores/language.ts diff --git a/src/components/icons/IconArrowRightOne.vue b/src/components/icons/IconArrowRightOne.vue new file mode 100644 index 0000000..6bb8242 --- /dev/null +++ b/src/components/icons/IconArrowRightOne.vue @@ -0,0 +1,14 @@ + diff --git a/src/components/icons/credit-flags/IconAny.vue b/src/components/icons/credit-flags/IconAny.vue new file mode 100644 index 0000000..d6cf52e --- /dev/null +++ b/src/components/icons/credit-flags/IconAny.vue @@ -0,0 +1,7 @@ + diff --git a/src/components/icons/credit-flags/IconExprex.vue b/src/components/icons/credit-flags/IconExprex.vue new file mode 100644 index 0000000..68a900e --- /dev/null +++ b/src/components/icons/credit-flags/IconExprex.vue @@ -0,0 +1,54 @@ + diff --git a/src/components/icons/credit-flags/IconVisa.vue b/src/components/icons/credit-flags/IconVisa.vue new file mode 100644 index 0000000..fa598f3 --- /dev/null +++ b/src/components/icons/credit-flags/IconVisa.vue @@ -0,0 +1,28 @@ + diff --git a/src/components/ui/Modal.vue b/src/components/ui/Modal.vue index c046c8b..68ef92b 100644 --- a/src/components/ui/Modal.vue +++ b/src/components/ui/Modal.vue @@ -5,7 +5,7 @@ - + @@ -195,6 +195,7 @@ export default defineComponent({ flex-wrap: wrap; justify-content: space-between; position: relative; + gap: 60px; &::after { content: ''; position: absolute; @@ -207,6 +208,10 @@ export default defineComponent({ transform: translateX(-50%); } + & .custom-input-el { + flex: 1 0 100px; + } + @media only screen and (max-width: $med-md) { flex-direction: column; justify-content: center; diff --git a/src/components/ui/QuestionForm.vue b/src/components/ui/QuestionForm.vue new file mode 100644 index 0000000..3bef98f --- /dev/null +++ b/src/components/ui/QuestionForm.vue @@ -0,0 +1,247 @@ + + + + + diff --git a/src/layouts/CategoryLayout.vue b/src/layouts/CategoryLayout.vue index 22ec4e1..019441a 100644 --- a/src/layouts/CategoryLayout.vue +++ b/src/layouts/CategoryLayout.vue @@ -5,7 +5,7 @@ - + diff --git a/src/layouts/CheckoutLayout.vue b/src/layouts/CheckoutLayout.vue index ed34540..2737a12 100644 --- a/src/layouts/CheckoutLayout.vue +++ b/src/layouts/CheckoutLayout.vue @@ -5,10 +5,12 @@ - + + + @@ -21,13 +23,20 @@ import { defineComponent } from 'vue'; import { storeToRefs } from 'pinia'; import FooterComponent from 'src/components/footer/FooterComponent.vue'; import HeaderSecondary from 'src/components/header/HeaderSecondary.vue'; +import DudasSection from 'src/components/sections/DudasSection.vue'; import QuestionSection from 'src/components/sections/QuestionSection.vue'; import MobileNav from 'src/components/ui/MobileNav.vue'; import { useMobileStore } from 'src/stores/mobileNav'; export default defineComponent({ name: 'ProductLayout', - components: { HeaderSecondary, FooterComponent, QuestionSection, MobileNav }, + components: { + HeaderSecondary, + FooterComponent, + QuestionSection, + MobileNav, + DudasSection, + }, setup() { const mobileStore = useMobileStore(); const { isOpenNav } = storeToRefs(mobileStore); diff --git a/src/layouts/DefaultLayout.vue b/src/layouts/DefaultLayout.vue index 2988e99..cdc4575 100644 --- a/src/layouts/DefaultLayout.vue +++ b/src/layouts/DefaultLayout.vue @@ -5,7 +5,7 @@ - + diff --git a/src/layouts/HomeLayout.vue b/src/layouts/HomeLayout.vue index d9a80e8..cf46894 100644 --- a/src/layouts/HomeLayout.vue +++ b/src/layouts/HomeLayout.vue @@ -5,7 +5,7 @@ - + @@ -18,9 +18,9 @@ diff --git a/src/pages/CheckoutPage.vue b/src/pages/CheckoutPage.vue index 5c84fa8..3cec1dc 100644 --- a/src/pages/CheckoutPage.vue +++ b/src/pages/CheckoutPage.vue @@ -1,6 +1,6 @@ -