grantjr commited on
Commit
bc76b7d
Β·
verified Β·
1 Parent(s): a088337

Code the referenced systems design to completion.

Browse files

* Automatically proceed with next steps in order
* Automatically proceed with the plan in order.

# πŸ“š TV Guide Application
## Systems Design Plan

---

## File Tree

```text
tv-guide-app/
β”œβ”€β”€ .env.local
β”œβ”€β”€ next.config.js
β”œβ”€β”€ tsconfig.json
β”œβ”€β”€ eslint.config.cjs
β”œβ”€β”€ components/
β”‚ β”œβ”€β”€ auth/
β”‚ β”‚ β”œβ”€β”€ AuthModal.tsx
β”‚ β”‚ β”œβ”€β”€ AuthProviderButton.tsx
β”‚ β”‚ β”œβ”€β”€ SignInButton.tsx
β”‚ β”‚ └── AuthModal.module.css
β”‚ β”œβ”€β”€ dashboard/
β”‚ β”‚ β”œβ”€β”€ DashboardCard.tsx
β”‚ β”‚ β”œβ”€β”€ FavoritesPreview.tsx
β”‚ β”‚ β”œβ”€β”€ RemindersPreview.tsx
β”‚ β”‚ └── LoadingSkeleton.tsx
β”‚ β”œβ”€β”€ favorites/
β”‚ β”‚ β”œβ”€β”€ FavoritesList.tsx
β”‚ β”‚ β”œβ”€β”€ FavoriteCard.tsx
β”‚ β”‚ β”œβ”€β”€ FavoriteActionButton.tsx
β”‚ β”‚ └── FavoritesList.module.css
β”‚ β”œβ”€β”€ history/
β”‚ β”‚ β”œβ”€β”€ HistoryList.tsx
β”‚ β”‚ β”œβ”€β”€ HistoryCard.tsx
β”‚ β”‚ └── HistoryList.module.css
β”‚ β”œβ”€β”€ search/
β”‚ β”‚ β”œβ”€β”€ SearchBar.tsx
β”‚ β”‚ β”œβ”€β”€ SearchResults.tsx
β”‚ β”‚ β”œβ”€β”€ SearchFilters.tsx
β”‚ β”‚ └── SearchResultCard.tsx
β”‚ β”œβ”€β”€ settings/
β”‚ β”‚ β”œβ”€β”€ NotificationSettings.tsx
β”‚ β”‚ β”œβ”€β”€ AccountManagement.tsx
β”‚ β”‚ └── Settings.module.css
β”‚ β”œβ”€β”€ sidebar/
β”‚ β”‚ β”œβ”€β”€ Sidebar.tsx
β”‚ β”‚ β”œβ”€β”€ SidebarContent.tsx
β”‚ β”‚ β”œβ”€β”€ MobileDrawer.tsx
β”‚ β”‚ └── Sidebar.module.css
β”‚ β”œβ”€β”€ theme-toggle/
β”‚ β”‚ β”œβ”€β”€ ThemeToggle.tsx
β”‚ β”‚ └── ThemeToggle.module.css
β”‚ β”œβ”€β”€ user/
β”‚ β”‚ β”œβ”€β”€ UserMenu.tsx
β”‚ β”‚ └── UserMenu.module.css
β”‚ └── empty-state/
β”‚ β”œβ”€β”€ EmptyState.tsx
β”‚ └── EmptyState.module.css
β”œβ”€β”€ actions/
β”‚ β”œβ”€β”€ favorites.ts
β”‚ β”œβ”€β”€ history.ts
β”‚ β”œβ”€β”€ reminders.ts
β”‚ β”œβ”€β”€ search.ts
β”‚ β”œβ”€β”€ tv-guide.ts
β”‚ β”œβ”€β”€ dashboard.ts
β”‚ β”œβ”€β”€ profile.ts
β”‚ └── settings.ts
β”œβ”€β”€ db/
β”‚ β”œβ”€β”€ models/
β”‚ β”‚ β”œβ”€β”€ user.ts
β”‚ β”‚ β”œβ”€β”€ tv-listing.ts
β”‚ β”‚ β”œβ”€β”€ favorite.ts
β”‚ β”‚ β”œβ”€β”€ reminder.ts
β”‚ β”‚ β”œβ”€β”€ watch-history.ts
β”‚ β”‚ └── index.ts
β”‚ └── index.ts
β”œβ”€β”€ styles/
β”‚ β”œβ”€β”€ global.css
β”‚ └── variables.css
β”œβ”€β”€ app/
β”‚ β”œβ”€β”€ dashboard/
β”‚ β”‚ └── page.tsx
β”‚ β”œβ”€β”€ tv-guide/
β”‚ β”‚ └── page.tsx
β”‚ β”œβ”€β”€ search/
β”‚ β”‚ └── page.tsx
β”‚ β”œβ”€β”€ favorites/
β”‚ β”‚ └── page.tsx
β”‚ β”œβ”€β”€ reminders/
β”‚ β”‚ └── page.tsx
β”‚ β”œβ”€β”€ history/
β”‚ β”‚ └── page.tsx
β”‚ β”œβ”€β”€ profile/
β”‚ β”‚ └── page.tsx
β”‚ β”œβ”€β”€ settings/
β”‚ β”‚ └── page.tsx
β”‚ └── page.tsx
└── package.json
```

