Changeset d1ee039 for frontend/src/pages/LandingPage.tsx
- Timestamp:
- 02/15/26 23:28:14 (5 months ago)
- Branches:
- main
- Children:
- 615dcee, c807e22
- Parents:
- c8baad1
- File:
-
- 1 edited
-
frontend/src/pages/LandingPage.tsx (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/pages/LandingPage.tsx
rc8baad1 rd1ee039 76 76 setOpenPlaylistDropdown(songId); 77 77 } 78 };79 80 const handleCreateNewPlaylist = (songId: number) => {81 console.log(`Creating new playlist for song ${songId}`);82 // TODO: Implement actual playlist creation83 setOpenPlaylistDropdown(null);84 78 }; 85 79 … … 273 267 key={cat.value} 274 268 onClick={() => handleCategorySwitch(cat.value)} 275 className={`px-4 py-1.5 rounded-full text-sm font-medium transition-colors ${269 className={`px-4 py-1.5 rounded-full text-sm font-medium transition-colors cursor-pointer ${ 276 270 searchCategory === cat.value 277 271 ? "bg-[#1db954] text-black" … … 488 482 isOpen={openPlaylistDropdown === song.id} 489 483 onClose={() => setOpenPlaylistDropdown(null)} 490 onCreateNewPlaylist={() =>491 handleCreateNewPlaylist(song.id)492 }493 484 direction="above" 494 485 />
Note:
See TracChangeset
for help on using the changeset viewer.
