added on local at 2026-07-01 22:10:05
| 1 | <!-- ===================================================================== | |
| 2 | LAYOUT: Splash | |
| 3 | Bold landing page. One huge CTA above the fold, products below. | |
| 4 | ===================================================================== --> | |
| 5 | ||
| 6 | <style>:root { $theme_css_vars }</style> | |
| 7 | ||
| 8 | [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] | |
| 9 | ||
| 10 | <header style="padding:24px 32px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap"> | |
| 11 | <a href="/store.cgi?id=$store_id" style="display:flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0"> | |
| 12 | <div class="brand-mark" style="background:linear-gradient(130deg, var(--col-accent), var(--col-accent-bright))">$store_initials</div> | |
| 13 | <span style="font-family:var(--font-display);font-size:20px;font-weight:700;color:var(--col-text)">$store_name</span> | |
| 14 | </a> | |
| 15 | <nav style="display:flex;gap:18px;align-items:center;flex-wrap:wrap"> | |
| 16 | [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] | |
| 17 | </nav> | |
| 18 | <div style="flex:1;display:flex;justify-content:center;min-width:0">$store_search_form</div> | |
| 19 | <div style="display:flex;gap:10px"></div> | |
| 20 | <div style="display:inline-flex;gap:8px;align-items:center;margin-left:8px">$store_signin_link $store_cart_link</div> | |
| 21 | </header> | |
| 22 | ||
| 23 | [if:$is_specific_page] | |
| 24 | [if:$page_not_found]<section style="padding:160px 32px;text-align:center;min-height:100vh;display:flex;flex-direction:column;justify-content:center"><h1 class="hero-title" style="font-size:72px">Off-page.</h1></section>[/if] | |
| 25 | [if:!$page_not_found]<section style="padding:120px 32px 60px;max-width:900px;margin:0 auto;min-height:60vh;display:flex;flex-direction:column;justify-content:center"><h1 class="hero-title" style="font-size:56px">$page_title</h1><div class="text-secondary" style="font-size:17px;line-height:1.8;margin-top:24px;white-space:pre-wrap">$page_body</div></section>[/if] | |
| 26 | [/if] | |
| 27 | ||
| 28 | [if:!$is_specific_page] | |
| 29 | <!-- Massive splash screen --> | |
| 30 | <section style="position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:120px 32px 60px;overflow:hidden"> | |
| 31 | <!-- Animated background glow blobs --> | |
| 32 | <div style="position:absolute;width:800px;height:800px;top:-200px;right:-200px;background:radial-gradient(circle, var(--col-accent-glow), transparent 65%);filter:blur(100px);pointer-events:none"></div> | |
| 33 | <div style="position:absolute;width:600px;height:600px;bottom:-150px;left:-100px;background:radial-gradient(circle, rgba(124,58,237,0.18), transparent 65%);filter:blur(100px);pointer-events:none"></div> | |
| 34 | ||
| 35 | <div style="position:relative;max-width:980px"> | |
| 36 | <span style="display:inline-block;padding:8px 18px;background:rgba(255,255,255,0.05);border:1px solid var(--col-border-2);border-radius:999px;font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700;margin-bottom:32px"> | |
| 37 | ★ $product_count items · available now | |
| 38 | </span> | |
| 39 | <h1 style="font-family:var(--font-display);font-size:clamp(64px,12vw,200px);font-weight:900;color:var(--col-text);line-height:0.85;letter-spacing:-0.05em;margin:0 0 28px"> | |
| 40 | <span style="background:linear-gradient(135deg, var(--col-accent), var(--col-accent-bright));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent">$store_name.</span> | |
| 41 | </h1> | |
| 42 | <p style="font-size:clamp(18px, 2vw, 24px);color:var(--col-text-2);line-height:1.5;max-width:700px;margin:0 auto 48px">$store_tagline</p> | |
| 43 | <div style="display:flex;gap:14px;justify-content:center;flex-wrap:wrap"> | |
| 44 | <a href="#shop" class="btn btn-primary btn-lg" style="font-size:16px;padding:16px 32px;box-shadow:0 10px 40px var(--col-accent-glow)">Browse the catalog →</a> | |
| 45 | <a href="#about" class="btn btn-secondary btn-lg" style="font-size:16px;padding:16px 32px">Meet the maker</a> | |
| 46 | </div> | |
| 47 | <div style="display:flex;gap:32px;justify-content:center;margin-top:60px;font-size:13px;color:var(--col-text-3);flex-wrap:wrap"> | |
| 48 | <span>✓ Secure checkout</span> | |
| 49 | <span>✓ Fast delivery</span> | |
| 50 | <span>✓ Buyer protection</span> | |
| 51 | </div> | |
| 52 | </div> | |
| 53 | ||
| 54 | <!-- Scroll cue --> | |
| 55 | <div style="position:absolute;bottom:30px;left:50%;transform:translateX(-50%);font-size:11px;letter-spacing:3px;text-transform:uppercase;color:var(--col-text-3);font-family:var(--font-mono,monospace)">↓ items below</div> | |
| 56 | </section> | |
| 57 | ||
| 58 | <!-- Below-the-fold compact catalog --> | |
| 59 | <section id="shop" style="padding:60px 32px;max-width:1300px;margin:0 auto"> | |
| 60 | <div style="display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px"> | |
| 61 | <h2 style="font-family:var(--font-display);font-size:36px;color:var(--col-text);margin:0">The catalog</h2> | |
| 62 | <span style="color:var(--col-text-3);font-size:13px">$product_count items</span> | |
| 63 | </div> | |
| 64 | <div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px"> | |
| 65 | [loop:@products] | |
| 66 | <a href="/listing_details.cgi?id=$loop1.id" style="text-decoration:none;background:var(--col-surface-1);border:1px solid var(--col-border);border-radius:8px;overflow:hidden;display:block;transition:transform 0.15s,border-color 0.15s"> | |
| 67 | <div style="aspect-ratio:1;background:url('$loop1.hero_image') center/cover"></div> | |
| 68 | <div style="padding:12px"> | |
| 69 | <div style="font-size:13px;font-weight:600;color:var(--col-text);margin-bottom:4px">$loop1.title</div> | |
| 70 | <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</span></div> | |
| 71 | </div> | |
| 72 | </a> | |
| 73 | [/loop] | |
| 74 | $pagination_html | |
| 75 | </div> | |
| 76 | </section> | |
| 77 | ||
| 78 | <section id="about" style="background:var(--col-bg-2);padding:60px 32px;border-top:1px solid var(--col-border)"> | |
| 79 | <div style="max-width:760px;margin:0 auto;text-align:center"> | |
| 80 | <h2 style="font-family:var(--font-display);font-size:32px;color:var(--col-text);font-weight:700">About $store_name</h2> | |
| 81 | <p style="font-size:15px;color:var(--col-text-2);line-height:1.85;margin-top:16px">$store_about</p> | |
| 82 | </div> | |
| 83 | </section> | |
| 84 | [/if] | |
| 85 | ||
| 86 | <footer style="border-top:1px solid var(--col-border);padding:24px 32px;text-align:center"> | |
| 87 | <div class="text-xs text-dim" style="letter-spacing:1.5px;text-transform:uppercase">$store_name · powered by shop.3dshawn.com</div> | |
| 88 | </footer> |