Diff -- /var/www/vhosts/3dshawn.com/affiliate.3dshawn.com/TEMPLATES/store_layouts/dropcal.html
Diff
/var/www/vhosts/3dshawn.com/affiliate.3dshawn.com/TEMPLATES/store_layouts/dropcal.html
added on local at 2026-07-01 13:47:51
Added
+86
lines
Removed
-0
lines
Context
0
unchanged
Blobs
from
to 41ee35efa0ba
to 41ee35efa0ba
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.| 1 | <!-- ===================================================================== | |
| 2 | LAYOUT: Drop Calendar | |
| 3 | Timeline of releases. Weekly schedule, dated drops. | |
| 4 | ===================================================================== --> | |
| 5 | ||
| 6 | <style> | |
| 7 | :root { $theme_css_vars } | |
| 8 | .dc-timeline { position:relative; max-width:900px; margin:0 auto; padding:24px 24px 48px; } | |
| 9 | .dc-timeline::before { content:""; position:absolute; left:80px; top:24px; bottom:48px; width:2px; background:var(--col-border); } | |
| 10 | .dc-row { position:relative; display:grid; grid-template-columns:80px 1fr; gap:32px; padding:18px 0; align-items:center; } | |
| 11 | .dc-date { text-align:right; padding-right:24px; } | |
| 12 | .dc-week { font-family:var(--font-display); font-size:13px; font-weight:700; color:var(--col-accent-bright); letter-spacing:1px; text-transform:uppercase; } | |
| 13 | .dc-day { font-family:var(--font-display); font-size:24px; font-weight:300; color:var(--col-text); } | |
| 14 | .dc-dot { position:absolute; left:73px; top:50%; transform:translateY(-50%); width:14px; height:14px; border-radius:50%; background:var(--col-accent); border:3px solid var(--col-bg); z-index:2; box-shadow: 0 0 0 1px var(--col-accent); } | |
| 15 | .dc-card { background:var(--col-surface-1); border:1px solid var(--col-border); border-radius:10px; padding:14px; display:grid; grid-template-columns:80px 1fr auto; gap:14px; align-items:center; text-decoration:none; transition:border-color 0.15s; } | |
| 16 | .dc-card:hover { border-color: var(--col-accent); } | |
| 17 | </style> | |
| 18 | ||
| 19 | [if:$preview_banner] | |
| 20 | <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> | |
| 21 | [/if] | |
| 22 | ||
| 23 | <header style="background:var(--col-bg);padding:24px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--col-border);flex-wrap:wrap"> | |
| 24 | <a href="/store.cgi?id=$store_id" style="display:flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0"> | |
| 25 | <div class="brand-mark" style="background:linear-gradient(130deg, var(--col-accent), var(--col-accent-bright))">$store_initials</div> | |
| 26 | <div> | |
| 27 | <div style="font-family:var(--font-display);font-size:22px;font-weight:700;color:var(--col-text)">$store_name</div> | |
| 28 | <div style="font-size:10px;letter-spacing:2.5px;text-transform:uppercase;color:var(--col-accent-bright)">Weekly drops</div> | |
| 29 | </div> | |
| 30 | </a> | |
| 31 | <nav style="display:flex;gap:18px;align-items:center;flex-wrap:wrap"> | |
| 32 | [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] | |
| 33 | </nav> | |
| 34 | <div style="flex:1;display:flex;justify-content:center;min-width:0">$store_search_form</div> | |
| 35 | <div style="display:flex;gap:10px"></div> | |
| 36 | <div style="display:inline-flex;gap:8px;align-items:center;margin-left:8px">$store_signin_link $store_cart_link</div> | |
| 37 | </header> | |
| 38 | ||
| 39 | [if:$is_specific_page] | |
| 40 | [if:$page_not_found]<section style="padding:120px 32px;text-align:center"><h1 class="hero-title" style="font-size:48px">Page not found</h1></section>[/if] | |
| 41 | [if:!$page_not_found]<section style="padding:60px 32px;max-width:900px;margin:0 auto"><h1 class="hero-title" style="font-size:42px">$page_title</h1><div class="text-secondary" style="font-size:16px;line-height:1.7;margin-top:18px;white-space:pre-wrap">$page_body</div></section>[/if] | |
| 42 | [/if] | |
| 43 | ||
| 44 | [if:!$is_specific_page] | |
| 45 | <!-- Hero --> | |
| 46 | <section style="padding:60px 32px 32px;max-width:900px;margin:0 auto;text-align:center"> | |
| 47 | <span style="font-size:11px;letter-spacing:4px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700">Release schedule</span> | |
| 48 | <h1 style="font-family:var(--font-display);font-size:clamp(40px,5vw,60px);font-weight:700;color:var(--col-text);margin:14px 0 12px;letter-spacing:-0.02em">A new design every week.</h1> | |
| 49 | <p style="font-size:16px;color:var(--col-text-2);line-height:1.6">$store_tagline</p> | |
| 50 | </section> | |
| 51 | ||
| 52 | <!-- Timeline of drops: products laid out as a release history --> | |
| 53 | <section id="archive" class="dc-timeline"> | |
| 54 | [loop:@products] | |
| 55 | <div class="dc-row"> | |
| 56 | <div class="dc-date"> | |
| 57 | <div class="dc-week">Wk $loop1.id</div> | |
| 58 | <div class="dc-day">$loop1.id</div> | |
| 59 | </div> | |
| 60 | <div class="dc-dot"></div> | |
| 61 | <a href="/listing_details.cgi?id=$loop1.id" class="dc-card"> | |
| 62 | <div style="width:80px;height:80px;border-radius:6px;background:url('$loop1.hero_image') center/cover;border:1px solid var(--col-border);flex-shrink:0"></div> | |
| 63 | <div> | |
| 64 | <div style="font-family:var(--font-display);font-size:18px;font-weight:700;color:var(--col-text);margin-bottom:4px">$loop1.title</div> | |
| 65 | <div style="font-size:13px;color:var(--col-text-2)">Released this week. $loop1.rating_n early buyers.</div> | |
| 66 | $loop1.rating_html | |
| 67 | </div> | |
| 68 | <div style="text-align:right"> | |
| 69 | <div style="font-family:var(--font-display);font-size:22px;font-weight:700;color:var(--col-accent-bright)">$loop1.price</div> | |
| 70 | <div class="btn btn-secondary btn-sm" style="margin-top:6px">Get it</div> | |
| 71 | </div> | |
| 72 | </a> | |
| 73 | </div> | |
| 74 | [/loop] | |
| 75 | $pagination_html | |
| 76 | </section> | |
| 77 | ||
| 78 | <section style="background:var(--col-bg-2);padding:48px 32px;border-top:1px solid var(--col-border);text-align:center"> | |
| 79 | <h2 style="font-family:var(--font-display);font-size:28px;color:var(--col-text);font-weight:700;margin:0 0 12px">About the schedule</h2> | |
| 80 | <p style="font-size:15px;color:var(--col-text-2);line-height:1.8;max-width:680px;margin:0 auto">$store_about</p> | |
| 81 | </section> | |
| 82 | [/if] | |
| 83 | ||
| 84 | <footer style="border-top:1px solid var(--col-border);padding:24px 32px;text-align:center"> | |
| 85 | <div class="text-xs text-dim" style="letter-spacing:1.5px;text-transform:uppercase">$store_name · powered by affiliate.3dshawn.com</div> | |
| 86 | </footer> |