feat: artist pages

This commit is contained in:
Cory Dransfeldt 2024-05-23 17:27:23 -07:00
parent d39369bd99
commit 013daa1c82
No known key found for this signature in database
17 changed files with 390 additions and 130 deletions

View file

@ -0,0 +1,14 @@
window.onload = () => {
const button = document.querySelector('[data-toggle-button]')
const content = document.querySelector('[data-toggle-content]')
button.addEventListener('click', () => {
if (content.classList.contains('text-toggle-hidden')) {
content.classList.remove('text-toggle-hidden')
button.textContent = 'Show less'
} else {
content.classList.add('text-toggle-hidden')
button.textContent = 'Show more'
}
});
}