I'll build a beautiful anime airing schedule app using the AniList GraphQL API (since MAL doesn't allow direct browser requests due to CORS). Let me start by exploring the project structure.
Now let me install date-fns for date handling and build the app.
Now let me create all the necessary files. I'll start with types, API, and CSS:
Good, types file exists. Let me continue creating the remaining components:
Let me check the tsconfig to understand the module resolution:
Now let me create the main App component:
Let me fix all the TypeScript errors:
Now let me fix the DayTabs prop type to not require dayLabel:
Let me check what's happening with the types import:
The imports look correct. Let me update the HTML title and try building:
The build succeeds. Let me fix the CSS warning by moving the @import to the top:
Let me improve the day grouping logic to be more accurate with local timezone conversion:
Build is clean. Let me verify the App component looks correct:
The app looks complete. Let me do one final build to confirm everything works:
The AniSchedule app is built and ready! Here's what I created:
Features
📺 Anime Airing Schedule
- Fetches real-time data from the AniList GraphQL API (since MyAnimeList blocks CORS requests)
- Shows all currently airing anime organized by day of the week
🕐 Time & Countdown
- Live clock that updates every second with your local timezone
- Countdown timers on each anime card showing exactly when episodes air
- "AIRING NOW" badge with glowing animation for anime airing within 30 minutes
- "Currently Airing" banner at the top highlighting shows airing right now
🎯 Anime Card Details
- Cover image with hover animations
- Anime title (English or Romaji)
- Episode number (e.g., EP 12)
- Season & Year (e.g., Winter 2025)
- Format (TV, ONA, Movie, etc.)
- Score rating (⭐ badge)
- Genre tags
- Airing time in your local timezone
- Click any card to open the AniList page
🎨 UI/UX
- Dark anime-themed design with purple/pink accent colors and glow effects
- Day tabs to navigate between days of the week (auto-selects today)
- Search bar to filter anime by title
- Loading skeletons while data fetches
- Responsive grid (1-5 columns depending on screen size)
- Smooth animations (fade-in, hover effects, floating elements)
Files Created
src/App.tsx - Main app component
src/types.ts - TypeScript interfaces
src/api/anilist.ts - AniList GraphQL API integration
src/components/Header.tsx - App header
src/components/DayTabs.tsx - Day of week navigation tabs
src/components/AnimeCard.tsx - Individual anime card
src/components/SearchBar.tsx - Search input
src/index.css - Custom styles and animations
Files built: src/types.ts, src/api/anilist.ts, src/index.css, src/components/AnimeCard.tsx, src/components/DayTabs.tsx, src/components/Header.tsx, src/components/SearchBar.tsx, src/App.tsx, index.html