Diff -- /var/www/vhosts/3dshawn.com/affiliate.3dshawn.com/TEMPLATES/store_layouts/manifesto.html
Diff
/var/www/vhosts/3dshawn.com/affiliate.3dshawn.com/TEMPLATES/store_layouts/manifesto.html
added on local at 2026-07-01 13:47:52
Added
+72
lines
Removed
-0
lines
Context
0
unchanged
Blobs
from
to 506234d47e80
to 506234d47e80
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.| 1 | <!-- ===================================================================== | |
| 2 | LAYOUT: Manifesto | |
| 3 | A bold statement fills the page. Products are footnotes. | |
| 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="background:var(--col-bg);padding:18px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--col-border);flex-wrap:wrap"> | |
| 11 | <a href="/store.cgi?id=$store_id" style="display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0"> | |
| 12 | <div class="brand-mark" style="background:linear-gradient(130deg, var(--col-accent), var(--col-accent-bright));width:28px;height:28px;font-size:11px">$store_initials</div> | |
| 13 | <span style="font-family:var(--font-display);font-size:18px;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:8px"></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:120px 32px;text-align:center"><h1 class="hero-title" style="font-size:64px">No statement here.</h1></section>[/if] | |
| 25 | [if:!$page_not_found]<section style="padding:80px 32px;max-width:900px;margin:0 auto"><h1 class="hero-title" style="font-size:56px">$page_title</h1><div class="text-secondary" style="font-size:17px;line-height:1.85;margin-top:24px;white-space:pre-wrap">$page_body</div></section>[/if] | |
| 26 | [/if] | |
| 27 | ||
| 28 | [if:!$is_specific_page] | |
| 29 | <!-- The manifesto: massive statement that takes the whole viewport --> | |
| 30 | <section style="min-height:90vh;display:flex;align-items:center;padding:48px 32px;max-width:1300px;margin:0 auto"> | |
| 31 | <div> | |
| 32 | <span style="font-family:var(--font-mono,monospace);font-size:11px;letter-spacing:5px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700">A statement of intent</span> | |
| 33 | <h1 style="font-family:var(--font-display);font-size:clamp(56px,10vw,160px);font-weight:900;color:var(--col-text);line-height:0.95;letter-spacing:-0.04em;margin:24px 0;max-width:1100px"> | |
| 34 | We make designs that <span style="color:var(--col-accent-bright)">look right</span>, print clean, and respect the people who buy them. | |
| 35 | </h1> | |
| 36 | <p style="font-size:20px;color:var(--col-text-2);max-width:700px;line-height:1.6">$store_tagline</p> | |
| 37 | <div style="display:flex;gap:14px;margin-top:36px"><a href="#shop" class="btn btn-primary btn-lg">See the catalog →</a><a href="#about" class="btn btn-secondary btn-lg">Why we make</a></div> | |
| 38 | </div> | |
| 39 | </section> | |
| 40 | ||
| 41 | <!-- Footnotes: the products as a tight reference list --> | |
| 42 | <section id="shop" style="background:var(--col-bg-2);border-top:6px solid var(--col-text);padding:48px 32px"> | |
| 43 | <div style="max-width:1300px;margin:0 auto"> | |
| 44 | <div style="font-family:var(--font-mono,monospace);font-size:11px;letter-spacing:4px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700;margin-bottom:14px">§ Footnotes · the work</div> | |
| 45 | <h2 style="font-family:var(--font-display);font-size:42px;font-weight:800;color:var(--col-text);margin:0 0 24px;letter-spacing:-0.02em">$product_count designs.</h2> | |
| 46 | <div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px"> | |
| 47 | [loop:@products] | |
| 48 | <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:6px;overflow:hidden;display:block;transition:border-color 0.15s"> | |
| 49 | <div style="aspect-ratio:1;background:url('$loop1.hero_image') center/cover"></div> | |
| 50 | <div style="padding:10px;font-family:var(--font-mono,monospace)"> | |
| 51 | <div style="font-size:9px;color:var(--col-accent-bright);font-weight:700;letter-spacing:1.5px;text-transform:uppercase">No. $loop1.id</div> | |
| 52 | <div style="font-family:var(--font-display);font-size:14px;font-weight:700;color:var(--col-text);margin-top:3px">$loop1.title</div> | |
| 53 | <div style="display:flex;justify-content:space-between;margin-top:6px;font-size:11px"><span style="color:var(--col-accent-bright);font-weight:700">$loop1.price</span><span style="color:var(--col-text-3)">$loop1.rating_n</span></div> | |
| 54 | </div> | |
| 55 | </a> | |
| 56 | [/loop] | |
| 57 | $pagination_html | |
| 58 | </div> | |
| 59 | </div> | |
| 60 | </section> | |
| 61 | ||
| 62 | <section id="about" style="padding:80px 32px;max-width:900px;margin:0 auto"> | |
| 63 | <div style="font-family:var(--font-mono,monospace);font-size:11px;letter-spacing:4px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700;margin-bottom:14px">§ Why we make</div> | |
| 64 | <h2 style="font-family:var(--font-display);font-size:42px;font-weight:800;color:var(--col-text);margin:0 0 24px;letter-spacing:-0.02em;line-height:1.05">It started in the studio.</h2> | |
| 65 | <p style="font-size:17px;color:var(--col-text);line-height:1.85">$store_about</p> | |
| 66 | </section> | |
| 67 | [/if] | |
| 68 | ||
| 69 | <footer style="border-top:6px solid var(--col-text);padding:18px 32px;font-family:var(--font-mono,monospace);font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--col-text-3);display:flex;justify-content:space-between"> | |
| 70 | <span>$store_name · vol. I</span> | |
| 71 | <span>powered by affiliate.3dshawn.com</span> | |
| 72 | </footer> |