--- /** * anime.astro — Anime * --------------------------------------------------------------------------- * The primary pillar: 150+ completed series. Favorites render as poster cards * up top (populated by scripts/fetch-anime-art.mjs); the full library is * grouped by category below. Follows the canonical interest-page template. */ import BaseLayout from "@layouts/BaseLayout.astro"; import Reveal from "@components/motion/Reveal.astro"; import InterestHero from "@components/layout/InterestHero.astro"; import MediaCard from "@components/cards/MediaCard.astro"; import CategoryList from "@components/media/CategoryList.astro"; import SectionHeader from "@components/layout/SectionHeader.astro"; import RelatedInterests from "@components/layout/RelatedInterests.astro"; import Placeholder from "@components/layout/Placeholder.astro"; import { getFavorites, getGrouped, mediaKinds, getCount } from "@lib/media"; const meta = mediaKinds.anime; const favorites = getFavorites("anime"); const groups = getGrouped("anime"); const count = getCount("anime"); const related = [ { href: "/interests/tv", title: "TV Shows", icon: "television-classic", blurb: "When I step away from animation, the live-action backlog is waiting.", }, { href: "/interests/reading", title: "Reading", icon: "book-open-page-variant", blurb: "Half of these have light novels and manga I'm reading too.", }, ]; ---
{/* Overview */}

{meta.overview}

{/* Favorites */}
{ favorites.length > 0 ? (
{favorites.map((item, i) => ( ))}
) : ( ) }
{/* Full library */}
{groups.length > 0 ? ( ) : ( )}