---

## πŸ“Œ Key Notes

### File Types
- `.tsx`: React components (e.g., `DashboardCard.tsx`)
- `.module.css`: CSS Modules for scoped styles (e.g., `DashboardCard.module.css`)
- `.ts`: Server actions and utilities (e.g., `favorites.ts`)
- `.css`: Global styles (e.g., `global.css`)

### Folder Structure
- `components/`: All UI components, organized by feature
- `actions/`: Server actions for business logic
- `db/`: Database models and migrations
- `styles/`: Global CSS and variables
- `app/`: Next.js App Router routes (e.g., `/dashboard`)

### Environment Variables
- `.env.local` contains API keys and secrets
Examples: `THEMOVIEDB_API_KEY`, `POSTGRES_URL`

### Next.js Configuration
- `next.config.js` enables Turbopack and absolute imports (`@/`)

---

## πŸ“ 1. Core Components

### Authentication
- `components/auth/SignInButton.tsx`, `AuthProviderButton.tsx`, `AuthModal.tsx`
- `actions/profile.ts` handles user profile and account management

### Layout & Navigation
- `components/sidebar/Sidebar.tsx`, `SidebarContent.tsx`, `MobileDrawer.tsx`
- `components/header/Header.tsx`, `SearchBar.tsx`, `NotificationBell.tsx`
- `components/theme-toggle/ThemeToggle.tsx`

### User Interaction
- `components/user/UserMenu.tsx`

### UI Elements
- `components/empty-state/EmptyState.tsx`
- `components/loader/Loader.tsx`, `Toast.tsx`, `ModalDialog.tsx`

---

## πŸ“ 2. Data & Business Logic

### Database Models
- `db/models/user.ts`, `tv-listing.ts`, `favorite.ts`, `reminder.ts`, `watch-history.ts`

### Server Actions
- `actions/favorites.ts`, `history.ts`, `reminders.ts`, `search.ts`, `tv-guide.ts`, `dashboard.ts`, `profile.ts`, `settings.ts`

### API Integration
- `actions/tv-guide.ts` fetches TV listings from TheMovieDB
- `actions/search.ts` provides unified search logic

---

## πŸ“ 3. Routing & Pages

### App Routes
- `app/dashboard/page.tsx`, `app/tv-guide/page.tsx`, `app/search/page.tsx`, etc.

### Default Route
- `app/page.tsx` (fallback for unhandled routes)

---

## πŸ“ 4. Styles & Configuration

- **Global Styles:** `styles/global.css`, `styles/variables.css`
- **Next.js Config:** `next.config.js` (Turbopack, absolute imports, theme support)
- **ESLint:** `eslint.config.cjs`
- **Environment Variables:** `.env.local` (API keys, database URLs)

