introduction and about cache
This commit is contained in:
@@ -5,6 +5,8 @@ import MarkdownRender from '../components/MarkdownRender';
|
||||
import {observer} from 'mobx-react-lite';
|
||||
import commonStore from '../stores/commonStore';
|
||||
|
||||
export type AboutContent = { [lang: string]: string }
|
||||
|
||||
export const About: FC = observer(() => {
|
||||
const {t} = useTranslation();
|
||||
const lang: string = commonStore.settings.language;
|
||||
|
||||
@@ -17,6 +17,8 @@ import {ConfigSelector} from '../components/ConfigSelector';
|
||||
import MarkdownRender from '../components/MarkdownRender';
|
||||
import commonStore from '../stores/commonStore';
|
||||
|
||||
export type IntroductionContent = { [lang: string]: string }
|
||||
|
||||
type NavCard = {
|
||||
label: string;
|
||||
desc: string;
|
||||
|
||||
@@ -14,7 +14,7 @@ export const Languages = {
|
||||
|
||||
export type Language = keyof typeof Languages;
|
||||
|
||||
export type Settings = {
|
||||
export type SettingsType = {
|
||||
language: Language,
|
||||
darkMode: boolean
|
||||
autoUpdatesCheck: boolean
|
||||
|
||||
Reference in New Issue
Block a user