forked from AkkomaGang/akkoma-fe
Move bubble timeline and change icon
This commit is contained in:
parent
3c478bd8d6
commit
a0062cd4be
3 changed files with 30 additions and 30 deletions
|
@ -55,18 +55,6 @@
|
||||||
:title="$t('nav.public_tl')"
|
:title="$t('nav.public_tl')"
|
||||||
/>
|
/>
|
||||||
</router-link>
|
</router-link>
|
||||||
<router-link
|
|
||||||
v-if="currentUser && showBubbleTimeline"
|
|
||||||
:to="{ name: 'bubble-timeline' }"
|
|
||||||
class="nav-icon"
|
|
||||||
>
|
|
||||||
<FAIcon
|
|
||||||
fixed-width
|
|
||||||
class="fa-scale-110 fa-old-padding"
|
|
||||||
icon="circle"
|
|
||||||
:title="$t('nav.bubble_timeline')"
|
|
||||||
/>
|
|
||||||
</router-link>
|
|
||||||
<router-link
|
<router-link
|
||||||
v-if="federating && (currentUser || !(privateMode || restrictedTimelines.federated))"
|
v-if="federating && (currentUser || !(privateMode || restrictedTimelines.federated))"
|
||||||
:to="{ name: 'public-external-timeline' }"
|
:to="{ name: 'public-external-timeline' }"
|
||||||
|
@ -79,6 +67,18 @@
|
||||||
:title="$t('nav.twkn')"
|
:title="$t('nav.twkn')"
|
||||||
/>
|
/>
|
||||||
</router-link>
|
</router-link>
|
||||||
|
<router-link
|
||||||
|
v-if="currentUser && showBubbleTimeline"
|
||||||
|
:to="{ name: 'bubble-timeline' }"
|
||||||
|
class="nav-icon"
|
||||||
|
>
|
||||||
|
<FAIcon
|
||||||
|
fixed-width
|
||||||
|
class="fa-scale-110 fa-old-padding"
|
||||||
|
icon="comment-medical"
|
||||||
|
:title="$t('nav.bubble_timeline')"
|
||||||
|
/>
|
||||||
|
</router-link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<router-link
|
<router-link
|
||||||
|
|
|
@ -6,7 +6,7 @@ import {
|
||||||
faBookmark,
|
faBookmark,
|
||||||
faEnvelope,
|
faEnvelope,
|
||||||
faHome,
|
faHome,
|
||||||
faCircle
|
faCommentMedical
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
|
@ -15,7 +15,7 @@ library.add(
|
||||||
faBookmark,
|
faBookmark,
|
||||||
faEnvelope,
|
faEnvelope,
|
||||||
faHome,
|
faHome,
|
||||||
faCircle
|
faCommentMedical
|
||||||
)
|
)
|
||||||
|
|
||||||
const TimelineMenuContent = {
|
const TimelineMenuContent = {
|
||||||
|
|
|
@ -16,22 +16,6 @@
|
||||||
>{{ $t("nav.home_timeline") }}</span>
|
>{{ $t("nav.home_timeline") }}</span>
|
||||||
</router-link>
|
</router-link>
|
||||||
</li>
|
</li>
|
||||||
<li v-if="currentUser && showBubbleTimeline">
|
|
||||||
<router-link
|
|
||||||
class="menu-item"
|
|
||||||
:to="{ name: 'bubble-timeline' }"
|
|
||||||
>
|
|
||||||
<FAIcon
|
|
||||||
fixed-width
|
|
||||||
class="fa-scale-110 fa-old-padding "
|
|
||||||
icon="circle"
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
:title="$t('nav.bubble_timeline_description')"
|
|
||||||
:aria-label="$t('nav.bubble_timeline_description')"
|
|
||||||
>{{ $t("nav.bubble_timeline") }}</span>
|
|
||||||
</router-link>
|
|
||||||
</li>
|
|
||||||
<li v-if="currentUser || !(privateMode || restrictedTimelines.public)">
|
<li v-if="currentUser || !(privateMode || restrictedTimelines.public)">
|
||||||
<router-link
|
<router-link
|
||||||
class="menu-item"
|
class="menu-item"
|
||||||
|
@ -64,6 +48,22 @@
|
||||||
>{{ $t("nav.twkn") }}</span>
|
>{{ $t("nav.twkn") }}</span>
|
||||||
</router-link>
|
</router-link>
|
||||||
</li>
|
</li>
|
||||||
|
<li v-if="currentUser && showBubbleTimeline">
|
||||||
|
<router-link
|
||||||
|
class="menu-item"
|
||||||
|
:to="{ name: 'bubble-timeline' }"
|
||||||
|
>
|
||||||
|
<FAIcon
|
||||||
|
fixed-width
|
||||||
|
class="fa-scale-110 fa-old-padding "
|
||||||
|
icon="comment-medical"
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
:title="$t('nav.bubble_timeline_description')"
|
||||||
|
:aria-label="$t('nav.bubble_timeline_description')"
|
||||||
|
>{{ $t("nav.bubble_timeline") }}</span>
|
||||||
|
</router-link>
|
||||||
|
</li>
|
||||||
<li v-if="currentUser">
|
<li v-if="currentUser">
|
||||||
<router-link
|
<router-link
|
||||||
class="menu-item"
|
class="menu-item"
|
||||||
|
|
Loading…
Reference in a new issue