---

## πŸ” 1. Overview

Full-stack TV guide app to discover, track, and manage TV shows, movies, and streaming content.

**Key features**
- Personalized Dashboard with trending, upcoming, and favorite content
- Unified TV Guide with filters and search
- Favorites and Reminders
- Watch History and Profile Management
- Authentication via GitHub/Google/Facebook
- Dark/Light Mode Toggle and Responsive Design

---

## 🧱 2. System Architecture

### πŸ“Œ Tech Stack
- **Frontend:** Next.js (App Router), TypeScript, CSS Modules, shadcn-ui
- **Backend:** Node.js, TypeScript, drizzle-orm (PostgreSQL), Auth.js
- **Database:** PostgreSQL (drizzle-orm/pg-core)
- **APIs:** TheMovieDB, Auth.js (OAuth), Environment Variables
- **Build Tools:** pnpm, Turbopack, ESLint
- **Styling:** CSS Modules (no Tailwind), shadcn-ui components

### πŸ“Œ Architecture Diagram

```mermaid
flowchart LR
U[User] <--> FE[Frontend (Next.js)]
FE <--> BE[Backend (Node.js)]
BE <--> DB[(PostgreSQL)]
FE -->|Auth.js| AUTH[Auth.js]
FE -->|Server Actions| BE
BE -->|drizzle-orm| DB
BE --> TMDB[TheMovieDB API]
```

---

## 🧩 3. Core Components

### πŸ“Œ Frontend Components

| Folder | Components | Description |
|------------------------|--------------------------------------------|----------------------------------------------|
| `components/auth/` | `SignInButton`, `AuthProviderButton`, `AuthModal` | Authentication UI |
| `components/sidebar/` | `Sidebar`, `SidebarContent`, `MobileDrawer`| Navigation layout |
| `components/header/` | `Header`, `SearchBar`, `NotificationBell` | Header with search and notifications |
| `components/theme-toggle/` | `ThemeToggle` | Dark/Light mode switch |
| `components/user/` | `UserMenu` | User profile and settings |
| `components/empty-state/` | `EmptyState` | Empty states (e.g., "No favorites") |
| `components/loader/` | `Loader` | Loading skeleton |
| `components/toast/` | `Toast` | Toast notifications |
| `components/modal-dialog/` | `ModalDialog` | Modal dialogs for forms/confirmations |

### πŸ“Œ Backend Components

| Folder / File | Components / Files | Description |
|--------------------|-------------------------------------------------------------------------------------|------------------------------------------|
| `actions/` | `favorites.ts`, `history.ts`, `reminders.ts`, `search.ts`, `tv-guide.ts`, `dashboard.ts`, `profile.ts`, `settings.ts` | Server actions for business logic |
| `db/models/` | `User`, `TVListing`, `Favorite`, `Reminder`, `WatchHistory` | Database schema definitions |
| `db/index.ts` | β€” | Database connection and migrations |

---

## πŸ”„ 4. Data Flow

### πŸ“Œ User Interaction Flow
1. **Authentication:**
User signs in via GitHub/Google/Facebook β†’ Auth.js handles OAuth β†’ redirect to `/dashboard` with session token.
2. **TV Guide:**
Fetch live and upcoming listings via `fetchLiveListings()` and `fetchUpcomingListings()` β†’ store in `TVListing` table via drizzle-orm.
3. **Favorites & Reminders:**
Add/remove favorites with `addFavorite()`/`removeFavorite()` β†’ set reminders with `addReminder()`/`updateReminder()`.
4. **Search:**
User searches via `searchListings()` β†’ filters TV shows/movies/channels β†’ results cached and shown in `SearchResults`.

### πŸ“Œ Database Operations
- **User:** CRUD via `User` model
- **TV Listings:** Fetch/Store via `TVListing` model
- **Favorites/Reminders/History:** CRUD via respective models
- **Authentication:** User persistence on first sign-in

---

## πŸ“‘ 5. APIs & Integrations

