diff --git a/src/layouts/PlaylistPageTab.astro b/src/layouts/PlaylistPageTab.astro index d9857ce..62d3d64 100644 --- a/src/layouts/PlaylistPageTab.astro +++ b/src/layouts/PlaylistPageTab.astro @@ -13,7 +13,12 @@ const { playlist, title, description } = Astro.props as Props; --- -
+
{ playlist ? (

@@ -46,7 +51,7 @@ const { playlist, title, description } = Astro.props as Props;

) : ( -
+
{description}
) diff --git a/src/pages/playlists/[playlistId]/snapshots.astro b/src/pages/playlists/[playlistId]/snapshots.astro index a95be58..a891ea9 100644 --- a/src/pages/playlists/[playlistId]/snapshots.astro +++ b/src/pages/playlists/[playlistId]/snapshots.astro @@ -1,10 +1,15 @@ --- import PlaylistPageTab from '@/layouts/PlaylistPageTab.astro'; +import SnapshotCalendar from '@/components/vue/SnapshotCalendar.vue'; + import { getPlaylistLayoutProps } from '@/utils/getPlaylistLayoutProps'; const layoutProps = await getPlaylistLayoutProps(Astro); --- -

TODO: Implement snapshot calendar

+

+ Click on a highlighted date to show a snapshot captured that day. +

+