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> <template #title>
<span text-lg font-bold>Bookmarks</span> <span text-lg font-bold>Bookmarks</span>
</template> </template>
<template #actions>
<div i-ri:equalizer-fill mr-1 h-6 />
</template>
<slot> <slot>
<TimelinePaginator :paginator="paginator" /> <TimelinePaginator :paginator="paginator" />
</slot> </slot>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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