Update UI components for the tour and Spanish translations for EB and conferences v2
This commit is contained in:
parent
7f92da2607
commit
5738c8d949
12
app/app.vue
12
app/app.vue
|
|
@ -144,11 +144,13 @@ const tourConfig = {
|
||||||
steps: steps,
|
steps: steps,
|
||||||
}
|
}
|
||||||
|
|
||||||
nuxtApp.hook('tour', (startIndex=0)=>{
|
nuxtApp.hook('tour', (startIndex = 0) => {
|
||||||
const { driver } = useDriver("onboarding");
|
const isMobile = window.innerWidth < 768;
|
||||||
const instance = driver( tourConfig )
|
if (!isMobile) {
|
||||||
instance.drive(startIndex)
|
const { driver } = useDriver("onboarding");
|
||||||
|
const instance = driver(tourConfig)
|
||||||
|
instance.drive(startIndex)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,7 @@ const links = computed(() => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'wizard',
|
id: 'wizard',
|
||||||
class: 'mt-4 border-t-2 border-gray-300 pt-4',
|
class: 'hidden sm:flex mt-4 border-t-2 border-gray-300 pt-4',
|
||||||
label: t('nav.tour'),
|
label: t('nav.tour'),
|
||||||
icon: 'ph-student',
|
icon: 'ph-student',
|
||||||
onSelect: () => { doTour() },
|
onSelect: () => { doTour() },
|
||||||
|
|
@ -96,7 +96,8 @@ const links = computed(() => {
|
||||||
|
|
||||||
] satisfies NavigationMenuItem[]
|
] satisfies NavigationMenuItem[]
|
||||||
|
|
||||||
function doTour(){
|
function doTour() {
|
||||||
|
|
||||||
nuxtApp.callHook('tour',0)
|
nuxtApp.callHook('tour',0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,13 +9,13 @@ const t = $i18n.t
|
||||||
const release = releases[0]
|
const release = releases[0]
|
||||||
|
|
||||||
const links = ref<ButtonProps[]>([
|
const links = ref<ButtonProps[]>([
|
||||||
{
|
// {
|
||||||
label: t('nav.tour'),
|
// label: t('nav.tour'),
|
||||||
icon: 'ph-student',
|
// icon: 'ph-student',
|
||||||
color: 'error',
|
// color: 'error',
|
||||||
class: 'hidden sm:flex',
|
// class: 'hidden sm:flex',
|
||||||
onClick: () => nuxtApp.callHook('tour',11)
|
// onClick: () => nuxtApp.callHook('tour',11)
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
label: t('nav.bible_studies'),
|
label: t('nav.bible_studies'),
|
||||||
to: `/${$i18n.locale.value}/estudios-biblicos`,
|
to: `/${$i18n.locale.value}/estudios-biblicos`,
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
"nav": {
|
"nav": {
|
||||||
"home": "Inicio",
|
"home": "Inicio",
|
||||||
"bible_studies": "Estudios Bíblicos",
|
"bible_studies": "Estudios Bíblicos",
|
||||||
"bible_studies_ts": "Estudios Bíblicos Typesense",
|
"bible_studies_ts": "Estudios Bíblicos",
|
||||||
"conferences_ts": "Conferencias Typesense",
|
"conferences_ts": "Conferencias",
|
||||||
"conferences": "Conferencias",
|
"conferences": "Conferencias",
|
||||||
"between_the_lines": "Entrelíneas",
|
"between_the_lines": "Entrelíneas",
|
||||||
"my_list": "Mi Listado",
|
"my_list": "Mi Listado",
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,9 @@ importers:
|
||||||
nuxt:
|
nuxt:
|
||||||
specifier: ^4.4.2
|
specifier: ^4.4.2
|
||||||
version: 4.4.5(@babel/core@7.29.0)(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.0))(@parcel/watcher@2.5.6)(@vue/compiler-sfc@3.5.34)(cac@6.7.14)(db0@0.3.4)(eslint@10.3.0(jiti@2.7.0))(ioredis@5.10.1)(lightningcss@1.32.0)(magicast@0.5.2)(optionator@0.9.4)(pinia@3.0.4(typescript@6.0.3)(vue@3.5.34(typescript@6.0.3)))(rollup-plugin-visualizer@7.0.1(rollup@4.60.3))(rollup@4.60.3)(srvx@0.11.15)(terser@5.47.1)(typescript@6.0.3)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.32.0)(terser@5.47.1)(yaml@2.9.0))(vue-tsc@3.2.8(typescript@6.0.3))(yaml@2.9.0)
|
version: 4.4.5(@babel/core@7.29.0)(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.0))(@parcel/watcher@2.5.6)(@vue/compiler-sfc@3.5.34)(cac@6.7.14)(db0@0.3.4)(eslint@10.3.0(jiti@2.7.0))(ioredis@5.10.1)(lightningcss@1.32.0)(magicast@0.5.2)(optionator@0.9.4)(pinia@3.0.4(typescript@6.0.3)(vue@3.5.34(typescript@6.0.3)))(rollup-plugin-visualizer@7.0.1(rollup@4.60.3))(rollup@4.60.3)(srvx@0.11.15)(terser@5.47.1)(typescript@6.0.3)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.32.0)(terser@5.47.1)(yaml@2.9.0))(vue-tsc@3.2.8(typescript@6.0.3))(yaml@2.9.0)
|
||||||
|
nuxt-driver.js:
|
||||||
|
specifier: ^0.1.1
|
||||||
|
version: 0.1.1(magicast@0.5.2)
|
||||||
pinia:
|
pinia:
|
||||||
specifier: ^3.0.4
|
specifier: ^3.0.4
|
||||||
version: 3.0.4(typescript@6.0.3)(vue@3.5.34(typescript@6.0.3))
|
version: 3.0.4(typescript@6.0.3)(vue@3.5.34(typescript@6.0.3))
|
||||||
|
|
@ -3689,6 +3692,9 @@ packages:
|
||||||
resolution: {integrity: sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==}
|
resolution: {integrity: sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
|
|
||||||
|
driver.js@1.4.0:
|
||||||
|
resolution: {integrity: sha512-Gm64jm6PmcU+si21sQhBrTAM1JvUrR0QhNmjkprNLxohOBzul9+pNHXgQaT9lW84gwg9GMLB3NZGuGolsz5uew==}
|
||||||
|
|
||||||
dunder-proto@1.0.1:
|
dunder-proto@1.0.1:
|
||||||
resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
|
resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
|
||||||
engines: {node: '>= 0.4'}
|
engines: {node: '>= 0.4'}
|
||||||
|
|
@ -4877,6 +4883,9 @@ packages:
|
||||||
nth-check@2.1.1:
|
nth-check@2.1.1:
|
||||||
resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==}
|
resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==}
|
||||||
|
|
||||||
|
nuxt-driver.js@0.1.1:
|
||||||
|
resolution: {integrity: sha512-K8SJBzLD8oyu3mhp2vv6F6/SUEaXSp067iGLCPDiMGh4w86VdDArapPmyylH9ZvYq/aeltVPbS6S/uOuVtAXHw==}
|
||||||
|
|
||||||
nuxt@4.4.5:
|
nuxt@4.4.5:
|
||||||
resolution: {integrity: sha512-MwTf3wyaEIm1U9/T1VKpqg7rGhhrn5Cx2ZS40lwo8GxsiY9xE7UOj5Cg0eAI0fSbJzyXlzdxspytgqWsgL+nIA==}
|
resolution: {integrity: sha512-MwTf3wyaEIm1U9/T1VKpqg7rGhhrn5Cx2ZS40lwo8GxsiY9xE7UOj5Cg0eAI0fSbJzyXlzdxspytgqWsgL+nIA==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
|
|
@ -10023,6 +10032,8 @@ snapshots:
|
||||||
|
|
||||||
dotenv@17.4.2: {}
|
dotenv@17.4.2: {}
|
||||||
|
|
||||||
|
driver.js@1.4.0: {}
|
||||||
|
|
||||||
dunder-proto@1.0.1:
|
dunder-proto@1.0.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
call-bind-apply-helpers: 1.0.2
|
call-bind-apply-helpers: 1.0.2
|
||||||
|
|
@ -11360,6 +11371,13 @@ snapshots:
|
||||||
dependencies:
|
dependencies:
|
||||||
boolbase: 1.0.0
|
boolbase: 1.0.0
|
||||||
|
|
||||||
|
nuxt-driver.js@0.1.1(magicast@0.5.2):
|
||||||
|
dependencies:
|
||||||
|
'@nuxt/kit': 4.4.5(magicast@0.5.2)
|
||||||
|
driver.js: 1.4.0
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- magicast
|
||||||
|
|
||||||
nuxt@4.4.5(@babel/core@7.29.0)(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.0))(@parcel/watcher@2.5.6)(@vue/compiler-sfc@3.5.34)(cac@6.7.14)(db0@0.3.4)(eslint@10.3.0(jiti@2.7.0))(ioredis@5.10.1)(lightningcss@1.32.0)(magicast@0.5.2)(optionator@0.9.4)(pinia@3.0.4(typescript@6.0.3)(vue@3.5.34(typescript@6.0.3)))(rollup-plugin-visualizer@7.0.1(rollup@4.60.3))(rollup@4.60.3)(srvx@0.11.15)(terser@5.47.1)(typescript@6.0.3)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.32.0)(terser@5.47.1)(yaml@2.9.0))(vue-tsc@3.2.8(typescript@6.0.3))(yaml@2.9.0):
|
nuxt@4.4.5(@babel/core@7.29.0)(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.0))(@parcel/watcher@2.5.6)(@vue/compiler-sfc@3.5.34)(cac@6.7.14)(db0@0.3.4)(eslint@10.3.0(jiti@2.7.0))(ioredis@5.10.1)(lightningcss@1.32.0)(magicast@0.5.2)(optionator@0.9.4)(pinia@3.0.4(typescript@6.0.3)(vue@3.5.34(typescript@6.0.3)))(rollup-plugin-visualizer@7.0.1(rollup@4.60.3))(rollup@4.60.3)(srvx@0.11.15)(terser@5.47.1)(typescript@6.0.3)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.32.0)(terser@5.47.1)(yaml@2.9.0))(vue-tsc@3.2.8(typescript@6.0.3))(yaml@2.9.0):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@dxup/nuxt': 0.4.1(magicast@0.5.2)(typescript@6.0.3)
|
'@dxup/nuxt': 0.4.1(magicast@0.5.2)(typescript@6.0.3)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue