mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-12-17 07:30:47 +00:00
optimisation mobile + filtres des monstres + seo
This commit is contained in:
parent
e5af8a1b4a
commit
9add7369de
17 changed files with 210 additions and 29 deletions
|
|
@ -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
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue