mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 11:57:34 -07:00
🎨
This commit is contained in:
parent
99db28be52
commit
7053777563
1 changed files with 12 additions and 14 deletions
|
@ -1,13 +1,12 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="ibpylqas">
|
<div>
|
||||||
<div v-if="src == 'home' && alone" class="explore">
|
|
||||||
<p>{{ $t('@.empty-timeline-info.follow-users-to-make-your-timeline') }}</p>
|
|
||||||
<router-link to="/explore">{{ $t('@.empty-timeline-info.explore') }}</router-link>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<mk-notes ref="timeline" :make-promise="makePromise" @inited="() => $emit('loaded')">
|
<mk-notes ref="timeline" :make-promise="makePromise" @inited="() => $emit('loaded')">
|
||||||
<template v-slot:header>
|
<template v-slot:header>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
|
<div v-if="src == 'home' && alone" class="ibpylqas">
|
||||||
|
<p>{{ $t('@.empty-timeline-info.follow-users-to-make-your-timeline') }}</p>
|
||||||
|
<router-link to="/explore">{{ $t('@.empty-timeline-info.explore') }}</router-link>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:empty>
|
<template v-slot:empty>
|
||||||
<fa :icon="['far', 'comments']"/>{{ $t('empty') }}
|
<fa :icon="['far', 'comments']"/>{{ $t('empty') }}
|
||||||
|
@ -142,14 +141,13 @@ export default Vue.extend({
|
||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
.ibpylqas
|
.ibpylqas
|
||||||
> .explore
|
padding 16px
|
||||||
padding 16px
|
text-align center
|
||||||
text-align center
|
color var(--text)
|
||||||
color var(--text)
|
border-bottom solid var(--lineWidth) var(--faceDivider)
|
||||||
border-bottom solid var(--lineWidth) var(--faceDivider)
|
font-size 14px
|
||||||
font-size 14px
|
|
||||||
|
|
||||||
> p
|
> p
|
||||||
margin 0 0 8px 0
|
margin 0 0 8px 0
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue