mirror of
https://github.com/cliffe/BreakEscape.git
synced 2026-02-20 13:50:46 +00:00
Add Spotify play button and styles for improved music integration
This commit is contained in:
@@ -65,6 +65,11 @@
|
||||
<!-- Biometrics is now handled as a minigame -->
|
||||
</div>
|
||||
|
||||
<!-- Spotify Play Music Button -->
|
||||
<a id="spotify-play-button" href="https://open.spotify.com/playlist/6c8rckDKa9j3ltwD3W4KHw?si=Hl0MJtg1Tny9peEtqtoahg&pi=GR6GLX9BRASlq" target="_blank" title="Play on Spotify">
|
||||
<img src="/break_escape/assets/icons/spotify_logo.png" alt="Spotify" class="spotify-logo">
|
||||
</a>
|
||||
|
||||
<%# Inventory Container %>
|
||||
<div id="inventory-container"></div>
|
||||
|
||||
|
||||
BIN
public/break_escape/assets/icons/spotify_logo.png
Normal file
BIN
public/break_escape/assets/icons/spotify_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 249 B |
@@ -610,4 +610,35 @@
|
||||
.toggle-buttons img {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
}
|
||||
|
||||
/* Spotify Play Button */
|
||||
#spotify-play-button {
|
||||
/* absolute position: top right; */
|
||||
position: fixed;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
z-index: 1001;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
transition: transform 0.2s, opacity 0.2s;
|
||||
padding: 8px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#spotify-play-button:hover {
|
||||
border-color: #1ed760;
|
||||
border-radius: 50%;
|
||||
background: rgba(29, 185, 84, 0.2);
|
||||
}
|
||||
|
||||
.spotify-logo {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
image-rendering: pixelated;
|
||||
image-rendering: -moz-crisp-edges;
|
||||
image-rendering: crisp-edges;
|
||||
}
|
||||
Reference in New Issue
Block a user