Now let's set up the foundation: fonts, title, and core types/lib.
Now let's create the AniList types and API client.
Now let's build the components. Starting with a Loader/Skeleton, AnimeCard, and Navbar.
Now let's create the AnimeRow (carousel), Navbar, and Hero components.
Now let's create the TrailerModal, GenreGrid, SearchOverlay, and Footer components.
Now the SearchOverlay and Footer:
Now let's build the project to check for errors.
Build succeeded. Let's double check the app in dev mode conceptually by reviewing a couple of details — particularly checking unused import warnings and the activeGenre prop passed to Navbar (unused there), and confirm everything renders logically.
Now let's rebuild to confirm everything still compiles cleanly.
The build completed successfully. Here's a summary of what I built:
SEKAI — Anime Universe, a majestic anime discovery/streaming website powered live by the AniList GraphQL API:
Design
- Deep cosmic dark theme with fuchsia/indigo/violet gradients, glassmorphism navbar, glowing borders, and elegant typography (Cinzel display font + Outfit sans + Noto Sans JP accents)
- Custom animated scrollbar, shimmer skeleton loaders, and smooth Framer Motion transitions throughout
Features
- Hero carousel — auto-rotating showcase of top trending anime with banner art, score, genres, synopsis, "Watch Trailer" and "View Details" actions
- Horizontal scrollable rows: Trending Now (ranked), All-Time Popular, This Season, Top Rated (ranked), Coming Soon, Cinematic Masterpieces (movies) — all fetched in a single optimized GraphQL request using aliases to respect AniList's rate limits
- Live search with debounced input and a full-screen results overlay
- Genre explorer grid (18 genres, color-coded) with paginated "Load More" browsing per genre
- Anime detail modal — banner, cover art, score, status, studios, genres, synopsis, characters carousel, and related anime (clickable to navigate)
- Trailer modal — embeds the real YouTube/Dailymotion trailer from AniList data
- Fully responsive layout with mobile menu and touch-friendly carousels
Architecture
src/lib/anilist.ts — GraphQL client with caching, retry-on-rate-limit logic, and all queries (home feed, search, genre, details)
src/types/anilist.ts — typed AniList schema models
- Componentized under
src/components/ (Navbar, Hero, AnimeCard, AnimeRow, AnimeModal, TrailerModal, GenreGrid, GenreExplorer, SearchOverlay, Footer, Loader)
The project builds cleanly with npm run build.
Files built: index.html, src/index.css, src/types/anilist.ts, src/lib/anilist.ts, src/components/Loader.tsx, src/components/AnimeCard.tsx, src/components/AnimeRow.tsx, src/components/Navbar.tsx, src/components/Hero.tsx, src/components/AnimeModal.tsx, src/components/TrailerModal.tsx, src/components/GenreGrid.tsx, src/components/SearchOverlay.tsx, src/components/Footer.tsx, src/components/GenreExplorer.tsx, src/App.tsx