Diff -- /var/www/vhosts/3dshawn.com/shop.3dshawn.com/TEMPLATES/store_layouts/lookbook.html
Diff
/var/www/vhosts/3dshawn.com/shop.3dshawn.com/TEMPLATES/store_layouts/lookbook.html
added on local at 2026-07-01 22:10:03
Added
+104
lines
Removed
-0
lines
Context
0
unchanged
Blobs
from
to 4a65a544b660
to 4a65a544b660
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.| 1 | <!-- ===================================================================== | |
| 2 | LAYOUT: Lookbook | |
| 3 | Magazine-style. Large alternating image/text rows. Big editorial vibe. | |
| 4 | Best for visually-driven sellers (art, sculpture, scenery). | |
| 5 | ===================================================================== --> | |
| 6 | ||
| 7 | <style>:root { $theme_css_vars }</style> | |
| 8 | ||
| 9 | [if:$preview_banner] | |
| 10 | <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"> | |
| 11 | <svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" style="vertical-align:-2px"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="3"/></svg> | |
| 12 | $preview_banner | |
| 13 | </div> | |
| 14 | [/if] | |
| 15 | ||
| 16 | <header style="background:var(--col-bg);padding:28px 48px;display:flex;align-items:center;gap:24px"> | |
| 17 | <a href="/store.cgi?id=$store_id" style="text-decoration:none;display:flex;flex-direction:column;flex-shrink:0"> | |
| 18 | <span style="font-family:var(--font-display);font-size:32px;font-weight:800;color:var(--col-text);letter-spacing:-0.02em">$store_name</span> | |
| 19 | <span style="font-size:9px;letter-spacing:3px;text-transform:uppercase;color:var(--col-text-3);margin-top:2px">A ShopCart Lookbook</span> | |
| 20 | </a> | |
| 21 | <nav style="display:flex;gap:18px;align-items:center;flex-wrap:wrap"> | |
| 22 | [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] | |
| 23 | </nav> | |
| 24 | <div style="flex:1;display:flex;justify-content:center;min-width:0">$store_search_form</div> | |
| 25 | <nav style="display:flex;gap:24px;align-items:center;flex-wrap:wrap"> | |
| 26 | $store_signin_link | |
| 27 | $store_cart_link | |
| 28 | </nav> | |
| 29 | </header> | |
| 30 | ||
| 31 | [if:$is_specific_page] | |
| 32 | [if:$page_not_found] | |
| 33 | <section style="padding:120px 48px;text-align:center;max-width:600px;margin:0 auto"> | |
| 34 | <h1 style="font-size:64px;font-weight:800;color:var(--col-text)">Page not found</h1> | |
| 35 | <a href="/store.cgi?id=$store_id" class="btn btn-primary btn-lg" style="margin-top:24px">Back to home</a> | |
| 36 | </section> | |
| 37 | [/if] | |
| 38 | [if:!$page_not_found] | |
| 39 | <section style="padding:80px 48px;max-width:900px;margin:0 auto"> | |
| 40 | <h1 style="font-size:56px;font-weight:800;color:var(--col-text);letter-spacing:-0.02em">$page_title</h1> | |
| 41 | <div style="font-size:17px;line-height:1.8;color:var(--col-text-2);margin-top:24px;white-space:pre-wrap">$page_body</div> | |
| 42 | </section> | |
| 43 | [/if] | |
| 44 | [/if] | |
| 45 | ||
| 46 | [if:!$is_specific_page] | |
| 47 | <!-- Editorial cover --> | |
| 48 | <section style="padding:80px 48px 40px;max-width:1400px;margin:0 auto"> | |
| 49 | <div style="display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center"> | |
| 50 | <div> | |
| 51 | <span style="font-size:11px;letter-spacing:4px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700">Issue $product_count · current season</span> | |
| 52 | <h1 style="font-family:var(--font-display);font-size:clamp(48px,6vw,84px);font-weight:800;line-height:1;letter-spacing:-0.03em;color:var(--col-text);margin:18px 0 24px">The $store_name Lookbook</h1> | |
| 53 | <p style="font-size:18px;line-height:1.6;color:var(--col-text-2);max-width:480px">$store_tagline</p> | |
| 54 | <a href="#shop" class="btn btn-primary btn-lg" style="margin-top:28px">Open the catalog</a> | |
| 55 | </div> | |
| 56 | <div data-we-editable="image" data-we-field="hero_image_1" style="height:520px;background:url('$hero_image_1') $hero_image_1_pos/cover;border-radius:4px;border:1px solid var(--col-border-2)"></div> | |
| 57 | </div> | |
| 58 | </section> | |
| 59 | ||
| 60 | <!-- Featured rows: alternating large image / caption text --> | |
| 61 | <section id="shop" style="padding:60px 48px;max-width:1400px;margin:0 auto"> | |
| 62 | [if:$has_products] | |
| 63 | <div style="display:flex;flex-direction:column;gap:80px"> | |
| 64 | [loop:@products] | |
| 65 | <article style="display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center"> | |
| 66 | <div style="height:380px;background:url('$loop1.hero_image') center/cover;border-radius:4px;border:1px solid var(--col-border)"></div> | |
| 67 | <div> | |
| 68 | <span style="font-size:10px;letter-spacing:3px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700">No. $loop1.id</span> | |
| 69 | <h2 style="font-family:var(--font-display);font-size:42px;font-weight:700;color:var(--col-text);margin:12px 0 16px;letter-spacing:-0.02em;line-height:1.05">$loop1.title</h2> | |
| 70 | <div style="display:flex;gap:18px;align-items:baseline;margin-bottom:18px"> | |
| 71 | <span style="font-size:28px;font-weight:700;color:var(--col-accent-bright)">$loop1.price</span> | |
| 72 | <span style="color:var(--col-text-3);font-size:13px">$loop1.rating_n buyers</span> | |
| 73 | </div> | |
| 74 | $loop1.rating_html | |
| 75 | <a href="/listing_details.cgi?id=$loop1.id" class="btn btn-secondary" style="margin-top:24px">View item →</a> | |
| 76 | </div> | |
| 77 | </article> | |
| 78 | [/loop] | |
| 79 | $pagination_html | |
| 80 | </div> | |
| 81 | [/if] | |
| 82 | ||
| 83 | [if:!$has_products] | |
| 84 | <div style="text-align:center;padding:80px 32px"> | |
| 85 | <h2 style="font-family:var(--font-display);font-size:36px;color:var(--col-text)">No issues published yet</h2> | |
| 86 | <p style="color:var(--col-text-2);margin-top:12px">The first lookbook drop is on its way.</p> | |
| 87 | </div> | |
| 88 | [/if] | |
| 89 | </section> | |
| 90 | ||
| 91 | <!-- About cover --> | |
| 92 | <section id="about" style="background:var(--col-bg-2);padding:100px 48px;border-top:1px solid var(--col-border)"> | |
| 93 | <div style="max-width:900px;margin:0 auto;text-align:center"> | |
| 94 | <span style="font-size:10px;letter-spacing:4px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700">About the studio</span> | |
| 95 | <h2 style="font-family:var(--font-display);font-size:48px;font-weight:700;color:var(--col-text);margin:18px 0;letter-spacing:-0.02em">In the workshop with $store_name</h2> | |
| 96 | <p style="font-size:17px;line-height:1.8;color:var(--col-text-2)">$store_about</p> | |
| 97 | </div> | |
| 98 | </section> | |
| 99 | [/if] | |
| 100 | ||
| 101 | <footer style="background:var(--col-bg);border-top:1px solid var(--col-border);padding:40px 48px;text-align:center"> | |
| 102 | <div style="font-family:var(--font-display);font-size:20px;font-weight:700;color:var(--col-text)">$store_name</div> | |
| 103 | <div class="text-xs text-dim" style="letter-spacing:2px;text-transform:uppercase;margin-top:6px">Powered by shop.3dshawn.com</div> | |
| 104 | </footer> |