Add shareable profile link to settings and sidebar

This commit is contained in:
Jonathan Sykes
2026-08-15 06:58:43 +00:00
parent 70460232f0
commit b2154bd9c4
3 changed files with 178 additions and 5 deletions

View File

@@ -51,6 +51,17 @@
<div id="smartPlaylistList" class="playlist-list smart-pl-list"></div>
<div class="sidebar-footer">
<!-- Shown only when an online profile is linked (see updateProfileStatus) -->
<div id="sidebarProfile" class="sb-profile hidden">
<div class="sb-profile-id">
<span class="sb-profile-mark">👤</span>
<span id="sidebarProfileName" class="sb-profile-name"></span>
</div>
<div class="sb-profile-actions">
<button id="sidebarProfileCopy" class="sb-profile-btn" type="button" title="Copy profile link">⧉ Copy link</button>
<button id="sidebarProfileShare" class="sb-profile-btn" type="button" title="Share profile link">↗ Share</button>
</div>
</div>
<label class="switch">
<input type="checkbox" id="audioOnlyToggle" />
<span>Audio-only mode</span>