Diff -- /var/www/vhosts/3dshawn.com/shop.3dshawn.com/TEMPLATES/store_layouts/stage.html
Diff
/var/www/vhosts/3dshawn.com/shop.3dshawn.com/TEMPLATES/store_layouts/stage.html
added on local at 2026-07-01 22:10:05
Added
+92
lines
Removed
-0
lines
Context
0
unchanged
Blobs
from
to 9dce7b813a56
to 9dce7b813a56
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.| 1 | <!-- ===================================================================== | |
| 2 | LAYOUT: Stage | |
| 3 | Theatre stage with curtain frames and a spotlight on the featured. | |
| 4 | ===================================================================== --> | |
| 5 | ||
| 6 | <style> | |
| 7 | :root { $theme_css_vars } | |
| 8 | .st-stage { position:relative; padding: 32px 32px 60px; max-width:1400px; margin:0 auto; } | |
| 9 | .st-curtain { position:fixed; top:0; bottom:0; width:80px; background: linear-gradient(180deg, var(--col-accent-deep) 0%, var(--col-accent) 50%, var(--col-accent-deep) 100%); pointer-events:none; z-index:1; box-shadow: inset -8px 0 16px rgba(0,0,0,0.5); } | |
| 10 | .st-curtain.left { left:0; background: linear-gradient(180deg, var(--col-accent-deep) 0%, var(--col-accent) 50%, var(--col-accent-deep) 100%); box-shadow: inset 8px 0 16px rgba(0,0,0,0.5); } | |
| 11 | .st-curtain::before { content:""; position:absolute; top:0; bottom:0; left:0; right:0; background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.15) 0 4px, transparent 4px 16px); } | |
| 12 | @media (max-width:900px) { .st-curtain { display:none; } } | |
| 13 | ||
| 14 | .st-spotlight { position:relative; padding: 48px; min-height: 60vh; background: radial-gradient(ellipse at top, var(--col-accent-glow) 0%, transparent 60%), var(--col-bg); display:flex; align-items:center; justify-content:center; flex-direction:column; text-align:center; border-radius:8px; overflow:hidden; } | |
| 15 | .st-spotlight::before { content:""; position:absolute; top:-40px; left:50%; transform:translateX(-50%); width:200px; height:80px; background:radial-gradient(ellipse at top, var(--col-accent), transparent 70%); opacity:0.6; pointer-events:none; } | |
| 16 | .st-spotlight img { max-height: 280px; max-width: 70%; object-fit: contain; filter: drop-shadow(0 12px 24px var(--col-accent-glow)); margin-bottom: 24px; } | |
| 17 | ||
| 18 | .st-row { display:grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 32px; } | |
| 19 | .st-act { background: var(--col-surface-1); border: 1px solid var(--col-border); border-radius: 8px; overflow: hidden; text-decoration:none; transition: border-color 0.15s, box-shadow 0.15s; } | |
| 20 | .st-act:hover { border-color: var(--col-accent); box-shadow: 0 0 20px var(--col-accent-glow); } | |
| 21 | .st-act .img { aspect-ratio: 1; background-size: cover; background-position: center; } | |
| 22 | </style> | |
| 23 | ||
| 24 | <div class="st-curtain left"></div> | |
| 25 | <div class="st-curtain right"></div> | |
| 26 | ||
| 27 | [if:$preview_banner]<div style="position:sticky;top:0;z-index:9999;background:#0a0e1c;border-bottom:1px solid rgba(59,130,246,0.40);box-shadow:0 4px 16px rgba(0,0,0,0.55);padding:10px 20px;text-align:center;font-size:13px;color:#93c5fd;font-weight:600">$preview_banner</div>[/if] | |
| 28 | ||
| 29 | <header style="background:var(--col-bg-2);padding:18px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--col-border);position:relative;z-index:5;margin: 0 80px;flex-wrap:wrap"> | |
| 30 | <a href="/store.cgi?id=$store_id" style="display:flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0"> | |
| 31 | <div class="brand-mark" style="background:linear-gradient(130deg, var(--col-accent), var(--col-accent-bright))">$store_initials</div> | |
| 32 | <div> | |
| 33 | <div style="font-family:var(--font-display);font-size:20px;font-weight:800;color:var(--col-text);letter-spacing:-0.01em">$store_name</div> | |
| 34 | <div style="font-size:10px;letter-spacing:3px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700">Now on stage</div> | |
| 35 | </div> | |
| 36 | </a> | |
| 37 | <nav style="display:flex;gap:18px;align-items:center;flex-wrap:wrap"> | |
| 38 | [loop:@nav_pages]<a href="$loop1.href" style="font-size:13px;color:var(--col-text-2);font-weight:600;text-decoration:none">$loop1.title</a>[/loop] | |
| 39 | </nav> | |
| 40 | <div style="flex:1;display:flex;justify-content:center;min-width:0">$store_search_form</div> | |
| 41 | <div style="display:flex;gap:10px"></div> | |
| 42 | <div style="display:inline-flex;gap:8px;align-items:center;margin-left:8px">$store_signin_link $store_cart_link</div> | |
| 43 | </header> | |
| 44 | ||
| 45 | [if:$is_specific_page] | |
| 46 | [if:$page_not_found]<section style="padding:120px 32px;text-align:center;margin: 0 80px"><h1 class="hero-title" style="font-size:64px">Off-stage.</h1></section>[/if] | |
| 47 | [if:!$page_not_found]<section class="st-stage"><h1 style="font-family:var(--font-display);font-size:48px;font-weight:800;color:var(--col-text);text-align:center">$page_title</h1><div class="text-secondary" style="font-size:16px;line-height:1.7;margin-top:18px;white-space:pre-wrap;max-width:800px;margin:18px auto 0">$page_body</div></section>[/if] | |
| 48 | [/if] | |
| 49 | ||
| 50 | [if:!$is_specific_page] | |
| 51 | <section class="st-stage" style="margin: 0 80px;max-width:none"> | |
| 52 | ||
| 53 | <!-- Spotlight on the featured --> | |
| 54 | <div class="st-spotlight"> | |
| 55 | <div style="font-family:var(--font-mono,monospace);font-size:11px;letter-spacing:5px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700;margin-bottom:18px">Tonight's headliner</div> | |
| 56 | <img src="/assets/images/[$featured_product.image_idx].webp" alt="$featured_product.title"> | |
| 57 | <h1 style="font-family:var(--font-display);font-size:clamp(40px,6vw,80px);font-weight:900;color:var(--col-text);line-height:0.95;letter-spacing:-0.03em;margin:0 0 10px">$featured_product.title</h1> | |
| 58 | <p style="font-size:16px;color:var(--col-text-2);max-width:560px;margin:0 0 24px;font-style:italic">"$store_tagline"</p> | |
| 59 | <div style="display:flex;gap:12px"><span style="font-family:var(--font-display);font-size:28px;font-weight:800;color:var(--col-accent-bright)">$featured_product.price</span><a href="#" class="btn btn-primary btn-lg">Get the item</a></div> | |
| 60 | </div> | |
| 61 | ||
| 62 | <!-- The cast --> | |
| 63 | <div id="shop"> | |
| 64 | <div style="display:flex;justify-content:space-between;align-items:flex-end;margin-top:40px;margin-bottom:8px"> | |
| 65 | <div> | |
| 66 | <div style="font-family:var(--font-mono,monospace);font-size:11px;letter-spacing:3px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700">Tonight's cast</div> | |
| 67 | <h2 style="font-family:var(--font-display);font-size:32px;color:var(--col-text);margin:6px 0 0;font-weight:800;letter-spacing:-0.02em">$product_count items</h2> | |
| 68 | </div> | |
| 69 | </div> | |
| 70 | <div class="st-row"> | |
| 71 | [loop:@products] | |
| 72 | <a href="/listing_details.cgi?id=$loop1.id" class="st-act"> | |
| 73 | <div class="img" style="background-image:url('$loop1.hero_image')"></div> | |
| 74 | <div style="padding:14px"> | |
| 75 | <div style="font-family:var(--font-mono,monospace);font-size:9px;letter-spacing:2px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700">Act $loop1.id</div> | |
| 76 | <div style="font-family:var(--font-display);font-size:16px;font-weight:700;color:var(--col-text);margin:4px 0 8px">$loop1.title</div> | |
| 77 | <div style="display:flex;justify-content:space-between;align-items:center"><span style="font-size:14px;font-weight:700;color:var(--col-accent-bright)">$loop1.price</span><span style="font-size:11px;color:var(--col-text-3)">$loop1.rating_n bows</span></div> | |
| 78 | </div> | |
| 79 | </a> | |
| 80 | [/loop] | |
| 81 | $pagination_html | |
| 82 | </div> | |
| 83 | </div> | |
| 84 | ||
| 85 | </section> | |
| 86 | ||
| 87 | <section id="about" style="background:var(--col-bg-2);padding:48px 32px;border-top:1px solid var(--col-border);margin: 0 80px;text-align:center"> | |
| 88 | <div style="max-width:760px;margin:0 auto"><div style="font-family:var(--font-mono,monospace);font-size:11px;letter-spacing:3px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700">Behind the curtain</div><h2 style="font-family:var(--font-display);font-size:32px;color:var(--col-text);font-weight:800;margin:10px 0 14px">$store_name</h2><p style="font-size:15px;color:var(--col-text-2);line-height:1.85">$store_about</p></div> | |
| 89 | </section> | |
| 90 | [/if] | |
| 91 | ||
| 92 | <footer style="border-top:1px solid var(--col-border);padding:18px 32px;text-align:center;font-family:var(--font-mono,monospace);font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--col-text-3);margin: 0 80px">$store_name · powered by shop.3dshawn.com</footer> |