Redesign landing page: hero with gradient brand wordmark, value pills (no ads / no sign-in / offline playlists), and clickable quick-search chips; refresh Windows installers
This commit is contained in:
@@ -942,6 +942,14 @@ function wireUI() {
|
||||
|
||||
els.newPlaylistBtn.addEventListener('click', () => newPlaylist(null));
|
||||
|
||||
// Landing-hero quick-search chips
|
||||
document.querySelectorAll('.chip').forEach((c) => {
|
||||
c.addEventListener('click', () => {
|
||||
els.searchInput.value = c.dataset.q || c.textContent.trim();
|
||||
els.searchForm.requestSubmit();
|
||||
});
|
||||
});
|
||||
|
||||
// Now-playing: Save (preload) + Add to playlist
|
||||
els.saveBtn.addEventListener('click', async () => {
|
||||
if (!current || !current.meta) return;
|
||||
|
||||
Reference in New Issue
Block a user