kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
lint
rodzic
2589085cbf
commit
293d19f049
|
|
@ -62,20 +62,48 @@ fetchData()
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<Layout :key="route?.name ?? undefined" v-title="labels.title" main stack gap-84>
|
||||
<Header page-heading :h1="t('components.Sidebar.header.explore')" />
|
||||
<album-widget :filters="{ scope: scope, playable: true, ordering: '-creation_date', ...qualityFilters }" :limit="4"
|
||||
:title="t('components.library.Home.header.recentlyAdded')" />
|
||||
<track-widget :title="t('components.library.Home.header.recentlyListened')" :url="'history/listenings/'"
|
||||
:filters="{ scope, ordering: '-creation_date', ...qualityFilters }" :websocket-handlers="['Listen']" />
|
||||
<playlist-widget :url="'playlists/'"
|
||||
<Layout
|
||||
:key="route?.name ?? undefined"
|
||||
v-title="labels.title"
|
||||
main
|
||||
stack
|
||||
gap-84
|
||||
>
|
||||
<Header
|
||||
page-heading
|
||||
:h1="t('components.Sidebar.header.explore')"
|
||||
/>
|
||||
<album-widget
|
||||
:filters="{ scope: scope, playable: true, ordering: '-creation_date', ...qualityFilters }"
|
||||
:limit="4"
|
||||
:title="t('components.library.Home.header.recentlyAdded')"
|
||||
/>
|
||||
<track-widget
|
||||
:title="t('components.library.Home.header.recentlyListened')"
|
||||
:url="'history/listenings/'"
|
||||
:filters="{ scope, ordering: '-creation_date', ...qualityFilters }"
|
||||
:websocket-handlers="['Listen']"
|
||||
/>
|
||||
<playlist-widget
|
||||
:url="'playlists/'"
|
||||
:filters="{ scope: scope, playable: true, ordering: '-modification_date', limit: 4 }"
|
||||
:title="t('components.library.Home.header.playlists')" />
|
||||
<track-widget :title="t('components.library.Home.header.recentlyFavorited')" :url="'favorites/tracks/'"
|
||||
:filters="{ scope: scope, ordering: '-creation_date' }" />
|
||||
<channels-widget :limit="4" :filters="{ ordering: '-creation_date', external: 'false', content_category: 'music' }"
|
||||
:title="t('components.library.Home.header.newChannels')" :show-modification-date="true" />
|
||||
<channels-widget :limit="4" :filters="{ playable: true, ordering: '-creation_date', content_category: 'podcast' }"
|
||||
title="Podcasts hosted on Funkwhale" />
|
||||
:title="t('components.library.Home.header.playlists')"
|
||||
/>
|
||||
<track-widget
|
||||
:title="t('components.library.Home.header.recentlyFavorited')"
|
||||
:url="'favorites/tracks/'"
|
||||
:filters="{ scope: scope, ordering: '-creation_date' }"
|
||||
/>
|
||||
<channels-widget
|
||||
:limit="4"
|
||||
:filters="{ ordering: '-creation_date', external: 'false', content_category: 'music' }"
|
||||
:title="t('components.library.Home.header.newChannels')"
|
||||
:show-modification-date="true"
|
||||
/>
|
||||
<channels-widget
|
||||
:limit="4"
|
||||
:filters="{ playable: true, ordering: '-creation_date', content_category: 'podcast' }"
|
||||
title="Podcasts hosted on Funkwhale"
|
||||
/>
|
||||
</Layout>
|
||||
</template>
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue