Diff -- /var/www/vhosts/3dshawn.com/shop.3dshawn.com/TEMPLATES/store_layouts/holo.html
Diff
/var/www/vhosts/3dshawn.com/shop.3dshawn.com/TEMPLATES/store_layouts/holo.html
added on local at 2026-07-01 22:10:03
Added
+111
lines
Removed
-0
lines
Context
0
unchanged
Blobs
from
to ac28c3f3082a
to ac28c3f3082a
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.| 1 | <!-- ===================================================================== | |
| 2 | LAYOUT: Holo | |
| 3 | Glassmorphism panels. Frosted blur, neon edges, holographic accents. | |
| 4 | ===================================================================== --> | |
| 5 | ||
| 6 | <style> | |
| 7 | :root { $theme_css_vars } | |
| 8 | .hl-bg { | |
| 9 | position: fixed; inset: 0; z-index: -1; | |
| 10 | background: | |
| 11 | radial-gradient(circle at 20% 20%, var(--col-accent-glow), transparent 50%), | |
| 12 | radial-gradient(circle at 80% 60%, rgba(124,58,237,0.4), transparent 50%), | |
| 13 | radial-gradient(circle at 50% 90%, rgba(59,130,246,0.3), transparent 50%), | |
| 14 | var(--col-bg); | |
| 15 | } | |
| 16 | .hl-glass { | |
| 17 | background: rgba(255,255,255,0.06); | |
| 18 | backdrop-filter: blur(16px) saturate(150%); | |
| 19 | -webkit-backdrop-filter: blur(16px) saturate(150%); | |
| 20 | border: 1px solid rgba(255,255,255,0.18); | |
| 21 | border-radius: 16px; | |
| 22 | box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 24px var(--col-accent-glow); | |
| 23 | position: relative; | |
| 24 | overflow: hidden; | |
| 25 | } | |
| 26 | .hl-glass::before { | |
| 27 | content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; | |
| 28 | background: linear-gradient(90deg, transparent, var(--col-accent-bright), transparent); | |
| 29 | } | |
| 30 | .hl-card { display: block; text-decoration: none; transition: transform 0.2s; } | |
| 31 | .hl-card:hover { transform: translateY(-3px); } | |
| 32 | .hl-card .img { aspect-ratio: 1; background-size: cover; background-position: center; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); } | |
| 33 | </style> | |
| 34 | ||
| 35 | <div class="hl-bg"></div> | |
| 36 | ||
| 37 | [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] | |
| 38 | ||
| 39 | <header style="padding:18px 28px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:50;background:rgba(255,255,255,0.04);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,0.1);flex-wrap:wrap"> | |
| 40 | <a href="/store.cgi?id=$store_id" style="display:flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0"> | |
| 41 | <div class="brand-mark" style="background:linear-gradient(130deg, var(--col-accent), var(--col-accent-bright));box-shadow:0 0 16px var(--col-accent-glow)">$store_initials</div> | |
| 42 | <span style="font-family:var(--font-display);font-size:22px;font-weight:700;color:var(--col-text)">$store_name</span> | |
| 43 | </a> | |
| 44 | <nav style="display:flex;gap:18px;align-items:center;flex-wrap:wrap"> | |
| 45 | [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] | |
| 46 | </nav> | |
| 47 | <div style="flex:1;display:flex;justify-content:center;min-width:0">$store_search_form</div> | |
| 48 | <div style="display:flex;gap:10px"> | |
| 49 | </div> | |
| 50 | <div style="display:inline-flex;gap:8px;align-items:center;margin-left:8px">$store_signin_link $store_cart_link</div> | |
| 51 | </header> | |
| 52 | ||
| 53 | [if:$is_specific_page] | |
| 54 | [if:$page_not_found]<section style="padding:120px 32px;text-align:center"><h1 class="hero-title" style="font-size:48px">Lost in the field</h1></section>[/if] | |
| 55 | [if:!$page_not_found]<section style="padding:60px 32px;max-width:900px;margin:0 auto"><div class="hl-glass" style="padding:40px"><h1 class="hero-title" style="font-size:42px;margin:0 0 18px">$page_title</h1><div class="text-secondary" style="font-size:16px;line-height:1.7;white-space:pre-wrap">$page_body</div></div></section>[/if] | |
| 56 | [/if] | |
| 57 | ||
| 58 | [if:!$is_specific_page] | |
| 59 | <!-- Hero glass panel --> | |
| 60 | <section style="padding:48px 28px 28px;max-width:1200px;margin:0 auto"> | |
| 61 | <div class="hl-glass" style="padding:48px 36px;text-align:center"> | |
| 62 | <span style="display:inline-block;padding:6px 16px;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.2);border-radius:999px;font-size:11px;letter-spacing:3px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700;margin-bottom:18px"> | |
| 63 | ✺ $product_count items · transmitting | |
| 64 | </span> | |
| 65 | <h1 style="font-family:var(--font-display);font-size:clamp(48px,7vw,96px);font-weight:800;color:var(--col-text);line-height:1;letter-spacing:-0.03em;margin:0 0 16px;text-shadow:0 0 30px var(--col-accent-glow)">$store_name</h1> | |
| 66 | <p style="font-size:17px;color:var(--col-text-2);max-width:640px;margin:0 auto 28px;line-height:1.6">$store_tagline</p> | |
| 67 | <div style="display:flex;gap:12px;justify-content:center;flex-wrap:wrap"> | |
| 68 | <a href="#shop" class="btn btn-primary btn-lg" style="box-shadow:0 0 24px var(--col-accent-glow)">Open the catalog</a> | |
| 69 | <a href="#about" class="btn btn-secondary btn-lg" style="background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.2);backdrop-filter:blur(10px);color:var(--col-text)">Meet the studio</a> | |
| 70 | </div> | |
| 71 | </div> | |
| 72 | </section> | |
| 73 | ||
| 74 | <!-- Catalog: glass cards --> | |
| 75 | <section id="shop" style="padding:32px 28px 60px;max-width:1300px;margin:0 auto"> | |
| 76 | <div style="display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px"> | |
| 77 | <div> | |
| 78 | <span style="font-size:11px;letter-spacing:3px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700">The catalog</span> | |
| 79 | <h2 style="font-family:var(--font-display);font-size:32px;color:var(--col-text);margin:6px 0 0;letter-spacing:-0.02em">$product_count items</h2> | |
| 80 | </div> | |
| 81 | </div> | |
| 82 | <div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px"> | |
| 83 | [loop:@products] | |
| 84 | <a href="/listing_details.cgi?id=$loop1.id" class="hl-card hl-glass" style="padding:14px"> | |
| 85 | <div class="img" style="background-image:url('$loop1.hero_image')"></div> | |
| 86 | <div style="padding:14px 4px 4px"> | |
| 87 | <div style="font-family:var(--font-display);font-size:16px;font-weight:700;color:var(--col-text);margin-bottom:8px">$loop1.title</div> | |
| 88 | <div style="display:flex;justify-content:space-between;align-items:center"> | |
| 89 | <span style="font-size:18px;font-weight:700;color:var(--col-accent-bright);text-shadow:0 0 12px var(--col-accent-glow)">$loop1.price</span> | |
| 90 | <span style="font-size:11px;color:var(--col-text-3)">$loop1.rating_n ✺</span> | |
| 91 | </div> | |
| 92 | </div> | |
| 93 | </a> | |
| 94 | [/loop] | |
| 95 | $pagination_html | |
| 96 | </div> | |
| 97 | </section> | |
| 98 | ||
| 99 | <!-- About glass panel --> | |
| 100 | <section id="about" style="padding:32px 28px 60px;max-width:900px;margin:0 auto"> | |
| 101 | <div class="hl-glass" style="padding:36px;text-align:center"> | |
| 102 | <span style="font-size:11px;letter-spacing:4px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700">The studio</span> | |
| 103 | <h2 style="font-family:var(--font-display);font-size:32px;color:var(--col-text);margin:14px 0 18px;letter-spacing:-0.02em">$store_name</h2> | |
| 104 | <p style="font-size:15px;color:var(--col-text-2);line-height:1.85;max-width:680px;margin:0 auto">$store_about</p> | |
| 105 | </div> | |
| 106 | </section> | |
| 107 | [/if] | |
| 108 | ||
| 109 | <footer style="padding:24px 28px;text-align:center;background:rgba(255,255,255,0.03);backdrop-filter:blur(10px);border-top:1px solid rgba(255,255,255,0.08)"> | |
| 110 | <div class="text-xs text-dim" style="letter-spacing:2px;text-transform:uppercase">$store_name · powered by shop.3dshawn.com</div> | |
| 111 | </footer> |