Configure shop app, admin sidebar, media routing, and Stripe dependencies
This commit is contained in:
commit
93d83a0d63
188 files changed
+9220
No files matched your search
@@ -0,0 +1,10 @@
|
||||
for (const band of document.querySelectorAll('[data-floating-artwork]')) {
|
||||
const button = band.querySelector('[data-float-control]');
|
||||
if (!button || !band.querySelector('.can-float')) continue;
|
||||
band.classList.add('motion-ready');
|
||||
button.hidden = false;
|
||||
button.addEventListener('click', () => {
|
||||
const paused = band.classList.toggle('motion-paused');
|
||||
button.textContent = paused ? 'Resume artwork motion' : 'Pause artwork motion';
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user