wikijs-fork/client/store/site.js

27 lines
572 B
JavaScript
Raw Normal View History

2018-08-04 21:27:55 +00:00
import { make } from 'vuex-pathify'
/* global siteConfig */
const state = {
company: siteConfig.company,
2020-02-23 20:20:55 +00:00
contentLicense: siteConfig.contentLicense,
2023-02-17 01:45:55 +00:00
footerOverride: siteConfig.footerOverride,
dark: siteConfig.darkMode,
2022-12-10 22:03:40 +00:00
tocPosition: siteConfig.tocPosition,
2018-08-04 21:27:55 +00:00
mascot: true,
2019-03-09 05:51:02 +00:00
title: siteConfig.title,
logoUrl: siteConfig.logoUrl,
2019-03-09 05:51:02 +00:00
search: '',
2019-03-09 23:43:32 +00:00
searchIsFocused: false,
2019-03-09 05:51:02 +00:00
searchIsLoading: false,
searchRestrictLocale: false,
searchRestrictPath: false,
printView: false
2018-08-04 21:27:55 +00:00
}
export default {
namespaced: true,
state,
mutations: make.mutations(state)
}