1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-30 21:24:18 +00:00

optimisation mobile + filtres des monstres + seo

This commit is contained in:
Maxime Moraine 2020-04-16 16:08:44 +02:00
parent e5af8a1b4a
commit 9add7369de
17 changed files with 210 additions and 29 deletions

View file

@ -21,6 +21,7 @@ export default new Vuex.Store({
hasRightDrawer: false,
inRightDrawer: null,
isThemeDark: false,
isOpenAboutDialog: false,
},
getters: {
@ -30,6 +31,7 @@ export default new Vuex.Store({
hasRightDrawer: state => state.hasRightDrawer,
inRightDrawer: state => state.inRightDrawer,
isThemeDark: state => state.isThemeDark,
isOpenAboutDialog: state => state.isOpenAboutDialog,
},
actions: {
@ -51,6 +53,9 @@ export default new Vuex.Store({
isThemeDark: ({ commit }, payload) => {
commit('setIsThemeDark', payload)
},
isOpenAboutDialog: ({ commit }, payload) => {
commit('setIsOpenAboutDialog', payload)
},
},
mutations: {
@ -72,5 +77,8 @@ export default new Vuex.Store({
setIsThemeDark: (state, payload) => {
state.isThemeDark = payload
},
setIsOpenAboutDialog: (state, payload) => {
state.isOpenAboutDialog = payload
},
},
})

View file

@ -29,7 +29,7 @@ export default {
{ label: "Très grand", abbr:"TG", value: false },
{ label: "Gigantesque", abbr:"Gig", value: false },
],
environements: [
environments: [
{ label: "Arctique / Subarctique", value: false },
{ label: "Bois / Forêt", value: false },
{ label: "Collines / Vallées", value: false },