refactor(client): Use symbol

This commit is contained in:
syuilo 2021-04-10 12:54:12 +09:00
parent d3fe02fb3e
commit 45e5d89353
103 changed files with 246 additions and 142 deletions

View file

@ -15,6 +15,7 @@ import MarkdownIt from 'markdown-it';
import MarkdownItAnchor from 'markdown-it-anchor';
import { url, lang } from '@client/config';
import MkLink from '@client/components/link.vue';
import * as symbols from '@client/symbols';
const markdown = MarkdownIt({
html: true
@ -38,7 +39,7 @@ export default defineComponent({
data() {
return {
INFO: computed(() => this.title ? {
[symbols.PAGE_INFO]: computed(() => this.title ? {
title: this.title,
icon: faQuestionCircle,
} : null),