diff --git a/src/css/app.scss b/src/css/app.scss index 5ed3280c..90a9aa79 100644 --- a/src/css/app.scss +++ b/src/css/app.scss @@ -1,8 +1,8 @@ // app global css in SCSS form @font-face { - font-family: Poppins; - src: url(./poppins.ttf) format('truetype'); + font-family: Poppins; + src: url(./poppins.ttf) format('truetype'); } @font-face { font-family: 'Open Sans'; @@ -30,6 +30,9 @@ a.link { border-radius: 0.6em !important; box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); } +.q-table__container { + border-radius: 0.6em !important; +} .q-page-sticky.fixed-bottom-right { margin: 18px; } diff --git a/src/i18n/es-ES/index.js b/src/i18n/es-ES/index.js index a319895b..a2f3350a 100644 --- a/src/i18n/es-ES/index.js +++ b/src/i18n/es-ES/index.js @@ -12,6 +12,15 @@ export default { today: 'Hoy', yesterday: 'Ayer', tomorrow: 'Mañana', + language: 'Idioma', + langs: { + en: 'Inglés', + es: 'Español', + ca: 'Catalán', + fr: 'Francés', + mn: 'Ruso', + pt: 'Portugés' + }, date: { days: [ 'Domingo', @@ -76,7 +85,7 @@ export default { remindMe: 'Recuérdame', logInAsGuest: 'Entrar como invitado', logIn: 'Iniciar sesión', - loginMail: 'info@verdnatura.es', + loginMail: "{'info'}{'@'}{'verdnatura.es'}", loginPhone: '+34 963 242 100', haveForgottenPassword: '¿Has olvidado tu contraseña?', notACustomerYet: '¿Todavía no eres cliente?', diff --git a/src/pages/Agencies/PackagesView.vue b/src/pages/Agencies/PackagesView.vue new file mode 100644 index 00000000..d9af6e7f --- /dev/null +++ b/src/pages/Agencies/PackagesView.vue @@ -0,0 +1,108 @@ + + + + + + + +en-US: + agency: Agency + bundles: Bundles + expeditions: Exps. + prevision: Prev. +es-ES: + agency: Agencia + bundles: Bultos + expeditions: Exps. + prevision: Prev. +ca-ES: + agency: Agència + bundles: Paquets + expeditions: Exps. + prevision: Prev. +fr-FR: + agency: Agence + bundles: Cartons + expeditions: Exps. + prevision: Prev. +pt-PT: + agency: Agência + bundles: Bultos + expeditions: Exps. + prevision: Prev. + diff --git a/src/pages/Login/LoginView.vue b/src/pages/Login/LoginView.vue index 13fd981e..4211db3a 100644 --- a/src/pages/Login/LoginView.vue +++ b/src/pages/Login/LoginView.vue @@ -15,6 +15,7 @@ const password = ref(null); const remember = ref(false); const showPwd = ref(false); +const langs = ['en', 'es', 'ca', 'fr', 'mn', 'pt']; onMounted(() => { if (route.query.emailConfirmed !== undefined) { notify({ @@ -56,12 +57,31 @@ async function onLogin() { /> - + /> + + + + {{ $t(`langs.${lang}`) }} + + + +
import('pages/Ecomerce/Catalog.vue') }, + { + name: 'packages', + path: '/agencies/packages', + component: () => import('src/pages/Agencies/PackagesView.vue') + }, { name: 'Account', path: '/account/conf',