(612) 460-7377 Get a Quote

Our Craftsmanship Gallery

Explore real project photos showcasing custom bathroom remodels, waterproof walk-in showers, backsplashes, and custom floor tiling across the Twin Cities.

Inspired by Our Work?

Let us bring the same precision craftsmanship to your home. Request a free estimate today.

`); newTab.document.close(); } } } }); // 1. Fetch from gallery_photos database table if populated try { const { data: photos, error } = await client .from('gallery_photos') .select('*') .order('id', { ascending: false }); if (!error && photos && photos.length) { photos.forEach(item => { const url = item.image_url || item.url; if (url) { createGalleryCard(url, item.category || 'backsplashes', item.title, item.location); } }); } } catch (e) { console.info('DB gallery_photos check:', e); } // 2. Pure 100% Dynamic Storage Bucket Listing (No hardcoded filenames) const folders = ['', 'backsplashes', 'bathrooms', 'showers', 'floors', 'fireplaces']; for (const folder of folders) { try { const { data, error } = await client.storage.from('project-gallery').list(folder, { limit: 100, offset: 0, sortBy: { column: 'name', order: 'asc' } }); if (error) { console.warn(`[Supabase Storage Notice] Unable to list folder "${folder}":`, error.message); continue; } if (data && data.length) { data.forEach(file => { // Ignore hidden files and subfolder directory entries if (file.name && !file.name.startsWith('.') && file.id) { const encodedName = encodeURIComponent(file.name); const subPath = folder ? `${folder}/${encodedName}` : encodedName; const publicUrl = `${SUPABASE_URL}/storage/v1/object/public/project-gallery/${subPath}`; let detectedCat = folder; if (!detectedCat) { const lower = file.name.toLowerCase(); if (lower.includes('backsplash')) detectedCat = 'backsplashes'; else if (lower.includes('shower')) detectedCat = 'showers'; else if (lower.includes('bath')) detectedCat = 'bathrooms'; else if (lower.includes('floor')) detectedCat = 'floors'; else detectedCat = 'backsplashes'; } const titleCap = detectedCat ? (detectedCat.charAt(0).toUpperCase() + detectedCat.slice(1)) : 'Tile'; createGalleryCard(publicUrl, detectedCat, `${titleCap} Project`, 'Twin Cities, MN'); } }); } } catch (storageErr) { console.info(`Storage bucket list notice for ${folder}:`, storageErr); } } } catch (err) { console.warn('Supabase gallery auto-sync standing by:', err); } } loadSupabaseGallery(); function toggleMobileAccordion(btn) { btn.classList.toggle('active'); const content = btn.nextElementSibling; if (content) { content.classList.toggle('open'); } } Call (612) 460-7377