chore: clean up

zio/stable
Anthony Fu 2022-11-24 14:42:26 +08:00
parent 8c9eac5789
commit 9978b10e06
9 changed files with 7 additions and 27 deletions

View File

@ -11,9 +11,7 @@ const paginator = masto.bookmarks.getIterator()
<template #title>
<span text-lg font-bold>Bookmarks</span>
</template>
<template #actions>
<div i-ri:equalizer-fill mr-1 h-6 />
</template>
<slot>
<TimelinePaginator :paginator="paginator" />
</slot>

View File

@ -11,9 +11,7 @@ const paginator = masto.conversations.getIterator()
<template #title>
<span text-lg font-bold>Conversations</span>
</template>
<template #actions>
<div i-ri:equalizer-fill mr-1 h-6 />
</template>
<slot>
<ConversationPaginator :paginator="paginator" />
</slot>

View File

@ -7,9 +7,7 @@ const paginator = masto.trends.getStatuses()
<template #title>
<div i-ri:hashtag h-6 mr-1 /><span>Explore</span>
</template>
<template #actions>
<div i-ri:equalizer-fill mr-1 h-6 />
</template>
<slot>
<!-- TODO: Tabs for trending statuses, tags, and links -->
<TimelinePaginator :paginator="paginator" />

View File

@ -11,9 +11,6 @@ const paginator = masto.favourites.getIterator()
<template #title>
<span text-lg font-bold>Favourites</span>
</template>
<template #actions>
<div i-ri:equalizer-fill mr-1 h-6 />
</template>
<slot>
<TimelinePaginator :paginator="paginator" />
</slot>

View File

@ -11,9 +11,6 @@ const paginator = masto.timelines.getHomeIterable()
<template #title>
<span text-lg font-bold>Home</span>
</template>
<template #actions>
<div i-ri:equalizer-fill mr-1 h-6 />
</template>
<slot>
<TimelinePaginator :paginator="paginator" />
</slot>

View File

@ -18,9 +18,7 @@ const paginator = $computed(() => {
<template #title>
<span text-lg font-bold>Notifications</span>
</template>
<template #actions>
<div i-ri:equalizer-fill mr-1 h-6 />
</template>
<template #header>
<CommonTabs v-model="tab" :options="tabNames" />
</template>

View File

@ -8,9 +8,7 @@ const paginator = masto.timelines.getPublicIterable()
<template #title>
<span text-lg font-bold>Federated Timeline</span>
</template>
<template #actions>
<div i-ri:equalizer-fill mr-1 h-6 />
</template>
<slot>
<TimelinePaginator :paginator="paginator" />
</slot>

View File

@ -7,9 +7,7 @@ const { data: timelines } = await useAsyncData('timelines-home', () => masto.tim
<template #title>
<span text-lg font-bold>Local timeline</span>
</template>
<template #actions>
<div i-ri:equalizer-fill mr-1 h-6 />
</template>
<slot>
<TimelineList :timelines="timelines" />
</slot>

View File

@ -10,9 +10,7 @@ const paginator = masto.timelines.getHashtagIterable(tag)
<template #title>
<span text-lg font-bold>#{{ tag }}</span>
</template>
<template #actions>
<div i-ri:equalizer-fill mr-1 h-6 />
</template>
<slot>
<TimelinePaginator :paginator="paginator" />
</slot>