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:
parent
8bb6ed625b
commit
11349561d6
245 changed files with 1156 additions and 1775 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div class="_card tbkwesmv">
|
||||
<div class="_title"><Fa :icon="faInfoCircle"/> {{ $ts._tutorial.title }}</div>
|
||||
<div class="_title"><i class="fas fa-info-circle"></i> {{ $ts._tutorial.title }}</div>
|
||||
<div class="_content" v-if="tutorial === 0">
|
||||
<div>{{ $ts._tutorial.step1_1 }}</div>
|
||||
<div>{{ $ts._tutorial.step1_2 }}</div>
|
||||
|
|
@ -52,22 +52,21 @@
|
|||
<div class="_footer navigation">
|
||||
<div class="step">
|
||||
<button class="arrow _button" @click="tutorial--" :disabled="tutorial === 0">
|
||||
<Fa :icon="faChevronLeft"/>
|
||||
<i class="fas fa-chevron-left"></i>
|
||||
</button>
|
||||
<span>{{ tutorial + 1 }} / 7</span>
|
||||
<button class="arrow _button" @click="tutorial++" :disabled="tutorial === 6">
|
||||
<Fa :icon="faChevronRight"/>
|
||||
<i class="fas fa-chevron-right"></i>
|
||||
</button>
|
||||
</div>
|
||||
<MkButton class="ok" @click="tutorial = -1" primary v-if="tutorial === 6"><Fa :icon="faCheck"/> {{ $ts.gotIt }}</MkButton>
|
||||
<MkButton class="ok" @click="tutorial++" primary v-else><Fa :icon="faCheck"/> {{ $ts.next }}</MkButton>
|
||||
<MkButton class="ok" @click="tutorial = -1" primary v-if="tutorial === 6"><i class="fas fa-check"></i> {{ $ts.gotIt }}</MkButton>
|
||||
<MkButton class="ok" @click="tutorial++" primary v-else><i class="fas fa-check"></i> {{ $ts.next }}</MkButton>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { faInfoCircle, faChevronLeft, faChevronRight, faCheck } from '@fortawesome/free-solid-svg-icons'
|
||||
import MkButton from '@client/components/ui/button.vue';
|
||||
|
||||
export default defineComponent({
|
||||
|
|
@ -77,7 +76,6 @@ export default defineComponent({
|
|||
|
||||
data() {
|
||||
return {
|
||||
faInfoCircle, faChevronLeft, faChevronRight, faCheck
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue