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:
Jonathan Sykes
2026-06-14 12:03:14 +08:00
parent 7ab486f15f
commit 4d5d105e70
6 changed files with 101 additions and 13 deletions

View File

@@ -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;