Use FontAwesome as web font instead of vue component (#7469)

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update yarn.lock

* wip

* wip
This commit is contained in:
syuilo 2021-04-20 23:22:59 +09:00 committed by GitHub
parent 8bb6ed625b
commit 11349561d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
245 changed files with 1156 additions and 1775 deletions

View file

@ -2,7 +2,7 @@
<div class="vrvdvrys">
<XPie class="pie" :value="usage"/>
<div>
<p><fa :icon="faMicrochip"/>CPU</p>
<p><i class="fas fa-microchip"></i>CPU</p>
<p>{{ meta.cpu.cores }} Logical cores</p>
<p>{{ meta.cpu.model }}</p>
</div>
@ -11,7 +11,6 @@
<script lang="ts">
import { defineComponent } from 'vue';
import { faMicrochip } from '@fortawesome/free-solid-svg-icons';
import XPie from './pie.vue';
export default defineComponent({
@ -29,7 +28,6 @@ export default defineComponent({
data() {
return {
usage: 0,
faMicrochip,
};
},
mounted() {
@ -68,7 +66,7 @@ export default defineComponent({
font-weight: bold;
margin-bottom: 4px;
> [data-icon] {
> i {
margin-right: 4px;
}
}