Add share buttons to play.html (share page)

- Copy Link and Share to X buttons on the shared player page
- Consistent Game Boy styling with main page

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
b1rdmania
2026-01-05 13:22:32 +00:00
parent 5528aef7f8
commit 63bd71202a
2 changed files with 64 additions and 0 deletions
+27
View File
@@ -268,6 +268,27 @@
width: 0%;
}
/* Share buttons */
.share-buttons {
margin-top: calc(var(--spacing-unit) * 2);
display: flex;
gap: calc(var(--spacing-unit) * 1.5);
flex-wrap: wrap;
}
.share-buttons button {
flex: 1;
min-width: 120px;
background: var(--gb-darkest);
color: var(--gb-light);
border-color: var(--gb-medium);
}
.share-buttons button:hover:not(:disabled) {
background: var(--gb-medium);
color: var(--gb-lightest);
}
/* CTA link (inside card) */
.cta-link-inline {
margin-top: calc(var(--spacing-unit) * 2);
@@ -372,6 +393,12 @@
</div>
</div>
<!-- Share buttons -->
<div id="shareButtons" class="share-buttons">
<button id="copyLinkBtn" type="button">Copy link</button>
<button id="shareToXBtn" type="button">Share to X</button>
</div>
<!-- iOS Audio Unlock -->
<div id="iosAudioBanner" class="ios-audio-banner">
<p>Check: not on silent, volume up, Focus mode off. Then tap:</p>