diff --git a/src/components/NotFound.vue b/src/components/NotFound.vue new file mode 100644 index 0000000..c81bfe4 --- /dev/null +++ b/src/components/NotFound.vue @@ -0,0 +1,15 @@ + + diff --git a/src/components/home.vue b/src/components/home.vue index 4ab8085..b129b44 100755 --- a/src/components/home.vue +++ b/src/components/home.vue @@ -32,62 +32,62 @@ - - - - - - - - - - - - + - + + links="/blockchain,/faq,/change,/agpl,/tools,/tdc,https://duniter.org/fr/files/licence_g1.txt, /services-instances,/finance,/com,/website"> diff --git a/src/main.js b/src/main.js index 0cd6db1..5e16799 100755 --- a/src/main.js +++ b/src/main.js @@ -9,7 +9,7 @@ import '@fortawesome/fontawesome-free/js/all.js' import {routes} from './routes' Vue.use(VueRouter) -const router = new VueRouter({mode: 'history',routes}) +const router = new VueRouter({mode: 'history', routes}) library.add(faUserSecret) @@ -23,4 +23,5 @@ import "@/assets/styles.css" new Vue({ router, render: h => h(App), + }).$mount('#app') diff --git a/src/routes.js b/src/routes.js index 3947608..ed0bfb0 100755 --- a/src/routes.js +++ b/src/routes.js @@ -10,10 +10,12 @@ Ouvrez une issue sur git.p2p.legal/llaq/infojune/issues Documentation : git.p2p.legal/llaq/g1land/wiki */ + import softbox from '@/components/SoftBox.vue' import choicebox from '@/components/ChoiceBox.vue' import home from '@/components/home.vue' import cf from '@/components/cf.vue' +import notfound from '@/components/NotFound.vue' export const routes = [ /* @@ -37,7 +39,7 @@ name: "Axiom Team", img: "axiom.svg", desc: "Axiom Team a pour but de promouvoir la g1 dans ses antennes locales", - href:"https://axiom-team.fr,https://forum.axiom-team.fr,https://chat.axiom-team.fr,https://framasphere.org/u/axiommonnaielibre,https://tube.p2p.legal/accounts/axiomteam/,https://demo.cesium.app/#/app/wot/8CWuf4f1jYoVzHh4DEFpCyzZYC1pgz4t2wU8F2zKCthh/", + href:"https://axiom-team.fr,https://forum.axiom-team.fr,https://chat.axiom-team.fr,https://framasphere.org/u/axiommonnaielibre,https://tube.p2p.legal/accounts/axiomteam/,https://demo.cesium.app/app/wot/8CWuf4f1jYoVzHh4DEFpCyzZYC1pgz4t2wU8F2zKCthh/", } }, @@ -270,7 +272,7 @@ name: "Remuniter", img: "duniter.svg", desc: "Remuniter est un site mis en place par le créateur de duniter pour rémunérer les créateurs de monnaie", - href:"http://remuniter.cgeek.fr/#/,https://demo.cesium.app/#/app/wot/TENGx7WtzFsTXwnbrPEvb6odX2WnqYcnnrjiiLvp1mS/", + href:"http://remuniter.cgeek.fr/,https://demo.cesium.app/app/wot/TENGx7WtzFsTXwnbrPEvb6odX2WnqYcnnrjiiLvp1mS/", } }, @@ -376,7 +378,7 @@ name: "Monnaie-libre.fr", path: '/finance', component: choicebox , props: { buttons: "Axiom Team,Monnaie Libre,Duniter,Gannonce,Remuniter", - links: "/#/axiom,/#/monnaielibre-fr,/#/duniter,/#/gannonce,/#/remuniter", + links: "/axiom,/monnaielibre-fr,/duniter,/gannonce,/remuniter", }, }, @@ -392,7 +394,7 @@ name: "Monnaie-libre.fr", path: '/tools', component: choicebox , props: { buttons: "Outils de forgeage,Clients,Outils de communication,Git Duniter", - links: "/#/blockchain,/#/clients,/#/tools-com,https://git.duniter.org", + links: "/blockchain,/clients,/tools-com,https://git.duniter.org", }, }, @@ -401,21 +403,21 @@ name: "Monnaie-libre.fr", path: '/tools-com', component: choicebox , props: { buttons: "Gitlab,Axiom Team", - links: "https://git.duniter.org/blavenie/G1,/#/axiom", + links: "https://git.duniter.org/blavenie/G1,/axiom", }, }, { path: '/clients', component: choicebox , props: { buttons: "Silkaj,Sakia,Cesium", - links: "/#/silkaj,/#/sakia,/#/cesium", + links: "/silkaj,/sakia,/cesium", }, }, { path: '/change', component: choicebox , props: { buttons: "Gchange,Gannonce,Petit Ecolo,Gnie,Gcoin", - links: "/#/gchange,/#/gannonce,/#/petitecolo,/#/gnie,/#/gcoin", + links: "/gchange,/gannonce,/petitecolo,/gnie,/gcoin", }, }, @@ -431,7 +433,7 @@ props: { path: '/blockchain', component: choicebox , props: { buttons: "Duniter Whitepaper,Duniter,Dunitrust,Juniter", - links: "/#/duniter-wp,/#/duniter,/#/dunitrust,/#/juniter", + links: "/duniter-wp,/duniter,/dunitrust,/juniter", }, }, @@ -439,7 +441,7 @@ props: { path: '/trm', component: choicebox , props: { buttons: "Creation Monétaire,PDF de la TRM", - links: "/#/creationmonetaire,/#/trmpdf", + links: "/creationmonetaire,/trmpdf", }, }, @@ -447,7 +449,7 @@ props: { path: '/asso', component: choicebox , props: { buttons: "Axiom Team,Le sou de mayenne", - links: "/#/axiom,/#/sou", + links: "/axiom,/sou", }, }, @@ -455,7 +457,7 @@ props: { path: '/forums', component: choicebox , props: { buttons: "Monnaie Libre,Duniter,Axiom team (+chat)", - links: "/#/monnaielibre,/#/duniter,/#/axiom", + links: "/monnaielibre,/duniter,/axiom", }, }, @@ -471,7 +473,7 @@ props: { path: '/agpl', component: choicebox , props: { buttons: "Duniter,Cesium,Silkaj", - links: "/#/duniter,/#/cesium,/#/silkaj", + links: "/duniter,/cesium,/silkaj", }, }, @@ -480,49 +482,49 @@ props: { path: '/com', component: choicebox , props: { buttons: "Agendas,Événements", - links: "/#/agendas,/#/events,/#/medias", + links: "/agendas,/events", }, }, { path: '/medias', component: choicebox , props: { buttons: "Peertube,Youtube,Twitter,diaspora*,Facebook", - links: "/#/peertube,/#/youtube,/#/twitter,/#/diaspora,/#/facebook", + links: "/peertube,/youtube,/twitter,/diaspora,/facebook", }, }, { path: '/facebook', component: choicebox , props: { buttons: "Monnaie Libre,MLO,Monnaie Libre Sud,Monnaie Libre Ara,Monnaie Libre Bordeaux,Monnaie Libre Lodeve,Monnaie Libre Strasbourg,Toile Francilienne", - links: "/#/monnaielibre-fr,/#/mlo,/#/mlsud,/#/mlara,https://www.facebook.com/MonnaieLibreBordeaux,https://www.facebook.com/MLLodeve,https://www.facebook.com/Monnaie-Libre-Strasbourg-Ğ1-588346051575048,/#/toilefr,/#/gcoin", + links: "/monnaielibre-fr,/mlo,/mlsud,/mlara,https://www.facebook.com/MonnaieLibreBordeaux,https://www.facebook.com/MLLodeve,https://www.facebook.com/Monnaie-Libre-Strasbourg-Ğ1-588346051575048,/toilefr,/gcoin", }, }, { path: '/peertube', component: choicebox , props: { buttons: "Peertube p2p.legal,Normandie Libre,Axiom Team,Monnaie Libre,Ma Monnaie Libre", - links: "https://tube.p2p.legal,/#/nlibre,/#/axiom,/#/monnaielibre-fr,https://tube.p2p.legal/video-channels/09a57166-f1bd-454e-a748-3c8d47abfd0d/videos", + links: "https://tube.p2p.legal,/nlibre,/axiom,/monnaielibre-fr,https://tube.p2p.legal/video-channels/09a57166-f1bd-454e-a748-3c8d47abfd0d/videos", }, }, { path: '/diaspora', component: choicebox , props: { buttons: "Axiom Team,MLO,Monnaie Libre Montpeiller", - links: "/#/axiom,/#/mlo,https://framasphere.org/u/mlmtp", + links: "/axiom,/mlo,https://framasphere.org/u/mlmtp", }, }, { path: '/twitter', component: choicebox , props: { buttons: "Monnaie Libre,Monnaie Libre Loire Attlantique,Libre Currency,Moneda Libre", - links: "/#/monnaielibre-fr,https://twitter.com/MonnaieLibreLAV,https://twitter.com/LibreCurrency,https://twitter.com/Moneda_Libre", + links: "/monnaielibre-fr,https://twitter.com/MonnaieLibreLAV,https://twitter.com/LibreCurrency,https://twitter.com/Moneda_Libre", }, }, { path: '/youtube', component: choicebox , props: { buttons: "LeBrice,Heu..reka,Le sanglier jaune,La grenouille gauloise,Le Sou,MLO,Ma Monnaie Libre,Mi Moneda Libre,Librelois", - links: "https://www.youtube.com/channel/UCU_Yip6I_axwjTNiswSGokQ,https://www.youtube.com/channel/UC7sXGI8p8PvKosLWagkK9wQ,https://www.youtube.com/channel/UCIJffkItaprUTFmDNOMXYxA,#,/#/sou,/#/mlo,https://www.youtube.com/channel/UCo0A8va0HUe98r5pIxWmIMg,#,https://www.youtube.com/channel/UCF0h-kMz12d507EmuvI542Q", + links: "https://www.youtube.com/channel/UCU_Yip6I_axwjTNiswSGokQ,https://www.youtube.com/channel/UC7sXGI8p8PvKosLWagkK9wQ,https://www.youtube.com/channel/UCIJffkItaprUTFmDNOMXYxA,#,/sou,/mlo,https://www.youtube.com/channel/UCo0A8va0HUe98r5pIxWmIMg,#,https://www.youtube.com/channel/UCF0h-kMz12d507EmuvI542Q", }, }, { @@ -536,32 +538,33 @@ props: { path: '/agendas', component: choicebox , props: { buttons: "Agenda Monnaie Libre,Agenda MLO,Agenda du Libre", - links: "/#/monnaielibre-fr,/#/mlo,https://agendadulibre.org", + links: "/monnaielibre-fr,/mlo,https://agendadulibre.org", }, }, { path: '/website', component: choicebox , props: { buttons: "Sites Locaux,Sites Officiels,Sites Individuels", - links: "/#/webloc,/#/weboff,/#/webind", + links: "/webloc,/weboff,/webind", }, }, { path: '/weboff', component: choicebox , props: { buttons: "Cesium,Duniter,monnaie-libre.fr,Gchange,Gannonce", - links: "/#/cesium,/#/duniter,/#/monnaielibre-fr,/#/gchange,/#/gannonce", + links: "/cesium,/duniter,/monnaielibre-fr,/gchange,/gannonce", }, }, { path: '/webind', component: choicebox , props: { buttons: "Cuckooland,Ma Monnaie Libre,monnaielibre.com,Gnie", - links: "http://cuckooland.free.fr/,https;//mamonnaielibre.fr,https://monnaie-libre.com,/#/gnie", + links: "http://cuckooland.free.fr/,https;//mamonnaielibre.fr,https://monnaie-libre.com,/gnie", }, }, { path: '/', component: home }, - { path: '/cf', component: cf } + { path: '/cf', component: cf }, + { path: '*', component: notfound } ]