diff --git a/.htaccess b/.htaccess old mode 100644 new mode 100755 diff --git a/boot b/boot old mode 100644 new mode 100755 diff --git a/package.json b/package.json index 6f8cfa8..3e099f7 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "ayni", - "version": "0.0.2", + "name": "comunitanuovomondo", + "version": "0.1.1", "private": true, "keywords": [ "", diff --git a/prima.html b/prima.html deleted file mode 100644 index 8430a1e..0000000 --- a/prima.html +++ /dev/null @@ -1,324 +0,0 @@ -

TUTTI A BORDO: ISTRUZIONI PER L’USO!

Ora che la tua Nave sta per partire, vediamo di capire quali sono le azioni pratiche da fare in base ai differenti ruoli che occuperai. -

Prima di tutto, quando sei sulla banchina in attesa dell’imbarco (cioè ti sei iscritto sul SITO AYNI, - completando TUTTI i 7 - passi), resta connesso con la CHAT AYNI BIBLIO (dove - vengono pubblicate le NAVI)presta attenzione ai nomi che compariranno nelle Navi, sia che tu sia già salito a bordo di una Nave precedente o sia ancora in attesa (puoi usare la funzione “cerca” inserendo la tua Username), Accedi - spesso al SITO - AYNI, Lavagna, Navi, dove puoi vedere la situazione dei tuoi imbarchi aggiornati più volte al giorno. -

Nelle NAVI pubblicate in successione di “linee” (1, 2, 3, 4... ecc.) vedrai il tuo nome cambiare posizione:

🎁D = Donatore (ruolo attivo)

C-B 2 posizioni da Passeggero (ruolo di attesa/transito)

🌀Mediatore (ruolo attivo)


-

A1 e A2 = 2 posizioni da Passeggero (ruolo di attesa/transito)


-

🌈Sognatore (ruolo di ricezione/completamento)


-

Trovi i grafici delle NAVI anche sulla tua LAVAGNA sul SITO AYNI.



DONATORE (ruolo attivo)

Quando il tuo nome comparirà tra i componenti dell’equipaggio (sulla placca della NAVE nella - chat AYNI BIBLIO e sulla tua Lavagna), riceverai un messaggio sulla - Chat AYNI BOT dove troverai: -

-
    -
  1. il LINK PAYPAL-ME O UNA E-MAIL PER FARE IL DONO AL - SOGNATORE
  2. -
  3. il LINK di una SuperGiftChat, dove potrai entrare SOLO SE AVRAI PROBLEMI CON IL PAGAMENTO O VORRAI ESSERE - SOSTITUITO DA UN ALTRO DONATORE
  4. -
  5. Assicurati di avere Paypal funzionante e collegato ad una carta o al tuo conto correnteRicordati di scegliere su Paypal la modalità invio di denaro a un amico.
    Hai tempo tre giorni per effettuare il tuo regalo, contando anche il giorno dell'apertura della Super Gift Chat, il quarto giorno, se non avrai fatto il tuo regalo al Sognatore verrai sostituito automaticamente dallo Staff.
    -
  6. -
  7. Dopo aver - inviato il tuo regalo al Sognarore, vai sul sito, Lavagna, Navi, e clicca sul bottone "Ho effettuato il Dono" che ti comparirà sotto - la nave dove sei donatore, e così avrai adempiuto al tuo ruolo.
  8. -
  9. Hai lanciato il tuo messaggio di abbondanza e condivisione nell’Universo -
  10. -

Se ci fossero richieste diverse da parte di qualcuno sull’importo del regalo (anche in privato), non esitare a contattare il Tutor presente nella tua Super Gift Chat.

-

PASSEGGERO (ruolo di attesa/transito)

Queste posizioni sono 2 e sono contrassegnate dalle lettere C e B. Mentre transiti come Passeggero attraverso queste non hai nulla da fare; sono state messe nelle NAVI (che saranno pubblicate in AYNI BIBLIO) solo per farti capire a che punto sei del tuo percorso e cioè sempre più vicino a diventare Mediatore. Non ci sono - CHAT per questi ruoli.



MEDIATORE (ruolo attivo)

Quando diventi Mediatore vieni contattato da - un TUTOR con un messaggio sul BOT, - e devi: -

-
    -
  1. Entrare nella Super Gift Chat aperta dal  Tutor dove troverai tutti gli 8 mediatori della Flotta, tre Tutor pronti ad aiutarti e il Sognatore
    -
  2. -
  3. il secondo e il terzo giorno dall'apertura della SGC, devi - andre sul Sito, sulla tua Lavagna, pagina Navi, la nave dove sei Mediatore, e controllare i donatori che hanno fatto - il dono, segnala con un breve post nella Super Gift Chat i donatori che ancora non hanno fatto o comuncato di aver - fatto il regalo al Sognatore.
  4. -
  5. Saranno i Tutor della SGC che si occuperanno di sostituire, - dopo i primi tre giorni, i donatori che non hanno fatto il regalo al Sognatore, o che hanno chiesto di essere - "sbarcati" dalla Nave
  6. -
  7. Quando tutti i Mediatori avranno un pacchetto davanti al loro nome, la Crociera è finita, e puoi uscire dalla SGC. -
  8. -

Il TUTOR posterà un riepilogo della navi della - Flotta  con la dicitura “COMPLETATA!” affinché tutti gli iscritti - al Movimento possano essere aggiornati sull’andamento del processo.



PASSEGGERO (ruolo di attesa/transito)

Ora il tuo nome continua - ad apparire sulle NAVI successive come Passeggero, mentre risali verso la posizione del Sognatore, mancano solo 2 passaggi! Nelle posizioni A1 e A2 non devi fare nulla, corrispondono agli stessi passaggi che hai vissuto quando eri Passeggero in C e B e servono per farti vedere a che punto sei mentre si stanno allestendo le Navi che portano alla tua Consacrazione. Non ci sono chat per questi ruoli.


SOGNATORE (ruolo di ricezione/completamento)

La data indicata come partenza della NAVE in cui sei Sognatore è il giorno in cui si realizzerà il tuo sogno! -

-
    -
  1. Verrai invitato a entrare in una Super Gift Chat dove troverai gli 8 - Mediatori della tua Flotta e due o tre Tutor pronti ad aiutarti.
  2. -
  3. Attendi i regali sul tuo conto Paypal e controlla i messaggi di - conferma che ti arrivano da AYNI BOT.
  4. -
  5. Sulla tua Lavagna, sotto la nave di cui sei Sognatore - troverai i bottoni "Arrivato!" da cliccare per confermare ogni singolo regalo ricevuto e per vedere quanti te - ne mancano da confermare.
  6. -

Ed ora apriti all’abbondanza ed al ricevere! -

I Regali - ammonteranno a 1.848€ alla fine della - prima crociera.

Ricordati che sei in dirittura di arrivo anche con la tua - prima ritessitura (quella della NAVE in cui eri Mediatore e sei stato inserito anche come Donatore, ricordi?) -

Dovrai fare nuovamente il Mediatore di una nave successiva - con gli stessi compiti descritti qui sopra… quando concluderai anche la seconda crociera riceverai altri 1.848€, per - un totale di 3.696€

-

- NELLA PRIMA CROCIERA RICEVERAI UN 57° REGALO DI 33€
TI SAREMMO GRATI SE VORRAI VERSARLO AL FONDO AYNI (chiedi ai - TUTOR in Chat)
per poter mantenere attivo il SITO
CHE TI HA GESTITO E AIUTATO A REALIZZARE IL TUO - SOGNO!

-
- Grazie Mille per il tuo Sostegno! - -

-


Ed ora fai Festa!!! condividendo con i tuoi amici questa meravigliosa esperienza: permetti anche a loro di vivere la gioia del dare e la benedizione dell’abbondanza! 
A noi puoi lasciare un audio o un video da poter condividere nelle nostre Chat o, se ci autorizzi, all’interno del nostro sito, e puoi partecipare allo ZOOM mensile organizzato dallo Staff per far incontrare i Donatori e i Sognatori e festeggiare allegramente insieme!! -

Hai voglia di ripetere questa esperienza? Se vuoi rientrare nel Movimento di nuovo come Donatore e rifare tutto il percorso devi manifestare tale volontà, dato che solo - il primo rientro è gestito in automatico dal sistema. Per farlo, puoi leggere tutti passi necessari sulla pagina del - SITO AYNI Ritessitura, o puoi andare direttamente sul SITO, LAVAGNA, NAVI, e cliccare su "PRENOTA UN ALTRO - VIAGGIO".

Il sistema ripescherà il tuo nome quando sarà il tuo turno… - controlla sempre IN AYNI BIBLIO e la tua LAVAGNA!!

Sei libero di ricominciare tutte le volte che che vuoi!

-

-
diff --git a/prova.htm.html b/prova.htm.html deleted file mode 100644 index de7605a..0000000 --- a/prova.htm.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - Title - - - -🌟CIAO {name} - {username} 🌟

-
🎁 E' arrivato il momento di Effettuare il tuo Dono al Sognatore {sognatore} e salpare - cosi nella Nave AYNI ! 🎁
-
(FLOTTA: {flotta})
-

Accedi alla tua Lavagna e segui le istruzioni per effettuare il tuo Dono:
-

👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻
APRI LA LAVAGNA
-
-
-
⚠️RICORDA⚠️ 
-
che L'ultimo giorno disponibile PER FARE IL REGALO è 
-
{date_close} 
-
poi verrai sostituito.
-
Ti consigliamo pertanto di farlo appena possibile, per non perdere la posizione in graduatoria.

-
-
⚠️IMPORTANTE⚠️
Una volta fatto il regalo, clicca sul bottone "Ho Effettuato il Dono".
-
Il Sognatore ti confermerà in giornata il tuo Dono, riceverai un messaggio sulla chat "AYNI BOT"
-

-
‼️ NON È NECESSARIO ENTRARE NELLA CHAT della FLOTTA ‼️
-
-
ENTRA SOLO SE: 
- hai problemi con il PAGAMENTO
-
- ti manca la conferma del SOGNATORE (attendi almeno in serata per conferma)
-
- vuoi essere SOSTITUITO
-
I Tutor ti aspettano per aiutarti qui:
👉  Super Gift Chat

Staff Ayni -
-
- - diff --git a/quasar.conf.js b/quasar.conf.js index 7202158..88ca07b 100755 --- a/quasar.conf.js +++ b/quasar.conf.js @@ -84,9 +84,9 @@ const extendPrerender = (config) => { module.exports = function (ctx) { return { htmlVariables: { - appName: 'Ayni', - appDescription: 'Ayni', - keywords: 'Ayni', + appName: 'CNM', + appDescription: 'Comunità Nuovo Mondo', + keywords: 'CNM', }, // Quasar looks for *.js files by default sourceFiles: { @@ -159,7 +159,7 @@ module.exports = function (ctx) { }, devServer: { https: false, - port: 8085, + port: 8090, open: false // opens browser window automatically }, // framework: 'all' --- includes everything; for dev only! @@ -296,9 +296,9 @@ module.exports = function (ctx) { // swSrc: 'src/sw.js', }, manifest: { - name: 'Ayni', - version: '0.0.2', - short_name: 'Ayni', + name: 'Comunità Nuovo Mondo', + version: '0.1.0', + short_name: 'CNM', description: '', display: 'standalone', orientation: 'portrait', diff --git a/src/db/lang/ws_de.js b/src/db/lang/ws_de.js index b52eb61..7c5df83 100755 --- a/src/db/lang/ws_de.js +++ b/src/db/lang/ws_de.js @@ -47,8 +47,8 @@ const msg_website_de = { nationality: 'Nazionalità', verified: 'Verificata', nonverified: 'Non Verificata', - req7: 'Con 7 passi entri nella lista d\'Imbarco', - req9: 'Con 9 passi aiuti {sitename} a Crescere!', + req7: 'Con 5 passi entri nella lista d\'Imbarco', + req9: 'Con 7 passi aiuti {sitename} a Crescere!', req: 'Passi', people: 'Inv.', peoplelegend: 'Numero d\'Invitati' diff --git a/src/db/lang/ws_enUs.js b/src/db/lang/ws_enUs.js index 63ebf77..a07e9c5 100755 --- a/src/db/lang/ws_enUs.js +++ b/src/db/lang/ws_enUs.js @@ -1,8 +1,8 @@ const msg_website_enUs = { ws: { - sitename: 'AYNI', - siteshortname: 'Ayni', - botname: 'AYNI BOT', + sitename: 'Comunità Nuovo Mondo', + siteshortname: 'CNM', + botname: 'CNM BOT', }, pages: { home: 'Home', @@ -39,8 +39,8 @@ const msg_website_enUs = { nationality: 'Nationality', verified: 'Verified', nonverified: 'Not Verified', - req7: 'With 7 steps you enter the boarding list.', - req9: 'With 9 steps help {sitename} to grow!', + req7: 'With 5 steps you enter the boarding list.', + req9: 'With 7 steps help {sitename} to grow!', req: 'Steps', people: 'Gue.', peoplelegend: 'Number of guests' diff --git a/src/db/lang/ws_es.js b/src/db/lang/ws_es.js index 71ca010..8d51a35 100755 --- a/src/db/lang/ws_es.js +++ b/src/db/lang/ws_es.js @@ -39,8 +39,8 @@ const msg_website_es = { nationality: 'Nacionalidad', verified: 'Verificada', nonverified: 'No Verificada', - req7: 'Con 7 pasos usted entra en la lista de embarque', - req9: 'Con 9 pasos ayuda a {sitename} a crecer!', + req7: 'Con 5 pasos usted entra en la lista de embarque', + req9: 'Con 7 pasos ayuda a {sitename} a crecer!', req: 'Pasos', people: 'Inv.', peoplelegend: 'Número de invitados' diff --git a/src/db/lang/ws_fr.js b/src/db/lang/ws_fr.js index 9847e04..c4bb3ee 100755 --- a/src/db/lang/ws_fr.js +++ b/src/db/lang/ws_fr.js @@ -42,8 +42,8 @@ const msg_website_fr = { nationality: 'Nationalité', verified: 'Vérifié', nonverified: 'Non Vérifié', - req7: 'Avec 7 étapes, vous entrez dans la liste d\'embarquement.', - req9: 'Avec 9 étapes, aidez {sitename} à se développer !', + req7: 'Avec 5 étapes, vous entrez dans la liste d\'embarquement.', + req9: 'Avec 7 étapes, aidez {sitename} à se développer !', req: 'Étapes', people: 'Inv.', peoplelegend: 'Nombre d\'invités' diff --git a/src/db/lang/ws_it.js b/src/db/lang/ws_it.js index 30e1d8c..d61e852 100755 --- a/src/db/lang/ws_it.js +++ b/src/db/lang/ws_it.js @@ -1,12 +1,13 @@ const msg_website_it = { ws: { - sitename: 'AYNI', - siteshortname: 'Ayni', - botname: 'AYNI BOT', + sitename: 'Comunità Nuovo Mondo', + siteshortname: 'CNM', + botname: 'CNM BOT', }, pages: { home: 'Home', profile: 'Profilo', + projects: 'Progetti', payment: 'Pagamenti', regok: 'Registrazione Confermata', presentazione: 'Presentazione', @@ -39,6 +40,10 @@ const msg_website_it = { eventodef: 'Evento:', prova: 'prova', dbop: 'Operazioni', + projall: 'Tutti', + projectsShared: 'Miei Condivisi', + myprojects: 'Miei Personali', + favproj: 'Favoriti', statusreg: { reg: 'Partecipanti', passeggeri: 'Passeggeri Navi', @@ -47,8 +52,8 @@ const msg_website_it = { nationality: 'Nazionalità', verified: 'Verificata', nonverified: 'Non Verificata', - req7: 'Con 7 passi entri nella lista d\'Imbarco', - req9: 'Con 9 passi aiuti {sitename} a Crescere!', + req7: 'Con 5 passi entri nella lista d\'Imbarco', + req9: 'Con 7 passi aiuti {sitename} a Crescere!', req: 'Passi', people: 'Inv.', peoplelegend: 'Numero d\'Invitati' diff --git a/src/db/lang/ws_pt.js b/src/db/lang/ws_pt.js index 7921d9b..e1d0a54 100755 --- a/src/db/lang/ws_pt.js +++ b/src/db/lang/ws_pt.js @@ -1,8 +1,8 @@ const msg_website_pt = { ws: { - sitename: 'AYNI', - siteshortname: 'Ayni', - botname: 'AYNI BOT', + sitename: 'CNM', + siteshortname: 'CNM', + botname: 'CNM BOT', }, pages: { home: 'Home', @@ -39,8 +39,8 @@ const msg_website_pt = { nationality: 'Nacionalidade', verified: 'Verificado', nonverified: 'Não verificado', - req7: 'Com 7 passos, o usuário entra na lista de embarque.', - req9: 'Com 9 passos ajudam a {sitename} a crescer!', + req7: 'Com 5 passos, o usuário entra na lista de embarque.', + req9: 'Com 7 passos ajudam a {sitename} a crescer!', req: 'Passos', people: 'Con.', peoplelegend: 'Número de convidados' diff --git a/src/db/static_data.ts b/src/db/static_data.ts index 115fb52..114cd4f 100755 --- a/src/db/static_data.ts +++ b/src/db/static_data.ts @@ -7,18 +7,20 @@ import { IListRoutes, ILang, IOperators, IPreloadImages } from '../model/index' import { IFunctionality } from '@src/model/GlobalStore' import firebase from '@src/error-handler/firebase' +import { RouteNames } from '../router/route-names' + const functionality: IFunctionality = { - PWA: false, + PWA: true, SHOW_USER_MENU: true, // Cambiare con true SHOW_PROFILE: true, - SHOW_REG_BUTTON: false, + SHOW_REG_BUTTON: true, ENABLE_REGISTRATION: true, // Cambiare con true - ENABLE_REG_AYNI: true, + ENABLE_REG_AYNI: false, SHOW_NEWSLETTER: false, SHOW_ONLY_POLICY: true, ENABLE_TODOS_LOADING: false, - ENABLE_PROJECTS_LOADING: false, - SHOW_IF_IS_SERVER_CONNECTION: false, + ENABLE_PROJECTS_LOADING: true, + SHOW_IF_IS_SERVER_CONNECTION: true, SHOW_MESSAGES: false, BOOKING_EVENTS: false } @@ -37,19 +39,6 @@ const routes_admin: IListRoutes[] = [ submenu: true, onlyAdmin: true }, - { - active: true, - order: 1010, - path: '/admin/extralist', - materialIcon: 'event_seat', - name: 'pages.extralist', - component: () => import('@/views/admin/extralist/extralist.vue'), - level_parent: 0.0, - level_child: 0.5, - inmenu: true, - submenu: true, - onlyAdmin: true - }, { active: true, order: 1020, @@ -62,66 +51,130 @@ const routes_admin: IListRoutes[] = [ inmenu: true, submenu: true, onlyAdmin: true + } +] + +const routes_projects: IListRoutes[] = [ + { + active: functionality.ENABLE_PROJECTS_LOADING, + order: 10, + path: '/' + RouteNames.projectsall + '/:idProj', + materialIcon: 'accessibility_new', + name: RouteNames.projectsall, + level_parent: 0.0, + level_child: 0.5, + component: () => import('@/views/projects/proj-list/proj-list.vue'), + inmenu: functionality.SHOW_MESSAGES, + infooter: functionality.ENABLE_PROJECTS_LOADING, + meta: { + requiresAuth: false, + async asyncData() { + // await Todos.actions.dbLoad({ checkPending: false }) + await Projects.actions.dbLoad({ checkPending: false, onlyiffirsttime: true }) + } + }, + idelem: process.env.PROJECT_ID_MAIN }, + { + active: functionality.ENABLE_PROJECTS_LOADING, + order: 20, + path: '/' + RouteNames.myprojects + '/:idProj', + materialIcon: 'accessibility_new', + name: RouteNames.myprojects, + level_parent: 0.0, + level_child: 0.5, + component: () => import('@/views/projects/proj-list/proj-list.vue'), + inmenu: functionality.SHOW_MESSAGES, + infooter: functionality.ENABLE_PROJECTS_LOADING, + meta: { + requiresAuth: false, + async asyncData() { + // await Todos.actions.dbLoad({ checkPending: false }) + await Projects.actions.dbLoad({ checkPending: false, onlyiffirsttime: true }) + } + }, + idelem: process.env.PROJECT_ID_MAIN + }, + { + active: functionality.ENABLE_PROJECTS_LOADING, + order: 30, + path: '/' + RouteNames.projectsshared + '/:idProj', + materialIcon: 'accessibility_new', + name: RouteNames.projectsshared, + level_parent: 0.0, + level_child: 0.5, + component: () => import('@/views/projects/proj-list/proj-list.vue'), + inmenu: functionality.SHOW_MESSAGES, + infooter: functionality.ENABLE_PROJECTS_LOADING, + meta: { + requiresAuth: false, + async asyncData() { + // await Todos.actions.dbLoad({ checkPending: false }) + await Projects.actions.dbLoad({ checkPending: false, onlyiffirsttime: true }) + } + }, + idelem: process.env.PROJECT_ID_MAIN + } + ] const routes_newsletter: IListRoutes[] = [ { active: true, order: 10, - name: 'newsletter.template', path: '/admin/newsletter/templemail', materialIcon: 'fas fa-users', + name: 'newsletter.template', path: '/admin/newsletter/templemail', materialIcon: 'fas fa-users', component: () => import('@/rootgen/admin/newsletter/newsletter.vue'), inmenu: true, submenu: true, level_parent: 0.5, level_child: 0.5, onlyManager: true }, { active: true, order: 20, - name: 'newsletter.sendemail', path: '/admin/newsletter/newnewsletter', materialIcon: 'fas fa-users', + name: 'newsletter.sendemail', path: '/admin/newsletter/newnewsletter', materialIcon: 'fas fa-users', component: () => import('@/rootgen/admin/newsletter/newsletter.vue'), inmenu: true, submenu: true, level_parent: 0.5, level_child: 0.5, onlyManager: true }, { active: true, order: 30, - name: 'newsletter.check', path: '/admin/newsletter/check', materialIcon: 'fas fa-users', + name: 'newsletter.check', path: '/admin/newsletter/check', materialIcon: 'fas fa-users', component: () => import('@/rootgen/admin/newsletter/newsletter.vue'), inmenu: true, submenu: true, level_parent: 0.5, level_child: 0.5, onlyManager: true }, { active: true, order: 40, - name: 'newsletter.sent', path: '/admin/newsletter/newslist', materialIcon: 'fas fa-users', + name: 'newsletter.sent', path: '/admin/newsletter/newslist', materialIcon: 'fas fa-users', component: () => import('@/rootgen/admin/newsletter/newsletter.vue'), inmenu: true, submenu: true, level_parent: 0.5, level_child: 0.5, onlyManager: true }, { active: true, order: 50, - name: 'newsletter.mailinglist', path: '/admin/newsletter/mailinglist', materialIcon: 'fas fa-users', + name: 'newsletter.mailinglist', path: '/admin/newsletter/mailinglist', materialIcon: 'fas fa-users', component: () => import('@/rootgen/admin/newsletter/newsletter.vue'), inmenu: true, submenu: true, level_parent: 0.5, level_child: 0.5, onlyManager: true }, { active: true, order: 60, - name: 'newsletter.settings', path: '/admin/newsletter/settings', materialIcon: 'fas fa-users', + name: 'newsletter.settings', path: '/admin/newsletter/settings', materialIcon: 'fas fa-users', component: () => import('@/rootgen/admin/newsletter/newsletter.vue'), inmenu: true, submenu: true, level_parent: 0.5, level_child: 0.5, onlyManager: true }, { active: true, order: 70, - name: 'newsletter.serversettings', path: '/admin/newsletter/main_settings', materialIcon: 'fas fa-users', + name: 'newsletter.serversettings', path: '/admin/newsletter/main_settings', materialIcon: 'fas fa-users', component: () => import('@/rootgen/admin/newsletter/newsletter.vue'), inmenu: true, submenu: true, level_parent: 0.5, level_child: 0.5, onlyManager: true }, { active: true, order: 80, - name: 'newsletter.others', path: '/admin/newsletter/events', materialIcon: 'fas fa-users', + name: 'newsletter.others', path: '/admin/newsletter/events', materialIcon: 'fas fa-users', component: () => import('@/rootgen/admin/newsletter/newsletter.vue'), inmenu: true, submenu: true, level_parent: 0.5, level_child: 0.5, onlyManager: true - }, + } ] const routes_manager: IListRoutes[] = [ @@ -153,64 +206,6 @@ const routes_manager: IListRoutes[] = [ onlyManager: true, onlyTutor: false }, - { - active: true, - order: 15, - path: '/admin/showextralist', - materialIcon: 'fas fa-users', - name: 'otherpages.admin.extralist', - component: () => import('@/rootgen/admin/extraList/extraList.vue'), - inmenu: true, - submenu: true, - level_parent: 0, - level_child: 0.5, - onlyManager: true - }, - { - active: true, - order: 25, - path: '/admin/listaflotte', - materialIcon: 'fas fa-users', - name: 'otherpages.admin.listaflotte', - component: () => import('@/rootgen/admin/listaflotte/listaflotte.vue'), - inmenu: true, - submenu: true, - level_parent: 0, - level_child: 0.5, - onlyAdmin: true, - onlyManager: true, - onlyTutor: true - }, - { - active: true, - order: 20, - path: '/admin/navi', - materialIcon: 'fas fa-users', - name: 'otherpages.admin.navi', - component: () => import('@/rootgen/admin/allnavi/allnavi.vue'), - inmenu: true, - submenu: true, - level_parent: 0, - level_child: 0.5, - onlyAdmin: true, - onlyManager: true, - onlyTutor: true - }, - { - active: true, - order: 25, - path: '/admin/listadoni_navi', - materialIcon: 'fas fa-users', - name: 'otherpages.admin.listadoni_navi', - component: () => import('@/rootgen/admin/listadoninavi/listadoninavi.vue'), - inmenu: true, - submenu: true, - level_parent: 0, - level_child: 0.5, - onlyAdmin: true, - onlyManager: true, - onlyTutor: true - }, { active: true, order: 27, @@ -223,7 +218,7 @@ const routes_manager: IListRoutes[] = [ level_parent: 0, level_child: 0.5, onlyAdmin: true, - onlyManager: true, + onlyManager: true }, { active: true, @@ -251,7 +246,7 @@ const routes_manager: IListRoutes[] = [ level_parent: 0, level_child: 0.5, onlyAdmin: true, - onlyManager: true, + onlyManager: true // onlyTutor: true }, { @@ -310,7 +305,7 @@ const routes_manager: IListRoutes[] = [ level_child: 0.5, infooter: true, onlyManager: true, - onlyAdmin: true, + onlyAdmin: true } ] @@ -325,39 +320,6 @@ const baseroutes: IListRoutes[] = [ inmenu: true, infooter: true }, - { - active: true, - order: 20, - path: '/signup/:invited', - materialIcon: 'how_to_reg', - name: 'pages.presentazione2', - component: () => import('@/root/intro/intro.vue'), - inmenu: false, - infooter: false, - separator: false - }, - { - active: true, - order: 30, - path: '/intro', - materialIcon: 'how_to_reg', - name: 'pages.presentazione', - component: () => import('@/root/intro/intro.vue'), - meta: {requiresAuth: true}, - inmenu: true, - infooter: true - }, - { - active: false, - order: 40, - path: '/testimonial', - materialIcon: 'fas fa-comments', - name: 'pages.testimonial', - component: () => import('@/root/testimonianze/testimonianze.vue'), - inmenu: true, - infooter: true, - onlyif_logged: false - }, { active: true, path: '/separator', @@ -366,28 +328,6 @@ const baseroutes: IListRoutes[] = [ isseparator: true, inmenu: true, }, - { - active: true, - order: 100, - path: '/dashboard', - materialIcon: 'fas fa-chalkboard', - name: 'pages.dashboard', - component: () => import('@/views/user/dashboard/dashboard.vue'), - meta: {requiresAuth: true}, - inmenu: true, - infooter: true - }, - { - active: true, - order: 110, - path: '/invite', - materialIcon: 'fas fa-user-plus', - name: 'pages.invita', - component: () => import('@/root/invite/invite.vue'), - meta: {requiresAuth: true}, - inmenu: true, - infooter: true - }, { active: true, order: 120, @@ -395,7 +335,7 @@ const baseroutes: IListRoutes[] = [ materialIcon: 'fas fa-user', name: 'pages.profile', component: () => import('@/views/user/profile/profile.vue'), - meta: {requiresAuth: true}, + meta: { requiresAuth: true }, inmenu: true, infooter: true, }, @@ -419,6 +359,19 @@ const baseroutes: IListRoutes[] = [ inmenu: false, infooter: false }, + { + active: true, + path: '', + order: 10001, + faIcon: 'fa fa-list-alt', + materialIcon: 'next_week', + name: 'pages.projects', + routes2: routes_projects, + inmenu: true, + solotitle: true, + infooter: true + }, + ...routes_projects, { active: true, order: 2000, @@ -457,12 +410,15 @@ const baseroutes: IListRoutes[] = [ component: () => import('@/views/messages/messages.vue'), inmenu: functionality.SHOW_MESSAGES, infooter: functionality.SHOW_MESSAGES, - meta: {requiresAuth: true}, + meta: { requiresAuth: true } }, + // --- NOT IN MENU: --- - { active: true, + { + active: true, order: 1000, - path: '/policy', name: 'pages.policy', component: () => import('@/root/policy/policy.vue') }, + path: '/policy', name: 'pages.policy', component: () => import('@/root/policy/policy.vue') + }, { active: functionality.ENABLE_REGISTRATION, order: 1000, @@ -485,29 +441,19 @@ const baseroutes: IListRoutes[] = [ infooter: false, separator: false }, - { - order: 2000, - path: '/invite', - materialIcon: 'how_to_reg', - name: 'pages.regok', - component: () => import('@/root/invite/invite.vue'), - inmenu: false, - infooter: false, - separator: false - }, -/* - { - active: functionality.ENABLE_REGISTRATION, - order: 1000, - path: '/signup/:invited', - materialIcon: 'how_to_reg', - name: 'pages.SignUp2', - component: () => import('@/views/login/signup_complete/signup_complete.vue'), - inmenu: false, - infooter: false, - separator: false - }, -*/ + /* + { + active: functionality.ENABLE_REGISTRATION, + order: 1000, + path: '/signup/:invited', + materialIcon: 'how_to_reg', + name: 'pages.SignUp2', + component: () => import('@/views/login/signup_complete/signup_complete.vue'), + inmenu: false, + infooter: false, + separator: false + }, + */ { active: true, order: 1000, @@ -518,21 +464,41 @@ const baseroutes: IListRoutes[] = [ inmenu: false, infooter: true }, - { active: true, order: 1000, path: '/vreg', name: 'pages.vreg', component: () => import('@/views/login/vreg/vreg.vue') }, - { active: true, order: 1000, path: '/requestresetpwd', name: 'pages.requestresetpwd', component: () => import('@/views/requestresetpwd/requestresetpwd.vue') }, - { active: true, order: 1000, path: '/updatepassword', name: 'pages.updatepassword', component: () => import('@/views/updatepassword/updatepassword.vue') }, - { active: true, order: 1000, path: '/offline', name: 'Offline', component: () => import('@/views/offline/offline.vue') }, + { + active: true, + order: 1000, + path: '/vreg', + name: 'pages.vreg', + component: () => import('@/views/login/vreg/vreg.vue') + }, + { + active: true, + order: 1000, + path: '/requestresetpwd', + name: 'pages.requestresetpwd', + component: () => import('@/views/requestresetpwd/requestresetpwd.vue') + }, + { + active: true, + order: 1000, + path: '/updatepassword', + name: 'pages.updatepassword', + component: () => import('@/views/updatepassword/updatepassword.vue') + }, + { + active: true, + order: 1000, + path: '/offline', + name: 'Offline', + component: () => import('@/views/offline/offline.vue') + } ] export const routes = baseroutes const preLoadImages: IPreloadImages[] = [ { imgname: '../../statics/images/logo.png', alt: 'logo', mobile: false }, - { imgname: '../../statics/icons/flag_gb.svg', alt: 'flag us', mobile: false }, - { imgname: '../../statics/icons/flag_it.svg', alt: 'flag it', mobile: false }, - { imgname: '../../statics/icons/flag_es.svg', alt: 'flag es', mobile: false }, - { imgname: '../../statics/icons/flag_fr.svg', alt: 'flag fr', mobile: false }, - { imgname: '../../statics/icons/flag_pt.svg', alt: 'flag pt', mobile: false }, + { imgname: '../../statics/icons/flag_it.svg', alt: 'flag it', mobile: false } // { imgname: '../../statics/images/background.jpg', alt: 'corsi di formazione per operatori del massaggio del benessere', mobile: true }, // { imgname: '../../statics/images/background2.jpg', alt: 'stanza con cuscini per seminario reiki', mobile: true }, // { imgname: '../../statics/images/background3.jpg', alt: 'foto di gruppo seminaristi reiki', mobile: true }, @@ -543,36 +509,20 @@ export function preloadedimages() { return [...preLoadImages] } - const arrLangUsed = [ 'it', - 'si', - 'enUs', - 'es', - 'pt', - 'fr' + 'enUs' ] const lang_available: ILang[] = [ { label: 'Italiano', icon: 'fa-flag-it', value: 'it', image: '../statics/icons/flag_it.svg', short: 'IT' }, - { label: 'Slovenski', icon: 'fa-flag-si', value: 'si', image: '../statics/icons/flag_si.svg', short: 'SI' }, - { label: 'English', icon: 'fa-flag-us', value: 'enUs', image: '../statics/icons/flag_gb.svg', short: 'EN' }, - { label: 'Español', icon: 'fa-flag-es', value: 'es', image: '../statics/icons/flag_es.svg', short: 'ES' }, - { label: 'Português', icon: 'fa-flag-pt', value: 'pt', image: '../statics/icons/flag_pt.svg', short: 'PT' }, - { label: 'Français', icon: 'fa-flag-fr', value: 'fr', image: '../statics/icons/flag_fr.svg', short: 'FR' }, + { label: 'English', icon: 'fa-flag-us', value: 'enUs', image: '../statics/icons/flag_gb.svg', short: 'EN' } // { label: 'German', icon: 'fa-flag-de', value: 'de', image: '../statics/images/de.png', short: 'DE' }, ] -const costanti = { - videointro: 'https://youtu.be/dbscY8jWDMM', - nascita_ayni: 'https://youtu.be/3JDRkN9z_rM', - paginaspiegazione: 'https://ayni.gifteconomy.app/what/', -} - export const static_data = { functionality, baseroutes, - costanti, routes, lang_available, preLoadImages, diff --git a/src/root/home/home.vue b/src/root/home/home.vue index 4f8787b..c23f84c 100755 --- a/src/root/home/home.vue +++ b/src/root/home/home.vue @@ -1,10 +1,13 @@