refs #2606 Use vue-fontawesome in Settings

This commit is contained in:
AkiraFukushima 2022-03-27 01:32:19 +09:00
parent 3d6335c511
commit 8a814f0144
No known key found for this signature in database
GPG Key ID: B6E51BAC4DE1A957
2 changed files with 9 additions and 5 deletions

View File

@ -21,15 +21,15 @@
:router="true"
>
<el-menu-item :index="`/${id()}/settings/general`">
<icon name="cog" class="icon" scale="1.3"></icon>
<font-awesome-icon icon="gear" class="icon" size="lg" />
<span>{{ $t('settings.general.title') }}</span>
</el-menu-item>
<el-menu-item :index="`/${id()}/settings/timeline`">
<icon name="align-left" class="icon" scale="1.3"></icon>
<font-awesome-icon icon="align-left" class="icon" size="lg" />
<span>{{ $t('settings.timeline.title') }}</span>
</el-menu-item>
<el-menu-item :index="`/${id()}/settings/filters`">
<icon name="filter" class="icon" scale="1.3"></icon>
<font-awesome-icon icon="filter" class="icon" size="lg" />
<span>{{ $t('settings.filters.title') }}</span>
</el-menu-item>
</el-menu>

View File

@ -34,7 +34,9 @@ import {
faPalette,
faUser,
faNetworkWired,
faLanguage
faLanguage,
faAlignLeft,
faFilter
} from '@fortawesome/free-solid-svg-icons'
import { faFaceSmile } from '@fortawesome/free-regular-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
@ -88,7 +90,9 @@ library.add(
faPalette,
faUser,
faNetworkWired,
faLanguage
faLanguage,
faAlignLeft,
faFilter
)
Vue.use(ElementUI, { locale })