| Service | Description |
|-------------------------------------|-----------------------------------------------------------------|
| TheMovieDB API | Fetch trending, popular, and airing TV shows |
| Auth.js (GitHub/Google/Facebook) | User authentication and session management |
| PostgreSQL (drizzle-orm) | Centralized storage for users, listings, and metadata |
| Environment Variables | Secure storage of API keys (e.g., `THEMOVIEDB_API_KEY`, `POSTGRES_URL`) |
| Icons (`react-icons`)

Files changed (2) hide show
  1. README.md +8 -5
  2. index.html +300 -19
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Bingebuddy Tv Guide Wizard
3
- emoji: 🏒
4
- colorFrom: yellow
5
- colorTo: red
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
+ title: BingeBuddy TV Guide Wizard
3
+ colorFrom: green
4
+ colorTo: green
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
index.html CHANGED
@@ -1,19 +1,300 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="h-full">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>BingeBuddy | Your Personal TV Guide</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://unpkg.com/feather-icons"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
11
+ <style>
12
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
13
+ body {
14
+ font-family: 'Poppins', sans-serif;
15
+ background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
16
+ }
17
+ .hero-gradient {
18
+ background: linear-gradient(135deg, rgba(26,26,46,0.9) 0%, rgba(22,33,62,0.9) 100%);
19
+ }
20
+ .show-card {
21
+ transition: all 0.3s ease;
22
+ }
23
+ .show-card:hover {
24
+ transform: translateY(-5px);
25
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
26
+ }
27
+ .channel-logo {
28
+ filter: drop-shadow(0 0 8px rgba(255,255,255,0.3));
29
+ }
30
+ </style>
31
+ </head>
32
+ <body class="min-h-full text-white">
33
+ <!-- Vanta.js Background -->
34
+ <div id="vanta-bg" class="fixed inset-0 -z-10"></div>
35
+
36
+ <!-- Navigation -->
37
+ <nav class="border-b border-gray-700 bg-opacity-80 backdrop-blur-md">
38
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
39
+ <div class="flex items-center justify-between h-16">
40
+ <div class="flex items-center">
41
+ <div class="flex-shrink-0">
42
+ <i data-feather="tv" class="w-8 h-8 text-purple-400"></i>
43
+ </div>
44
+ <div class="hidden md:block">
45
+ <div class="ml-10 flex items-baseline space-x-4">
46
+ <a href="#" class="px-3 py-2 rounded-md text-sm font-medium bg-purple-600 text-white">Home</a>
47
+ <a href="#" class="px-3 py-2 rounded-md text-sm font-medium text-gray-300 hover:text-white hover:bg-gray-700">TV Guide</a>
48
+ <a href="#" class="px-3 py-2 rounded-md text-sm font-medium text-gray-300 hover:text-white hover:bg-gray-700">Favorites</a>
49
+ <a href="#" class="px-3 py-2 rounded-md text-sm font-medium text-gray-300 hover:text-white hover:bg-gray-700">Reminders</a>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ <div class="flex items-center space-x-4">
54
+ <div class="relative">
55
+ <input type="text" placeholder="Search shows..." class="bg-gray-800 text-white px-4 py-2 rounded-full text-sm focus:outline-none focus:ring-2 focus:ring-purple-500 w-64">
56
+ <button class="absolute right-3 top-2 text-gray-400">
57
+ <i data-feather="search"></i>
58
+ </button>
59
+ </div>
60
+ <button class="p-2 rounded-full bg-gray-800 text-gray-400 hover:text-white focus:outline-none">
61
+ <i data-feather="bell"></i>
62
+ </button>
63
+ <button class="p-2 rounded-full bg-gray-800 text-gray-400 hover:text-white focus:outline-none">
64
+ <i data-feather="user"></i>
65
+ </button>
66
+ </div>
67
+ </div>
68
+ </div>
69
+ </nav>
70
+
71
+ <!-- Hero Section -->
72
+ <div class="hero-gradient py-20">
73
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
74
+ <div class="lg:grid lg:grid-cols-2 lg:gap-8 items-center">
75
+ <div class="mb-12 lg:mb-0">
76
+ <h1 class="text-4xl md:text-5xl font-bold mb-6 leading-tight">
77
+ Never Miss Your <span class="text-purple-400">Favorite Shows</span> Again
78
+ </h1>
79
+ <p class="text-lg text-gray-300 mb-8 max-w-lg">
80
+ BingeBuddy helps you track all your favorite TV shows, movies, and streaming content in one place. Get personalized recommendations and never forget when your shows air.
81
+ </p>
82
+ <div class="flex space-x-4">
83
+ <button class="bg-purple-600 hover:bg-purple-700 text-white px-6 py-3 rounded-lg font-medium transition duration-300 flex items-center">
84
+ <i data-feather="play" class="mr-2"></i> Get Started
85
+ </button>
86
+ <button class="bg-gray-700 hover:bg-gray-600 text-white px-6 py-3 rounded-lg font-medium transition duration-300 flex items-center">
87
+ <i data-feather="info" class="mr-2"></i> Learn More
88
+ </button>
89
+ </div>
90
+ </div>
91
+ <div class="relative">
92
+ <div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 backdrop-blur-md border border-gray-700">
93
+ <div class="flex justify-between items-center mb-4">
94
+ <h3 class="text-xl font-semibold">Today's Highlights</h3>
95
+ <span class="text-sm text-purple-400">See All</span>
96
+ </div>
97
+ <div class="grid grid-cols-3 gap-4">
98
+ <div class="show-card bg-gray-700 rounded-lg overflow-hidden">
99
+ <img src="http://static.photos/technology/320x240/1" alt="Show" class="w-full h-32 object-cover">
100
+ <div class="p-3">
101
+ <h4 class="text-sm font-medium truncate">Tech Today</h4>
102
+ <p class="text-xs text-gray-400">8:00 PM</p>
103
+ </div>
104
+ </div>
105
+ <div class="show-card bg-gray-700 rounded-lg overflow-hidden">
106
+ <img src="http://static.photos/nature/320x240/2" alt="Show" class="w-full h-32 object-cover">
107
+ <div class="p-3">
108
+ <h4 class="text-sm font-medium truncate">Wild Planet</h4>
109
+ <p class="text-xs text-gray-400">9:30 PM</p>
110
+ </div>
111
+ </div>
112
+ <div class="show-card bg-gray-700 rounded-lg overflow-hidden">
113
+ <img src="http://static.photos/food/320x240/3" alt="Show" class="w-full h-32 object-cover">
114
+ <div class="p-3">
115
+ <h4 class="text-sm font-medium truncate">Cooking Masters</h4>
116
+ <p class="text-xs text-gray-400">7:00 PM</p>
117
+ </div>
118
+ </div>
119
+ </div>
120
+ </div>
121
+ </div>
122
+ </div>
123
+ </div>
124
+ </div>
125
+
126
+ <!-- Trending Now Section -->
127
+ <section class="py-16">
128
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
129
+ <div class="flex justify-between items-center mb-8">
130
+ <h2 class="text-2xl font-bold">Trending Now</h2>
131
+ <a href="#" class="text-purple-400 hover:text-purple-300 flex items-center">
132
+ View All <i data-feather="chevron-right" class="ml-1"></i>
133
+ </a>
134
+ </div>
135
+ <div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-6">
136
+ <!-- Show Cards -->
137
+ <div class="show-card bg-gray-800 rounded-lg overflow-hidden">
138
+ <div class="relative">
139
+ <img src="http://static.photos/technology/320x240/4" alt="Show" class="w-full h-40 object-cover">
140
+ <div class="absolute top-2 right-2 bg-black bg-opacity-70 rounded-full p-1">
141
+ <i data-feather="heart" class="w-4 h-4 text-white"></i>
142
+ </div>
143
+ </div>
144
+ <div class="p-3">
145
+ <h3 class="font-medium truncate">Cyber Frontier</h3>
146
+ <p class="text-xs text-gray-400">Sci-Fi β€’ New Episode</p>
147
+ <div class="flex justify-between items-center mt-2">
148
+ <span class="text-xs text-purple-400">9.2/10</span>
149
+ <span class="text-xs text-gray-500">8:00 PM</span>
150
+ </div>
151
+ </div>
152
+ </div>
153
+ <!-- Repeat similar cards for other shows -->
154
+ <div class="show-card bg-gray-800 rounded-lg overflow-hidden">
155
+ <div class="relative">
156
+ <img src="http://static.photos/education/320x240/5" alt="Show" class="w-full h-40 object-cover">
157
+ <div class="absolute top-2 right-2 bg-black bg-opacity-70 rounded-full p-1">
158
+ <i data-feather="heart" class="w-4 h-4 text-gray-400"></i>
159
+ </div>
160
+ </div>
161
+ <div class="p-3">
162
+ <h3 class="font-medium truncate">History Uncovered</h3>
163
+ <p class="text-xs text-gray-400">Documentary</p>
164
+ <div class="flex justify-between items-center mt-2">
165
+ <span class="text-xs text-purple-400">8.7/10</span>
166
+ <span class="text-xs text-gray-500">7:30 PM</span>
167
+ </div>
168
+ </div>
169
+ </div>
170
+ <div class="show-card bg-gray-800 rounded-lg overflow-hidden">
171
+ <div class="relative">
172
+ <img src="http://static.photos/travel/320x240/6" alt="Show" class="w-full h-40 object-cover">
173
+ <div class="absolute top-2 right-2 bg-black bg-opacity-70 rounded-full p-1">
174
+ <i data-feather="heart" class="w-4 h-4 text-white"></i>
175
+ </div>
176
+ </div>
177
+ <div class="p-3">
178
+ <h3 class="font-medium truncate">Global Explorer</h3>
179
+ <p class="text-xs text-gray-400">Travel β€’ New Season</p>
180
+ <div class="flex justify-between items-center mt-2">
181
+ <span class="text-xs text-purple-400">9.0/10</span>
182
+ <span class="text-xs text-gray-500">10:00 PM</span>
183
+ </div>
184
+ </div>
185
+ </div>
186
+ <div class="show-card bg-gray-800 rounded-lg overflow-hidden">
187
+ <div class="relative">
188
+ <img src="http://static.photos/sport/320x240/7" alt="Show" class="w-full h-40 object-cover">
189
+ <div class="absolute top-2 right-2 bg-black bg-opacity-70 rounded-full p-1">
190
+ <i data-feather="heart" class="w-4 h-4 text-gray-400"></i>
191
+ </div>
192
+ </div>
193
+ <div class="p-3">
194
+ <h3 class="font-medium truncate">Sports Night</h3>
195
+ <p class="text-xs text-gray-400">Live β€’ Football</p>
196
+ <div class="flex justify-between items-center mt-2">
197
+ <span class="text-xs text-purple-400">Live</span>
198
+ <span class="text-xs text-gray-500">Now</span>
199
+ </div>
200
+ </div>
201
+ </div>
202
+ <div class="show-card bg-gray-800 rounded-lg overflow-hidden">
203
+ <div class="relative">
204
+ <img src="http://static.photos/science/320x240/8" alt="Show" class="w-full h-40 object-cover">
205
+ <div class="absolute top-2 right-2 bg-black bg-opacity-70 rounded-full p-1">
206
+ <i data-feather="heart" class="w-4 h-4 text-white"></i>
207
+ </div>
208
+ </div>
209
+ <div class="p-3">
210
+ <h3 class="font-medium truncate">Science Today</h3>
211
+ <p class="text-xs text-gray-400">Educational</p>
212
+ <div class="flex justify-between items-center mt-2">
213
+ <span class="text-xs text-purple-400">8.5/10</span>
214
+ <span class="text-xs text-gray-500">6:00 PM</span>
215
+ </div>
216
+ </div>
217
+ </div>
218
+ <div class="show-card bg-gray-800 rounded-lg overflow-hidden">
219
+ <div class="relative">
220
+ <img src="http://static.photos/medical/320x240/9" alt="Show" class="w-full h-40 object-cover">
221
+ <div class="absolute top-2 right-2 bg-black bg-opacity-70 rounded-full p-1">
222
+ <i data-feather="heart" class="w-4 h-4 text-gray-400"></i>
223
+ </div>
224
+ </div>
225
+ <div class="p-3">
226
+ <h3 class="font-medium truncate">Medical Files</h3>
227
+ <p class="text-xs text-gray-400">Drama β€’ Season Finale</p>
228
+ <div class="flex justify-between items-center mt-2">
229
+ <span class="text-xs text-purple-400">9.1/10</span>
230
+ <span class="text-xs text-gray-500">9:00 PM</span>
231
+ </div>
232
+ </div>
233
+ </div>
234
+ </div>
235
+ </div>
236
+ </section>
237
+
238
+ <!-- Channels Section -->
239
+ <section class="py-16 bg-gray-900 bg-opacity-50">
240
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
241
+ <h2 class="text-2xl font-bold mb-8">Popular Channels</h2>
242
+ <div class="grid grid-cols-3 sm:grid-cols-4 md:grid-cols-6 lg:grid-cols-8 gap-4">
243
+ <div class="flex flex-col items-center">
244
+ <div class="channel-logo bg-gray-800 rounded-full p-3 mb-2">
245
+ <i data-feather="tv" class="w-6 h-6 text-purple-400"></i>
246
+ </div>
247
+ <span class="text-xs text-center">HBO</span>
248
+ </div>
249
+ <div class="flex flex-col items-center">
250
+ <div class="channel-logo bg-gray-800 rounded-full p-3 mb-2">
251
+ <i data-feather="tv" class="w-6 h-6 text-red-400"></i>
252
+ </div>
253
+ <span class="text-xs text-center">Netflix</span>
254
+ </div>
255
+ <div class="flex flex-col items-center">
256
+ <div class="channel-logo bg-gray-800 rounded-full p-3 mb-2">
257
+ <i data-feather="tv" class="w-6 h-6 text-blue-400"></i>
258
+ </div>
259
+ <span class="text-xs text-center">Disney+</span>
260
+ </div>
261
+ <div class="flex flex-col items-center">
262
+ <div class="channel-logo bg-gray-800 rounded-full p-3 mb-2">
263
+ <i data-feather="tv" class="w-6 h-6 text-yellow-400"></i>
264
+ </div>
265
+ <span class="text-xs text-center">Prime</span>
266
+ </div>
267
+ <div class="flex flex-col items-center">
268
+ <div class="channel-logo bg-gray-800 rounded-full p-3 mb-2">
269
+ <i data-feather="tv" class="w-6 h-6 text-green-400"></i>
270
+ </div>
271
+ <span class="text-xs text-center">Hulu</span>
272
+ </div>
273
+ <div class="flex flex-col items-center">
274
+ <div class="channel-logo bg-gray-800 rounded-full p-3 mb-2">
275
+ <i data-feather="tv" class="w-6 h-6 text-pink-400"></i>
276
+ </div>
277
+ <span class="text-xs text-center">Apple TV</span>
278
+ </div>
279
+ <div class="flex flex-col items-center">
280
+ <div class="channel-logo bg-gray-800 rounded-full p-3 mb-2">
281
+ <i data-feather="tv" class="w-6 h-6 text-orange-400"></i>
282
+ </div>
283
+ <span class="text-xs text-center">Discovery</span>
284
+ </div>
285
+ <div class="flex flex-col items-center">
286
+ <div class="channel-logo bg-gray-800 rounded-full p-3 mb-2">
287
+ <i data-feather="tv" class="w-6 h-6 text-indigo-400"></i>
288
+ </div>
289
+ <span class="text-xs text-center">Nat Geo</span>
290
+ </div>
291
+ </div>
292
+ </div>
293
+ </section>
294
+
295
+ <!-- Features Section -->
296
+ <section class="py-16">
297
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
298
+ <h2 class="text-2xl font-bold mb-12 text
299
+ </body>
300
+ </html>