### 1. __artists-grid.tsx__ (Main Artist Browsing)
- Uses hook from
- Fetches from endpoint
- Includes loading states, error handling, and filtering
- __Impact:__ Primary artist browsing experience now fully API-driven
### 2. __artist-portfolio.tsx__ (Individual Artist Pages)
- Uses hook
- Fetches from endpoint
- Fixed all TypeScript errors (changed image ID from number to string)
- Added loading/error states
- __Impact:__ Artist detail pages now fully API-driven
### 3. __booking-form.tsx__ (Artist Selection Dropdown)
- Uses hook for artist selection
- Updated to use API data structure ( array, , etc.)
- Added loading state for dropdown
- __Impact:__ Booking flow now uses real artist data
## ⚠️ REMAINING (Decorative/Marketing Components)
Two complex components still use hardcoded :
### 4. __artists-section.tsx__ (Homepage Hero - 348 lines)
- Homepage marketing section with complex parallax scrolling
- Uses hardcoded artist data for visual cards
- __Non-blocking:__ This is a decorative homepage element
### 5. __artists-page-section.tsx__ (Artists Page Section - 413 lines)
- Full-page artists showcase with parallax effects
- Uses hardcoded artist data for visual layout
- __Non-blocking:__ Alternative to artists-grid.tsx (which IS using API)
##
3 lines
615 B
SQL
3 lines
615 B
SQL
CREATE TABLE IF NOT EXISTS tags (tag TEXT NOT NULL, path TEXT NOT NULL, UNIQUE(tag, path) ON CONFLICT REPLACE);
|
|
CREATE TABLE IF NOT EXISTS revalidations (tag TEXT NOT NULL, revalidatedAt INTEGER NOT NULL, UNIQUE(tag) ON CONFLICT REPLACE);
|
|
INSERT INTO tags (tag, path) VALUES ("SVr_7PUfBPR5HoMg6Gqfy/_N_T_/layout", "SVr_7PUfBPR5HoMg6Gqfy/favicon.ico"), ("SVr_7PUfBPR5HoMg6Gqfy/_N_T_/favicon.ico/layout", "SVr_7PUfBPR5HoMg6Gqfy/favicon.ico"), ("SVr_7PUfBPR5HoMg6Gqfy/_N_T_/favicon.ico/route", "SVr_7PUfBPR5HoMg6Gqfy/favicon.ico"), ("SVr_7PUfBPR5HoMg6Gqfy/_N_T_/favicon.ico", "SVr_7PUfBPR5HoMg6Gqfy/favicon.ico"); |