diff --git a/src/web/sections/favorites/book-tile.astro b/src/web/sections/favorites/book-tile.astro index 166424c..44b6ca3 100644 --- a/src/web/sections/favorites/book-tile.astro +++ b/src/web/sections/favorites/book-tile.astro @@ -8,7 +8,7 @@ export interface Props extends Book {} const { author, image, title, url } = Astro.props; --- - +
diff --git a/src/web/sections/favorites/favorites-section.web.astro b/src/web/sections/favorites/favorites-section.web.astro index 6a99e44..88ad6f3 100644 --- a/src/web/sections/favorites/favorites-section.web.astro +++ b/src/web/sections/favorites/favorites-section.web.astro @@ -15,16 +15,16 @@ const { config, books, medias, people, videos } = Astro.props;
- + {books?.data.map((book) => )} - + {people?.data.map((person) => )} - + {videos?.data.map((video) => )} - + {medias?.data.map((media) => )}
diff --git a/src/web/sections/favorites/favorites-sub-section.astro b/src/web/sections/favorites/favorites-sub-section.astro index f225b4b..a3653d2 100644 --- a/src/web/sections/favorites/favorites-sub-section.astro +++ b/src/web/sections/favorites/favorites-sub-section.astro @@ -4,19 +4,25 @@ import Typography from '@/web/components/typography.astro'; export interface Props { subSection?: SubSection; - class: string; + minTileWidth: number; } -const { subSection, ...props } = Astro.props; +const { subSection, minTileWidth } = Astro.props; --- { subSection && (
{subSection.title} -
+
) } + + diff --git a/src/web/sections/favorites/media-tile.astro b/src/web/sections/favorites/media-tile.astro index 739aa6f..cd318d2 100644 --- a/src/web/sections/favorites/media-tile.astro +++ b/src/web/sections/favorites/media-tile.astro @@ -8,7 +8,7 @@ export interface Props extends Media {} const { image, title, type, url } = Astro.props; --- -
+