chore: clean up

pull/43/head
Anthony Fu 2022-11-24 14:42:26 +08:00
rodzic 8c9eac5789
commit 9978b10e06
9 zmienionych plików z 7 dodań i 27 usunięć

Wyświetl plik

@ -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>

Wyświetl plik

@ -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>

Wyświetl plik

@ -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" />

Wyświetl plik

@ -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>

Wyświetl plik

@ -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>

Wyświetl plik

@ -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>

Wyświetl plik

@ -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>

Wyświetl plik

@ -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>

Wyświetl plik

@ -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>