FineLake Clay Studio

Return to your studio rhythm

Sign-in is a local demonstration and does not transmit credentials.

Begin your clay journal

Registration is a local demonstration for this studio website.

A note is welcome

Let’s plan your next making session.

Tell us what you are hoping to learn. We usually reply during the next studio day.

Studio desk

Phone: +1 (503) 555-0184

Email: [email protected]

We can help with level selection, materials, scheduling, private groups, and access questions.

Please review your note

Thank you

Your message has been received. We will reply soon.

`; const footerHTML = ` `; document.querySelector('header').innerHTML = headerHTML; document.querySelector('footer').innerHTML = footerHTML; document.querySelectorAll('[data-open-dialog]').forEach(b=>b.addEventListener('click',()=>document.getElementById(b.dataset.openDialog).showModal())); document.querySelectorAll('[data-close-dialog]').forEach(b=>b.addEventListener('click',()=>b.closest('dialog').close())); document.getElementById('mobile-menu-toggle')?.addEventListener('click',e=>{const n=document.getElementById('mobile-navigation');const open=n.classList.toggle('hidden');e.currentTarget.setAttribute('aria-expanded',String(!open));}); document.getElementById('theme-toggle')?.addEventListener('click',()=>{document.documentElement.classList.toggle('dark');localStorage.setItem('finelake-theme',document.documentElement.classList.contains('dark')?'dark':'light');}); if(localStorage.getItem('finelake-theme')==='dark') document.documentElement.classList.add('dark'); const cookieBanner=document.getElementById('cookie-banner'); if(localStorage.getItem('finelake-cookie-choice')) cookieBanner?.remove(); document.getElementById('accept-cookies')?.addEventListener('click',()=>{localStorage.setItem('finelake-cookie-choice','accepted');cookieBanner.remove();}); const form = document.getElementById('contact-form'); const errorDialog = document.getElementById('error-dialog'); const errorText = document.getElementById('error-text'); form.addEventListener('submit',function(e){ const errors = []; if(!form.name.value.trim()) errors.push('Please enter your name.'); if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(form.email.value)) errors.push('Please enter a valid email address.'); if(!form.phone.value.trim()) errors.push('Please enter a phone number.'); if(form.message.value.trim().length<15) errors.push('Please write at least 15 characters.'); if(errors.length){ e.preventDefault(); errorText.textContent = errors.join(' '); errorDialog.showModal(); } });