// Writes public/*.html from one place (one source of copy and legal facts, the trust-pack legal.py idea). Run after editing:
// node tools/pages.mjs
// Copy rules: no em dashes, no income promises, never an earnings cap, "A position buys a draft spot and coaching tools, not
// income. Nothing is promised.", wallets = "SafePal or any other crypto wallet" (never recommend MetaMask), one-time, never a
// subscription, coaches get the right to sponsor and help and never contact data.
import fs from 'node:fs';
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: 3, js: 3, chat: 2 }; // chat: the site assistant widget (2026-11-15)
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.';
function head(o) {
const t = o.title, d = o.desc, url = SITE + o.path;
return `
${t}
${o.noindex ? '' : ``}
`;
}
const tail = scripts => ['common.js'].concat(scripts).map(s => '').join('\n') + '\n' + '\n\n\n';
const page = (file, o, body, scripts) => fs.writeFileSync(path.join(PUB, file), head(o) + body + tail(scripts));
const STATUS = '';
// ---------------------------------------------------------------- the draft board (front page)
page('index.html', { path: '/', title: '5xYourTeam | The weekly draft for people who need a sponsor',
desc: `Every Monday the coaches draft people who joined the network without a sponsor. A $${F.usd} one-time position: ${F.picks} picks right away and a draft spot every week. Draft order is earned.` }, `
THE DRAFT
Draft your team every Monday.
Draft order is earned: the coaches who got the most of last week's picks started pick first. Help your picks get going and you move up next Monday.
Best Coach pot this week0 POL10% of every position sold this week
${STATUS}
This week's pool
People waiting for a sponsor. Usernames only, never contact details.
DRAFT TRACKER
PICK
COACH
DRAFTED
CARD
Best Coach standings
Last week
Rookie of the Week
How The Draft works
1
Get a position
$${F.usd} one-time in POL with SafePal or any other crypto wallet, never a subscription. It comes with ${F.picks} picks right away.
2
Draft every Monday
${F.rounds} rounds from that week's pool. Away? You are auto-picked from your queue, or the best available player.
3
Coach them up
Help them link a wallet and switch on payouts, through site messages. Picks that do not start go back to the pool after ${F.returnDays} days.
You get the right to sponsor and help your picks, never their email or any contact details: you coach through site messages, and they get the network's normal "you have a new sponsor" email. Nobody locked on a network contract is ever in the pool, and nobody is adopted more than twice.
`, ['board.js']);
// ---------------------------------------------------------------- my team
page('team.html', { path: '/team', title: 'My Team | 5xYourTeam', desc: 'Coach your picks: scouting stats, the getting-started steps, one-tap messages and who to help first.', noindex: true }, `
MY TEAM
Sign in to coach your team
Sign in with your network account, or with your wallet. Your picks, cards and messages are here.
You have to use now. Pick them from the pool on the Draft Board.
No contact details here, by design: you coach through site messages.
Getting started
One-tap messages
The rest of my team
Who to help first
My draft queue
Back in the pool
`, ['wallet.js', 'team.js']);
// ---------------------------------------------------------------- cards
page('cards.html', { path: '/cards', title: 'Card Collection | 5xYourTeam', desc: 'Trading cards that level up as your picks do: Rookie, Starter, Pro, All-Star, Hall of Fame.' }, `
CARD COLLECTION
Trading cards: they level up as your picks do
Public cards show milestones, never earnings.
The five tiers
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.
`, ['cards.js']);
// ---------------------------------------------------------------- get a position
page('join.html', { path: '/join', title: 'Get a Position | 5xYourTeam', desc: `A $${F.usd} one-time position: ${F.picks} picks right away and a draft spot every Monday. Paid in POL, split on-chain in the same transaction.` }, `
GET A POSITION
$${F.usd} once. ${F.picks} picks today. A draft spot every Monday.
One payment in POL with SafePal or any other crypto wallet. It never renews and is never a subscription.
What you get
${F.picks} instant picks from this week's pool
A spot in every Monday draft, ${F.rounds} rounds
Coaching tools: scouting stats, the steps, site messages, who to help first
A coach page and trading cards for your team
Up to ${F.maxOpen} open picks at a time
Sign in first
The position goes to the wallet you are signed in with.
Buy
${STATUS}
Anything you send above the exact price comes back to you in the same transaction. Payments are final once confirmed.
Where your $${F.usd} goes, in the same transaction
Your sponsor gets 25% and levels 2 to 5 of your network sponsor line get 5% each. Only people who hold a position can receive a share: anyone in your line who does not is passed over and the share goes up to the next person who does. 10% goes to the weekly Best Coach pot and 45% to 5xYourTeam. The contract keeps nothing. Check it on the contract page and every payment on the ledger.
${NOTE}
`, ['wallet.js', 'join.js']);
// ---------------------------------------------------------------- coach page
page('coach.html', { path: '/', title: 'Coach | 5xYourTeam', desc: 'A 5xYourTeam coach and their team, as trading cards.' }, `
COACH
The team
Milestones only. Every Monday this coach drafts people who joined the network without a sponsor and helps them get started.
`, ['coach.js']);
// ---------------------------------------------------------------- ledger, contract
page('ledger.html', { path: '/ledger', title: 'Live Ledger | 5xYourTeam', desc: 'Every 5xYourTeam position and every share it paid, in the same transaction, with links to verify on Polygonscan.' }, `
LIVE LEDGER
Every position, every share, on-chain
WHEN
POSITION
PAID IN THE SAME TRANSACTION
Best Coach payouts
WEEK
COACH
POL
`, ['ledger.js']);
page('contract.html', { path: '/contract', title: 'The Contract | 5xYourTeam', desc: 'DraftPosition on Polygon: who owns it, the fixed split, the Best Coach pot wallet, what it holds.' }, `
CONTRACT
Check the contract yourself
Read live from Polygon. No owner withdraw, no proxy, the split fixed in the code.
`, ['contract.js']);
// ---------------------------------------------------------------- promote, builder, admin, draft day
page('promote.html', { path: '/promote', title: 'Promo Kit | 5xYourTeam', desc: 'Links, creatives and copy for 5xYourTeam, with your username in every link.', data: 'promote' }, `
PROMO KIT
Share The Draft
${STATUS}
`, ['kitpage.js', 'misc.js']);
page('builder.html', { path: '/builder', title: 'My Builder Links | 5xYourTeam', desc: 'Your referral IDs in the CryptoTeamBuild downline builder: your picks see your links.', noindex: true, data: 'builder' }, `
MY BUILDER LINKS
The CryptoTeamBuild downline builder
Save your referral ID for the programs you are in. Your picks see your link for each one on their My Team page.
${c[1]}`).join('\n')}
`, ['misc.js']);
}
legal('terms.html', '/terms', 'Terms and Conditions', 'The rules for using 5xYourTeam, in plain English.', [
['Who we are', `
5xYourTeam (5xyourteam.com) is run by ${F.co}, ${F.addr}. It is part of the network: one network account works across InstantAdPay, LinkSpin, Downline Banners, Viral Banner Blitz, ViralAdBlitz, 5xYourTeam, Stack POL and Earners Corner. By using 5xYourTeam you agree to these terms.
`],
['What 5xYourTeam is', `
5xYourTeam runs The Draft. People who join the network without a sponsor wait in the network holding tank. Every Monday the coaches on 5xYourTeam draft them, in rounds. A drafted person (a pick) is adopted by their coach under the holding-tank rules, and their coach becomes their network sponsor while the pick is open.
`],
['What a position is', `
A position is a single, one-time purchase of $${F.usd}. It gives you ${F.picks} instant picks from the current pool, a spot in every weekly draft, the coaching tools, a coach page and trading cards. You can buy more than one; each adds ${F.picks} instant picks. Nothing renews and nothing is ever billed again. There are no subscriptions.
Positions are paid in POL on Polygon at the live Chainlink POL/USD price the contract reads when you buy. Anything you send above the price comes back to you in the same transaction.
What you buy is a seat in the draft and the tools to coach. It is not income, an investment or a share of anything.
`],
['The draft', `
The draft order is earned: coaches with more of last week's picks started (payouts switched on, or a first purchase) pick first; ties go to more picks started overall, then the earlier position. A coach in the draft room has a clock for each pick; a coach who is away is picked for automatically, from their own queue or the best available player. A coach may hold up to ${F.maxOpen} open picks.
A pick that has not started within ${F.returnDays} days goes back to the pool, unless that person has now been adopted twice, in which case they stay with their coach. A started pick stays on the team. A coach cannot release a pick in its first 48 hours. The pool never includes anyone locked to a sponsor on a network contract, anyone the network already knows a sponsor for, anyone adopted twice, spam or throwaway sign-ups, or anyone in their first 24 hours.
`],
['Coaching rules', `
Coaches get the right to sponsor and help their picks. They never get a pick's email, phone number or any other contact details, and no list of picks is ever sold or exported. Coaching happens through 5xYourTeam site messages; the pick also receives the network's normal email telling them who their new sponsor is. Be helpful and honest: no spam, no pressure, no income claims, nothing illegal. We may remove a coach who breaks these rules.
`],
['How a payment is split', `
The DraftPosition contract splits each position in the same transaction it is paid: 25% to your sponsor, 5% to each of levels 2 to 5 of your network sponsor line, 10% to the weekly Best Coach prize pot wallet, and 45% to 5xYourTeam.
Only someone who holds a position can receive a level share. Someone in the line who does not is passed over, and the share goes up to the next person who does: the first such person gets the 25% share, the next four get 5% each, looking up to 20 places up the line. A share nobody qualifies for goes to 5xYourTeam.
Your sponsor line comes from the network hub. On your first position the site signs it and the contract records it link by link. A link already recorded is never changed. The split is fixed in the contract code and there is no owner withdraw.
`],
['The Best Coach pot', `
10% of every position goes to a separate prize wallet fixed in the contract. Each week the pot is shared among the coaches whose picks started the most that week, as announced on the draft board. Every payout from the pot is listed on the ledger with its transaction. Prizes depend on the pot that week and are not promised.
`],
['Nothing is promised', `
We do not promise or guarantee any income, payout, prize or result. A level share is paid only when someone in your line chooses to buy a position. Read the Earnings Disclaimer.
`],
['No refunds', `
Payments are made on the blockchain and are final once confirmed. We cannot reverse, cancel or refund them. Check the amount before you confirm in your wallet.
`],
['Crypto risk', `
The price of POL moves. The dollar value of a payment can be higher or lower later than when it was paid.
You are responsible for your wallet and its recovery phrase. Nobody, including us, can recover a lost wallet or reverse a payment sent from it.
Each transaction costs a small network fee (gas) in POL, paid to the network, not to us.
Use SafePal or any other crypto wallet you trust, and never share your recovery phrase with anyone. We will never ask for it.
`],
['The service', `
The site is provided as it is. We work to keep it running but cannot promise it will always be available or free of errors. The smart contract runs on Polygon on its own; its rules are public on the contract page. We may change features, draft settings, the price of future positions or these terms; changes apply from the date they are posted here. As far as the law allows, our total responsibility to you is limited to what you paid for the purchase in question. These terms are governed by the laws of the State of Alabama, USA.
`],
CONTACT]);
legal('disclaimer.html', '/disclaimer', 'Earnings Disclaimer', NOTE, [
['What you are buying', `
A 5xYourTeam position is a seat in the weekly draft and the tools to coach the people you draft. It is not an investment, a business opportunity, a share of profits or a promise of any payment.
`],
['Level shares and prizes are not promised', `
The contract pays a level share only when someone in your line chooses to buy a position. Nobody is required to buy one, and we do not know or promise whether anyone ever will. Many coaches receive nothing, and many receive less than they spend. The Best Coach pot depends on what is sold that week. Your results depend on other people's free choices.
`],
['No examples are promises', `
Any number on this site, in the ledger or in a Telegram post shows what really happened in one transaction. It is not a typical result and not a forecast.
`],
['Prices and taxes', `
Positions are priced in US dollars and paid in POL, whose price moves. You are responsible for any taxes on what you receive where you live.
`]]);
legal('privacy.html', '/privacy', 'Privacy Policy', 'What 5xYourTeam keeps about you, why, and for how long.', [
['Who we are', `
5xYourTeam is run by ${F.co}, ${F.addr}.
`],
['What we keep', `
Your wallet address and network username.
Your network record from the network hub: your hub id and your sponsor line. 5xYourTeam does not store your email. When you sign in through InstantAdPay or LinkSpin, your email is used once to find your network record and is not kept.
Your positions, which are public on the Polygon blockchain.
The draft: who drafted whom and when, each pick's milestones (wallet linked, payouts on, first purchase), and the scouting facts shown on draft cards where the network tracks them (last seen, the site you joined through, game plays and earnings).
Site messages between a coach and their pick.
Your saved builder referral IDs.
`],
['What coaches see about a pick', `
A username, the scouting facts above and their milestones. Never an email, phone number or any other contact details, and no list is ever exported or sold. Anyone can see trading cards, which show milestones only, never earnings.
`],
['Cookies', `
A sign-in cookie (7 days), a cookie that remembers whose page you came from (30 days), and short-lived cookies for signing in through the network. No advertising or tracking cookies of our own.
`],
['Who else sees data', `
The Polygon blockchain: every position and payment is public there.
The network hub, which keeps one record per person across the network sites.
The network holding tank (InstantAdPay and LinkSpin), which records each adoption and sends the normal new-sponsor email.
Our Telegram payments topic: each position is posted with the buyer's username (or a shortened wallet) and the amounts paid, and the Draft Day results with usernames.
Services the pages load: Google Fonts and WalletConnect (Reown) when you connect a wallet.
We do not sell personal data.
`],
['Your choices', `
You can ask us to remove your account and messages here. Records on the blockchain cannot be removed by anyone.