5xYourTeam card + Draft Day art (2026-11-15, LOCAL ONLY): kie.ai tier frames, Envato rings/medals/holo/back, Draft Day confetti/spotlights/scoreboard, Champiun
- Trading cards: five kie.ai nano-banana-pro tier frames (Rookie steel, Starter silver, Pro gold trim, All-Star gold + holo, Hall of Fame ornate gold + laurels), F4 avatar ring + B1 rank medal per tier, F5 holo foil on Pro/All-Star/HoF, sized in cqw - Card back from F1 (text layers hidden, green re-tinted gold): tap/Enter flips a card to the stats layout (team, how drafted, milestone, games played, the tier ladder); landscape, takes two grid slots. Milestones only, never earnings. - Draft Day 1080 card: D2 spotlights, D1 gold confetti, D5 scoreboard plate (blank) for the totals - Champiun (T3, Basic Latin WOFF subset) only for the ON THE CLOCK headline and pick numbers - tools/derive-art.py builds the web derivatives from ../assets-src (raw packs stay out of public/); public/art/MANIFEST.md maps each file to its source item, author and license code; tools/art.mjs renders kit/OG/proof/tier art with the same cards - ?v= tags bumped to 2; unit 62/62, smoke 156/156 (UI_FONTS=1), iap-tank 23/23 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+12
-7
@@ -8,7 +8,7 @@ import path from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
const PUB = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..', 'public');
|
||||
const SITE = 'https://5xyourteam.com';
|
||||
const V = { css: 1, js: 1 };
|
||||
const V = { css: 2, js: 2 };
|
||||
const F = { co: 'TrustClickz', addr: '615 Green Valley Drive, Moody, AL 35004', updated: 'November 15, 2026', usd: 10, picks: 5, rounds: 5, returnDays: 3, maxOpen: 10 };
|
||||
const FONTS = 'https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap';
|
||||
const NOTE = 'A position buys a draft spot and coaching tools, not income. Nothing is promised.';
|
||||
@@ -118,7 +118,7 @@ page('cards.html', { path: '/cards', title: 'Card Collection | 5xYourTeam', desc
|
||||
<section class="sh"><div><p class="kicker">CARD COLLECTION</p><h1 style="font-size:44px">Trading cards: they level up as your picks do</h1></div><p>Public cards show milestones, never earnings.</p></section>
|
||||
<section id="mine" hidden style="display:flex;flex-direction:column;gap:12px"><h2 id="mineTitle"></h2><div class="cards" id="mineCards"></div></section>
|
||||
<section style="display:flex;flex-direction:column;gap:12px"><h2>The five tiers</h2><div class="cards" id="tiers"></div>
|
||||
<p class="small">Rookie when drafted, Starter when they link a wallet, Pro when they switch on payouts, All-Star at their first purchase, Hall of Fame when they hold a position of their own and coach a team.</p></section>
|
||||
<p class="small">Rookie when drafted, Starter when they link a wallet, Pro when they switch on payouts, All-Star at their first purchase, Hall of Fame when they hold a position of their own and coach a team. Tap a card to flip it for the stats on the back.</p></section>
|
||||
</main>
|
||||
`, ['cards.js']);
|
||||
|
||||
@@ -184,13 +184,18 @@ page('admin.html', { path: '/admin', title: 'Admin | 5xYourTeam', desc: 'Admin.'
|
||||
fs.writeFileSync(path.join(PUB, 'draftday.html'), `<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="robots" content="noindex"><title>Draft Day | 5xYourTeam</title>
|
||||
<link rel="stylesheet" href="${FONTS}"><style>
|
||||
*{box-sizing:border-box}body{margin:0;width:1080px;height:1080px;overflow:hidden;background:#0b1530}
|
||||
.dd{width:1080px;height:1080px;background:#0b1530;color:#fff;font-family:Inter,system-ui,sans-serif;padding:64px;display:flex;flex-direction:column;gap:32px;border:14px solid #ffc93c}
|
||||
@font-face{font-family:Champiun;src:url(/assets/champiun.woff) format('woff');font-weight:700}
|
||||
.dd{position:relative;width:1080px;height:1080px;background:radial-gradient(ellipse at 50% 0,#1b2c5e 0,#0b1530 62%);color:#fff;font-family:Inter,system-ui,sans-serif;padding:52px 64px 56px;display:flex;flex-direction:column;gap:26px;border:14px solid #ffc93c;overflow:hidden}
|
||||
.dd>img{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.dd .spot{mix-blend-mode:screen;opacity:.6}.dd .conf{opacity:.5}
|
||||
.dd>:not(img){position:relative;z-index:1}
|
||||
.top{display:flex;justify-content:space-between;align-items:center}.wm{font-family:Oswald,Impact,sans-serif;font-weight:700;font-size:44px;letter-spacing:1px}.wm b{color:#ffc93c}
|
||||
.wk{font-family:Oswald,sans-serif;font-size:22px;background:#ff4d4d;padding:6px 14px;letter-spacing:3px}
|
||||
h1{margin:0;font-family:Oswald,Impact,sans-serif;font-weight:700;font-size:120px;line-height:.95}h1 span{color:#ffc93c}
|
||||
.rows{display:flex;flex-direction:column;gap:14px;font-size:30px}.dd-r{display:flex;justify-content:space-between;border-bottom:2px solid #2a3a6e;padding-bottom:10px}.dd-r .s{font-family:Oswald,sans-serif;color:#ffc93c}
|
||||
.ft{margin-top:auto;display:flex;justify-content:space-between;align-items:flex-end}.ft div{display:flex;flex-direction:column;gap:6px;font-size:26px}.ft .p{color:#ffc93c}.url{font-family:Oswald,sans-serif;font-size:26px;color:#b8c4e0}
|
||||
</style></head><body data-page="draftday"><div class="dd"><div class="top"><span class="wm">5X<b>YOUR</b>TEAM</span><span class="wk" id="ddWeek"></span></div>
|
||||
h1{margin:0;font-family:Oswald,Impact,sans-serif;font-weight:700;font-size:108px;line-height:.95;text-shadow:0 6px 24px rgba(0,0,0,.55)}h1 span{color:#ffc93c}
|
||||
.rows{display:flex;flex-direction:column;gap:12px;font-size:30px;background:rgba(7,16,42,.86);padding:16px 24px;border-left:6px solid #ffc93c}.dd-r{display:flex;justify-content:space-between;align-items:baseline;border-bottom:2px solid #2a3a6e;padding-bottom:8px}.dd-r:last-child{border-bottom:0;padding-bottom:0}
|
||||
.dd-r .s{font-family:Champiun,Oswald,sans-serif;font-weight:700;color:#ffc93c;font-size:34px;letter-spacing:1px;min-width:90px}
|
||||
.ft{margin-top:auto;height:216px;background:url(/art/dd/scoreboard.png) center/100% 100% no-repeat;padding:34px 48px;display:flex;justify-content:space-between;align-items:center;filter:drop-shadow(0 10px 24px rgba(0,0,0,.6))}
|
||||
.ft div{display:flex;flex-direction:column;gap:10px;font-family:Oswald,sans-serif;font-size:32px;letter-spacing:.5px}.ft .p{color:#ffc93c}.url{font-family:Oswald,sans-serif;font-size:26px;color:#b8c4e0;align-self:flex-end}
|
||||
</style></head><body data-page="draftday"><div class="dd"><img class="spot" src="/art/dd/spotlight.jpg" alt=""><img class="conf" src="/art/dd/confetti.png" alt=""><div class="top"><span class="wm">5X<b>YOUR</b>TEAM</span><span class="wk" id="ddWeek"></span></div>
|
||||
<h1>DRAFT DAY<br><span>RESULTS</span></h1><div class="rows" id="ddRows"></div>
|
||||
<div class="ft"><div><span id="ddStats"></span><span class="p" id="ddPot"></span></div><span class="url">5xyourteam.com</span></div></div>
|
||||
<script src="/assets/common.js?v=${V.js}"></script><script src="/assets/misc.js?v=${V.js}"></script></body></html>
|
||||
|
||||
Reference in New Issue
Block a user