Diff -- /var/www/vhosts/3dshawn.com/affiliate.3dshawn.com/TEMPLATES/store_layouts/console.html
Diff
/var/www/vhosts/3dshawn.com/affiliate.3dshawn.com/TEMPLATES/store_layouts/console.html
added on local at 2026-07-01 13:47:50
Added
+108
lines
Removed
-0
lines
Context
0
unchanged
Blobs
from
to 94f005c386d0
to 94f005c386d0
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.| 1 | <!-- ===================================================================== | |
| 2 | LAYOUT: Console | |
| 3 | Sci-fi HUD dashboard. Status bars, hex panels, cyberpunk overlays. | |
| 4 | ===================================================================== --> | |
| 5 | ||
| 6 | <style> | |
| 7 | :root { $theme_css_vars } | |
| 8 | .cn-mono { font-family: ui-monospace, 'JetBrains Mono', monospace; } | |
| 9 | .cn-panel { background: linear-gradient(135deg, var(--col-surface-1) 0%, var(--col-surface-2) 100%); border: 1px solid var(--col-accent); border-radius: 4px; box-shadow: 0 0 0 1px var(--col-bg) inset, 0 0 16px var(--col-accent-glow); position: relative; } | |
| 10 | .cn-panel::before { content: ""; position: absolute; top: -1px; left: -1px; width: 14px; height: 14px; border-top: 2px solid var(--col-accent-bright); border-left: 2px solid var(--col-accent-bright); pointer-events: none; } | |
| 11 | .cn-panel::after { content: ""; position: absolute; bottom: -1px; right: -1px; width: 14px; height: 14px; border-bottom: 2px solid var(--col-accent-bright); border-right: 2px solid var(--col-accent-bright); pointer-events: none; } | |
| 12 | .cn-tag { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--col-accent-bright); font-weight: 700; } | |
| 13 | .cn-card { background: var(--col-surface-1); border: 1px solid var(--col-accent); position: relative; text-decoration: none; transition: all 0.15s; overflow: hidden; } | |
| 14 | .cn-card:hover { border-color: var(--col-accent-bright); box-shadow: 0 0 18px var(--col-accent-glow); } | |
| 15 | .cn-card .img { aspect-ratio: 1; background-size: cover; background-position: center; } | |
| 16 | .cn-card .meta { padding: 10px; border-top: 1px solid var(--col-border); } | |
| 17 | .cn-stat { background: var(--col-bg-2); border: 1px solid var(--col-accent); padding: 8px 12px; border-radius: 4px; font-family: ui-monospace, monospace; } | |
| 18 | .cn-bar { height: 4px; background: var(--col-bg); border-radius: 2px; overflow: hidden; } | |
| 19 | .cn-bar > span { display: block; height: 100%; background: var(--col-accent); box-shadow: 0 0 8px var(--col-accent-glow); } | |
| 20 | </style> | |
| 21 | ||
| 22 | [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] | |
| 23 | ||
| 24 | <header style="background:var(--col-bg-2);padding:12px 24px;display:flex;align-items:center;gap:14px;border-bottom:2px solid var(--col-accent);position:relative;flex-wrap:wrap"> | |
| 25 | <div style="position:absolute;bottom:-2px;left:0;height:2px;width:80px;background:var(--col-accent-bright);box-shadow:0 0 10px var(--col-accent-glow)"></div> | |
| 26 | <a href="/store.cgi?id=$store_id" style="display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0"> | |
| 27 | <div class="brand-mark" style="background:var(--col-accent);border-radius:0;clip-path:polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);width:32px;height:32px;font-size:12px">$store_initials</div> | |
| 28 | <div> | |
| 29 | <div style="font-family:ui-monospace,monospace;font-size:13px;font-weight:700;color:var(--col-text);letter-spacing:1px">$store_name</div> | |
| 30 | <div class="cn-tag" style="font-size:9px">// SYS_ONLINE · $product_count UNITS</div> | |
| 31 | </div> | |
| 32 | </a> | |
| 33 | <nav style="display:flex;gap:18px;align-items:center;flex-wrap:wrap"> | |
| 34 | [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] | |
| 35 | </nav> | |
| 36 | <div style="flex:1;display:flex;justify-content:center;min-width:0">$store_search_form</div> | |
| 37 | <div style="margin-left:auto;display:flex;gap:8px"> | |
| 38 | <span class="cn-stat" style="font-size:10px;color:var(--col-text-2);padding:6px 10px">PWR <span style="color:var(--col-accent-bright)">100%</span></span> | |
| 39 | </div> | |
| 40 | <div style="display:inline-flex;gap:8px;align-items:center;margin-left:8px">$store_signin_link $store_cart_link</div> | |
| 41 | </header> | |
| 42 | ||
| 43 | [if:$is_specific_page] | |
| 44 | [if:$page_not_found]<section style="padding:120px 32px;text-align:center;font-family:ui-monospace,monospace"><h1 class="hero-title" style="font-size:48px">[ ERR_404 ]</h1><a href="/store.cgi?id=$store_id" class="btn btn-primary btn-lg">[ /home ]</a></section>[/if] | |
| 45 | [if:!$page_not_found]<section style="padding:60px 32px;max-width:900px;margin:0 auto"><div class="cn-tag" style="margin-bottom:8px">// $page_slug</div><h1 class="hero-title" style="font-size:42px;font-family:ui-monospace,monospace">$page_title</h1><div class="text-secondary" style="font-size:15px;line-height:1.7;margin-top:18px;white-space:pre-wrap">$page_body</div></section>[/if] | |
| 46 | [/if] | |
| 47 | ||
| 48 | [if:!$is_specific_page] | |
| 49 | <!-- HUD strip with stats --> | |
| 50 | <section style="padding:18px 24px;display:flex;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--col-border)"> | |
| 51 | <div class="cn-stat" style="font-size:11px;color:var(--col-text-2);flex:1;min-width:140px"> | |
| 52 | <div style="display:flex;justify-content:space-between;color:var(--col-accent-bright);margin-bottom:4px"><span>// CATALOG</span><span>$product_count / 999</span></div> | |
| 53 | <div class="cn-bar"><span style="width:60%"></span></div> | |
| 54 | </div> | |
| 55 | <div class="cn-stat" style="font-size:11px;color:var(--col-text-2);flex:1;min-width:140px"> | |
| 56 | <div style="display:flex;justify-content:space-between;color:var(--col-accent-bright);margin-bottom:4px"><span>// READY</span><span>100%</span></div> | |
| 57 | <div class="cn-bar"><span style="width:100%"></span></div> | |
| 58 | </div> | |
| 59 | <div class="cn-stat" style="font-size:11px;color:var(--col-text-2);flex:1;min-width:140px"> | |
| 60 | <div style="display:flex;justify-content:space-between;color:var(--col-accent-bright);margin-bottom:4px"><span>// SHIPPING</span><span>NOMINAL</span></div> | |
| 61 | <div class="cn-bar"><span style="width:88%"></span></div> | |
| 62 | </div> | |
| 63 | </section> | |
| 64 | ||
| 65 | <!-- Mission briefing hero --> | |
| 66 | <section style="padding:32px 24px;max-width:1400px;margin:0 auto"> | |
| 67 | <div class="cn-panel" style="padding:24px"> | |
| 68 | <div class="cn-tag">// MISSION BRIEFING</div> | |
| 69 | <h1 style="font-family:var(--font-display);font-size:clamp(36px,5vw,56px);font-weight:800;color:var(--col-text);margin:8px 0 14px;letter-spacing:-0.02em;line-height:1.05">$store_name</h1> | |
| 70 | <p style="font-size:15px;color:var(--col-text-2);max-width:680px;margin:0 0 18px;line-height:1.6">$store_tagline</p> | |
| 71 | <div style="display:flex;gap:10px"><a href="#shop" class="btn btn-primary btn-lg" style="font-family:ui-monospace,monospace">[ ENGAGE CATALOG ]</a></div> | |
| 72 | </div> | |
| 73 | </section> | |
| 74 | ||
| 75 | <!-- Component cards --> | |
| 76 | <section id="shop" style="padding:0 24px 60px;max-width:1400px;margin:0 auto"> | |
| 77 | <div class="cn-tag" style="margin-bottom:14px">// COMPONENT INVENTORY</div> | |
| 78 | <div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px"> | |
| 79 | [loop:@products] | |
| 80 | <a href="/listing_details.cgi?id=$loop1.id" class="cn-card"> | |
| 81 | <div class="img" style="background-image:url('$loop1.hero_image')"></div> | |
| 82 | <div class="meta"> | |
| 83 | <div class="cn-tag" style="font-size:9px;margin-bottom:4px">// UNIT-$loop1.id</div> | |
| 84 | <div style="font-size:13px;font-weight:700;color:var(--col-text);margin-bottom:6px;font-family:ui-monospace,monospace">$loop1.title</div> | |
| 85 | <div style="display:flex;justify-content:space-between;align-items:center;font-family:ui-monospace,monospace"> | |
| 86 | <span style="font-size:14px;font-weight:700;color:var(--col-accent-bright)">$loop1.price</span> | |
| 87 | <span style="font-size:10px;color:var(--col-text-3)">[$loop1.rating_n REV]</span> | |
| 88 | </div> | |
| 89 | </div> | |
| 90 | </a> | |
| 91 | [/loop] | |
| 92 | $pagination_html | |
| 93 | </div> | |
| 94 | </section> | |
| 95 | ||
| 96 | <!-- Operator panel: about --> | |
| 97 | <section id="about" style="background:var(--col-bg-2);padding:48px 24px;border-top:2px solid var(--col-accent)"> | |
| 98 | <div class="cn-panel" style="max-width:900px;margin:0 auto;padding:24px"> | |
| 99 | <div class="cn-tag">// OPERATOR LOG</div> | |
| 100 | <p style="font-size:14px;color:var(--col-text);line-height:1.8;margin:10px 0 0;font-family:ui-monospace,monospace">$store_about</p> | |
| 101 | </div> | |
| 102 | </section> | |
| 103 | [/if] | |
| 104 | ||
| 105 | <footer style="background:var(--col-bg);border-top:2px solid var(--col-accent);padding:14px 24px;font-family:ui-monospace,monospace;font-size:10px;color:var(--col-text-3);display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px"> | |
| 106 | <span>// $store_name :: BUILD 1.0.0 :: ONLINE</span> | |
| 107 | <span>// powered by affiliate.3dshawn.com</span> | |
| 108 | </footer> |