2018-08-04 21:27:55 +00:00
|
|
|
import { make } from 'vuex-pathify'
|
|
|
|
|
|
|
|
/* global siteConfig */
|
|
|
|
|
|
|
|
const state = {
|
2019-06-08 00:04:35 +00:00
|
|
|
company: siteConfig.company,
|
2018-08-11 22:16:56 +00:00
|
|
|
dark: siteConfig.darkMode,
|
2018-08-04 21:27:55 +00:00
|
|
|
mascot: true,
|
2019-03-09 05:51:02 +00:00
|
|
|
title: siteConfig.title,
|
2019-12-19 04:45:19 +00:00
|
|
|
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
|
2018-08-04 21:27:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default {
|
|
|
|
namespaced: true,
|
|
|
|
state,
|
|
|
|
mutations: make.mutations(state)
|
|
|
|
}
|