From 9fc285d1ebbddf0db753e82af8617e9315175d96 Mon Sep 17 00:00:00 2001 From: martbost Date: Tue, 17 Nov 2026 08:25:40 -0600 Subject: [PATCH] Guides (Marty 2026-11-17): /guides index + How The Draft works, Is 5xYourTeam legit?, Coaching your picks, FAQ Static pages in the site's look (legal card layout, FX nav/footer via misc.js data-page=guides), canonical + meta + OG, linked from the nav and footer, in the sitemap, 'guides' reserved from coach URLs. Every number checked against config.js defaults (no DRAFT_/PICK_/POT_ env overrides on the live app) and DraftPosition on chain (priceCents 1000, 2500/500/1000 bps, MAX_DEPTH 20, MAX_QTY 10, company + prize wallets). Chatbot: f-guides FAQ entry + GUIDES fact. qa/guides.test.cjs (59 checks) keeps the pages in step with config. Co-Authored-By: Claude Opus 5.5 --- chatbot.js | 8 +++- public/assets/common.js | 4 +- public/assets/misc.js | 1 + public/guides.html | 37 ++++++++++++++++++ public/guides/coaching-your-picks.html | 42 ++++++++++++++++++++ public/guides/faq.html | 53 ++++++++++++++++++++++++++ public/guides/how-the-draft-works.html | 42 ++++++++++++++++++++ public/guides/is-5xyourteam-legit.html | 41 ++++++++++++++++++++ qa/guides.test.cjs | 44 +++++++++++++++++++++ server.js | 7 ++-- 10 files changed, 272 insertions(+), 7 deletions(-) create mode 100644 public/guides.html create mode 100644 public/guides/coaching-your-picks.html create mode 100644 public/guides/faq.html create mode 100644 public/guides/how-the-draft-works.html create mode 100644 public/guides/is-5xyourteam-legit.html create mode 100644 qa/guides.test.cjs diff --git a/chatbot.js b/chatbot.js index 84cedfd..8a4f6f6 100644 --- a/chatbot.js +++ b/chatbot.js @@ -80,7 +80,10 @@ const FAQ = [ answer: '5xYourTeam is part of the network: one account, one username and one sponsor line across InstantAdPay, LinkSpin, Downline Banners, Viral Banner Blitz, ViralAdBlitz, DownlineHydra, 5xYourTeam, Stack POL and Earners Corner. The pool is the network\'s holding tank: people who joined without a sponsor. A pick is an adoption under the network\'s holding-tank rules, and the person gets the network\'s normal new-sponsor email.' }, { id: 'f-started', title: 'What counts as a started pick', source: 'faq', tags: ['started', 'payouts on', 'first purchase'], questions: ['What counts as started?', 'When does a pick count for Best Coach?'], - answer: 'A pick counts as started when they switch on payouts or make a first purchase. Started picks stay on your team, decide next week\'s draft order and count for Best Coach that Central week.' } + answer: 'A pick counts as started when they switch on payouts or make a first purchase. Started picks stay on your team, decide next week\'s draft order and count for Best Coach that Central week.' }, + { id: 'f-guides', title: 'Guides: How The Draft works, is it legit, coaching, FAQ', source: 'faq', tags: ['guides', 'guide', 'how it works', 'legit', 'faq'], + questions: ['Is there a guide?', 'Where can I read how it all works?', 'Is there an FAQ page?'], + answer: 'The guides at ' + URL_ + '/guides explain everything in plain words: How The Draft works (' + URL_ + '/guides/how-the-draft-works), Is 5xYourTeam legit? with the contract, ledger and split (' + URL_ + '/guides/is-5xyourteam-legit), Coaching your picks (' + URL_ + '/guides/coaching-your-picks) and the FAQ (' + URL_ + '/guides/faq).' } ]; const FACTS = () => [ @@ -90,7 +93,8 @@ const FACTS = () => [ '- SPLIT (DraftPosition constants, no owner withdraw): sponsor ' + SP.sponsorPct + '%, levels 2-5 ' + SP.levelPct + '% each, Best Coach pot ' + SP.potPct + '%, company ' + SP.companyPct + '%, same transaction. Pass-up: only position holders receive; the first holder up the line gets the ' + SP.sponsorPct + '%, the next four ' + SP.levelPct + '% each, within ' + SP.maxDepth + ' places; an unclaimed level share goes to the company; the pot share always goes to the pot. A failed send waits in the contract for its owner to claim. Sponsor line from the network hub, signed on the first position and recorded link by link, never changed.', '- BEST COACH POT: ' + SP.potPct + '% of every position to a prize wallet fixed in the contract; each Central week shared among the coaches whose picks started the most (places ' + POT + ' percent; tie = got there first), announced on the board, every payout on the ledger. Prizes depend on that week\'s pot, never promised. Boards also show Rookie of the Week and last week\'s top 3.', '- CARDS: Rookie (drafted), Starter (wallet), Pro (payouts on), All-Star (first purchase), Hall of Fame (holds a position of their own). Public cards show milestones, never earnings; scouting earnings show to coaches only.', - '- PAGES: / (pool, tracker, standings), /join (buy), /team (coaching), /cards, /builder (CryptoTeamBuild builder, third-party programs), /promote, /ledger, /contract, /terms, /disclaimer, /privacy. Run by TrustClickz.', + '- GUIDES (plain-word pages, send people there for detail): ' + URL_ + '/guides (index), /guides/how-the-draft-works, /guides/is-5xyourteam-legit (contract, ledger, split), /guides/coaching-your-picks, /guides/faq.', + '- PAGES: / (pool, tracker, standings), /join (buy), /guides, /team (coaching), /cards, /builder (CryptoTeamBuild builder, third-party programs), /promote, /ledger, /contract, /terms, /disclaimer, /privacy. Run by TrustClickz.', (weekend.live() ? '- NETWORK WEEKEND (live now, Black Friday to Cyber Monday, Fri 11-27 to Mon 11-30, midnight to midnight Central): every position bought in the window comes with ' + weekend.weekendPicks() + ' instant picks instead of ' + PO.picksOnBuy + ', same $' + PO.usd + ' price. This overrides the ' + PO.picksOnBuy + ' picks above until Tuesday 12-01 00:00 Central. Every network deal: https://instantadpay.com/weekend' : null), '- NO REFUNDS: blockchain payments are final. SUPPORT for account or payment problems: network support at ' + SUPPORT + ' (InstantAdPay runs the one desk for every network site). ' + NOT_INCOME ].filter(Boolean).join('\n'); diff --git a/public/assets/common.js b/public/assets/common.js index 414e9e1..f15ffa2 100644 --- a/public/assets/common.js +++ b/public/assets/common.js @@ -24,7 +24,7 @@ window.FX = (function () { let weekLabel = ''; function renderNav(active, week) { const nav = document.createElement('nav'); nav.className = 'top'; - const links = [['/', 'Draft Board'], ['/team', 'My Team'], ['/cards', 'Card Collection'], ['/join', 'Get a Position'], ['/ledger', 'Ledger'], ['/contract', 'Contract']]; + const links = [['/', 'Draft Board'], ['/team', 'My Team'], ['/cards', 'Card Collection'], ['/join', 'Get a Position'], ['/ledger', 'Ledger'], ['/contract', 'Contract'], ['/guides', 'Guides']]; nav.innerHTML = '
5XYOURTEAM
'; document.body.prepend(nav); @@ -49,7 +49,7 @@ window.FX = (function () { const f = document.createElement('footer'); f.className = 'foot'; f.innerHTML = '

5xYourTeam, the weekly draft for people who need a sponsor

' + '

A position buys a draft spot and coaching tools, not income. Nothing is promised.

' - + '

Draft Board · My Team · Cards · Get a Position · Promote

' + + '

Draft Board · My Team · Cards · Get a Position · Promote · Guides

' + '' + '

© 2026 TrustClickz

'; document.body.appendChild(f); diff --git a/public/assets/misc.js b/public/assets/misc.js index e0ba2cf..19dce2d 100644 --- a/public/assets/misc.js +++ b/public/assets/misc.js @@ -2,6 +2,7 @@ (async function () { const page = document.body.dataset.page; const $ = FX.$, esc = FX.esc; if (page === 'legal') { FX.renderNav(''); FX.renderFooter(); return; } + if (page === 'guides') { FX.renderNav('/guides'); FX.renderFooter(); return; } // Guides pages (2026-11-17) if (page === 'promote') { FX.renderNav(''); FX.renderFooter(); const RE = /^(?:[A-Za-z0-9_.-]{2,40}|0x[0-9a-fA-F]{40})$/; diff --git a/public/guides.html b/public/guides.html new file mode 100644 index 0000000..b152e81 --- /dev/null +++ b/public/guides.html @@ -0,0 +1,37 @@ + + + + +Guides | 5xYourTeam + + + + + + + + + + + + + + + + + + + + + +
+

GUIDES

5xYourTeam guides

Everything about The Draft in plain words. Every number here comes from the site's code and the contract.

+

Start here

  • How The Draft works: Draft day, rounds, the pick clock, earned draft order, and what happens to picks that do not start.
  • Is 5xYourTeam legit?: The DraftPosition contract, the live ledger and exactly where the $10 goes.
  • Coaching your picks: Your team page, the five getting-started steps, site messages and who to help first.
  • 5xYourTeam FAQ: Short answers to the questions coaches ask most.
+

Check it yourself

The contract page reads the DraftPosition contract live from Polygon, and the ledger lists every payment with its transaction. The card collection shows how picks level up.

Still stuck? Ask the chat assistant on any page, or open network support.

+

A position buys a draft spot and coaching tools, not income. Nothing is promised.

+
+ + + + + diff --git a/public/guides/coaching-your-picks.html b/public/guides/coaching-your-picks.html new file mode 100644 index 0000000..42bf9d9 --- /dev/null +++ b/public/guides/coaching-your-picks.html @@ -0,0 +1,42 @@ + + + + +Coaching your picks | 5xYourTeam + + + + + + + + + + + + + + + + + + + + + +
+

GUIDES · COACHING

Coaching your picks

A pick is a person who joined without a sponsor. Your job is to help them get started.

+

Your team page

Your team page shows each pick's scouting stats, the five getting-started steps, one-tap messages and a message thread with them, and who to help first.

+

The five getting-started steps

  1. Signed in
  2. Username
  3. Wallet linked
  4. Payouts on
  5. First purchase

A pick counts as started when they switch on payouts or make a first purchase. Started picks stay on your team, decide next week's draft order and count for Best Coach that Central week.

+

Messages only, never contact details

You get the right to sponsor and help your picks, never their email, phone or any contact details. You coach through site messages only. Your pick gets the network's normal "you have a new sponsor" email.

+

Who to help first

The team page puts the most urgent picks on top:

  1. picks going back to the pool within a day
  2. picks who linked a wallet but have not switched on payouts yet
  3. picks who have been quiet for more than 2 days, or have not signed in yet
  4. active picks with no wallet yet

Each one comes with a suggested message. For a wallet step: SafePal or any other crypto wallet works.

+

Watch the clock

A pick that has not started goes back to the pool after 3 days (unless they have now had 2 adoptions). You cannot release a pick in its first 48 hours, so give new picks a little time. You can hold up to 10 open picks at a time.

+

Your trading cards

Each pick's card levels up as they do: 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. Public cards show milestones, never earnings. See the card collection.

+

More guides

  • How The Draft works: Draft day, rounds, the pick clock, earned draft order, and what happens to picks that do not start.
  • Is 5xYourTeam legit?: The DraftPosition contract, the live ledger and exactly where the $10 goes.
  • 5xYourTeam FAQ: Short answers to the questions coaches ask most.
+

A position buys a draft spot and coaching tools, not income. Nothing is promised.

+
+ + + + + diff --git a/public/guides/faq.html b/public/guides/faq.html new file mode 100644 index 0000000..6a5e93f --- /dev/null +++ b/public/guides/faq.html @@ -0,0 +1,53 @@ + + + + +5xYourTeam FAQ | 5xYourTeam + + + + + + + + + + + + + + + + + + + + + +
+

GUIDES · FAQ

5xYourTeam FAQ

The same answers the chat assistant gives, on one page.

+

What is 5xYourTeam?

The Draft: a weekly draft for people in the network who joined without a sponsor. A $10 one-time position gives you 5 picks right away and a spot in every draft, Monday at 7 PM Central, 5 rounds. Each pick becomes yours to sponsor and coach through site messages. See How The Draft works.

+

How much is a position, and is it a subscription?

$10 one time in POL, never a subscription. You can buy 1 to 10 in one payment. A position gives 5 instant picks, a spot in every weekly draft, the coaching tools, a coach page and trading cards, and up to 10 open picks at a time. Get one on the join page.

+

Where does the $10 go?

In the same transaction: 25% to your sponsor, 5% to each of levels 2 to 5 of your sponsor line, 10% to the weekly Best Coach pot and 45% to 5xYourTeam. Only position holders receive a share; anyone who does not hold one is passed over, looking up to 20 places. Details in Is 5xYourTeam legit?

+

How do I withdraw?

There is nothing to withdraw. Each share goes straight to the wallet inside the buyer's transaction, so the contract keeps nothing (a payment that fails to send waits in the contract for that wallet to claim). Every payment shows on the ledger.

+

When is the draft, and what if I miss it?

Every Monday at 7 PM Central, 5 rounds in straight order. A coach on the draft board gets a 90-second clock. Away? You are auto-picked at once from your own queue, or the best available player by scouting score.

+

How is draft order decided?

It is earned: the coaches with the most of last week's picks started go first, then the most started ever, then who got their position first.

+

What counts as a started pick?

A pick who switched on payouts or made a first purchase.

+

What happens to a pick that does not start?

It returns to the pool after 3 days, unless they have now had 2 adoptions. A started pick stays. You cannot release a pick in its first 48 hours.

+

Who can be drafted?

People in the network waiting for a sponsor. Nobody locked on a network contract, already sponsored, adopted twice, spam, or inside their first 24 hours is ever in the pool.

+

Do I get my picks' email or phone number?

No. You coach through site messages only. See Coaching your picks.

+

What is the Best Coach pot?

10% of every position goes to a separate prize wallet fixed in the contract. Each Central week the pot is shared among the coaches whose picks started the most that week (50/30/20 percent to the top places; a tie goes to whoever got there first). Every pot payout is on the ledger. Prizes depend on that week's pot and are not promised.

+

What are the trading cards?

Each pick's card levels up: Rookie when drafted, Starter at a linked wallet, Pro at payouts on, All-Star at a first purchase, Hall of Fame when they hold a position and coach a team. Public cards show milestones, never earnings. See the cards.

+

What is the builder?

The builder is the CryptoTeamBuild downline builder for outside programs run by third parties. Save your referral ID for each program you use, and your picks see your link for it.

+

How do I sign in and pay?

Sign in with your wallet or your network account (InstantAdPay or LinkSpin). The position goes to the wallet you are signed in with. Pay in POL on Polygon with SafePal or any other crypto wallet, keeping a little extra POL for the network fee. Anything you send above the exact price comes back in the same transaction.

+

Do I need a new account?

No. 5xYourTeam is part of the network: one account, one username and one sponsor line across InstantAdPay, LinkSpin and the other network sites.

+

Can I get a refund?

Positions are paid on Polygon and are final once confirmed, so they cannot be refunded. A position never renews, so there is nothing to cancel.

+

How do I reach a person?

Open network support, say it is about 5xYourTeam, and include your username, your wallet address and the transaction link if it is about a position.

+

More guides

  • How The Draft works: Draft day, rounds, the pick clock, earned draft order, and what happens to picks that do not start.
  • Is 5xYourTeam legit?: The DraftPosition contract, the live ledger and exactly where the $10 goes.
  • Coaching your picks: Your team page, the five getting-started steps, site messages and who to help first.
+

A position buys a draft spot and coaching tools, not income. Nothing is promised.

+
+ + + + + diff --git a/public/guides/how-the-draft-works.html b/public/guides/how-the-draft-works.html new file mode 100644 index 0000000..0a0994e --- /dev/null +++ b/public/guides/how-the-draft-works.html @@ -0,0 +1,42 @@ + + + + +How The Draft works | 5xYourTeam + + + + + + + + + + + + + + + + + + + + + +
+

GUIDES · HOW IT WORKS

How The Draft works

Coaches draft people who joined the network without a sponsor, every week, then help them get started.

+

The short version

A $10 one-time position (paid in POL, never a subscription) makes you a coach. It gives you 5 picks right away and a spot in every weekly draft. Each pick becomes yours to sponsor and coach through site messages. Special network events can add extra instant picks; the join page shows the current number.

+

Who is in the pool

The pool is the network's holding tank: people who joined without a sponsor. A pick is an adoption under the network's holding-tank rules. These people are never in the pool:

  • anyone locked on a network contract
  • anyone who already has a sponsor
  • anyone who has already been adopted twice
  • spam or throwaway sign-ups
  • anyone in their first 24 hours after signing up
+

Draft day

The draft runs every Monday at 7 PM Central, 5 rounds, in straight order (the same earned order every round).

  • When it is your turn and you are on the draft board page, you get a 90-second clock to pick.
  • If you are away, you are auto-picked at once: the first available player on your own queue, or else the best available player by scouting score.
  • A coach who already has 10 open picks is skipped for that slot.
  • The draft ends when every round is made or the pool runs out.
  • If the site is down and a draft would start more than 6 hours late, that week's draft is skipped, never run late.
+

Draft order is earned

Coaches whose picks started last week pick first. A pick counts as started when they switch on payouts or make a first purchase. Ties go, in order, to:

  1. the most started picks ever
  2. whoever got their first position earlier
  3. a fixed shuffle for that week, so nobody is always last
+

What happens to each pick

  • A started pick stays on your team for good.
  • A pick that has not started goes back to the pool after 3 days, unless that person has now had 2 adoptions, in which case they stay with you.
  • You can release a pick yourself, but not in its first 48 hours.
  • You can have up to 10 open picks at a time.
+

Best Coach and the cards

10% of every position goes to the weekly Best Coach pot. Each Central week the pot is shared among the coaches whose picks started the most that week: 50, 30 and 20 percent of that week's pot to the top three places, and a tie goes to whoever got there first. Prizes depend on that week's pot and are not promised.

Each pick has a trading card that levels up with them: Rookie, Starter, Pro, All-Star and Hall of Fame. See the card collection.

+

More guides

  • Is 5xYourTeam legit?: The DraftPosition contract, the live ledger and exactly where the $10 goes.
  • Coaching your picks: Your team page, the five getting-started steps, site messages and who to help first.
  • 5xYourTeam FAQ: Short answers to the questions coaches ask most.
+

A position buys a draft spot and coaching tools, not income. Nothing is promised.

+
+ + + + + diff --git a/public/guides/is-5xyourteam-legit.html b/public/guides/is-5xyourteam-legit.html new file mode 100644 index 0000000..2ad7c67 --- /dev/null +++ b/public/guides/is-5xyourteam-legit.html @@ -0,0 +1,41 @@ + + + + +Is 5xYourTeam legit? | 5xYourTeam + + + + + + + + + + + + + + + + + + + + + +
+

GUIDES · IS IT LEGIT

Is 5xYourTeam legit?

Do not take our word for it. Here is what you can check yourself, on chain.

+

The contract

Positions are bought through the DraftPosition contract on Polygon:

0x83Bb982d8B485De1a24E7D313765dDA48D5aBc74

View the verified source on Polygonscan · Sourcify (exact match) · Live contract facts on this site

+

Where the $10 goes

A position is $10 one time, paid in POL at the live POL/USD price from the on-chain price feed. The contract splits it in the same transaction:

ShareTo
25% ($2.50)the buyer's sponsor (level 1)
5% each ($0.50 each)levels 2, 3, 4 and 5 of the sponsor line
10% ($1.00)the weekly Best Coach pot wallet
45% ($4.50)the company

Only people who hold a position can receive a level share. Anyone up the line who does not is passed over, and the share goes to the next person up who does, looking up to 20 places. A level share nobody qualifies for goes to the company. The pot share always goes to the pot.

+

What the contract cannot do

  • The split, the company wallet and the prize wallet are fixed in the code. No setting can change them.
  • There is no owner withdraw, no proxy and no self-destruct.
  • The contract keeps nothing. Each share goes straight to the person's wallet. A payment that fails to send waits in the contract for that wallet to claim, and it never blocks the purchase.
  • Your sponsor line is recorded on chain one link at a time, and a recorded link never changes.

The owner can change the price of future positions. Nothing already bought changes.

+

The public ledger

Every purchase and every payout, Best Coach pot payouts included, is on the live ledger with its transaction link, so you can open each one on Polygonscan.

+

What is not promised

A position buys a draft spot and coaching tools, not income. Nothing is promised. Nobody receives a level share unless real positions are bought in their line, and many coaches receive nothing. Positions are paid on chain and are final, so there are no refunds. Read the earnings disclaimer and the terms.

+

More guides

  • How The Draft works: Draft day, rounds, the pick clock, earned draft order, and what happens to picks that do not start.
  • Coaching your picks: Your team page, the five getting-started steps, site messages and who to help first.
  • 5xYourTeam FAQ: Short answers to the questions coaches ask most.
+

A position buys a draft spot and coaching tools, not income. Nothing is promised.

+
+ + + + + diff --git a/qa/guides.test.cjs b/qa/guides.test.cjs new file mode 100644 index 0000000..b1f3065 --- /dev/null +++ b/qa/guides.test.cjs @@ -0,0 +1,44 @@ +// Guides pages (Marty 2026-11-17): the static numbers on /guides/* must match config.js (the source the chatbot reads), +// every guide is routed and in the sitemap list, and the house copy rules hold. Run: node qa/guides.test.cjs +'use strict'; +const fs = require('fs'), path = require('path'), assert = require('assert'); +const C = require('../config').get(); +const PUB = path.join(__dirname, '..', 'public'); +const FILES = ['guides.html', 'guides/how-the-draft-works.html', 'guides/is-5xyourteam-legit.html', 'guides/coaching-your-picks.html', 'guides/faq.html']; +let n = 0; const ok = (c, m) => { assert.ok(c, m); n++; }; +const read = f => fs.readFileSync(path.join(PUB, f), 'utf8'); +const all = FILES.map(read).join('\n'); +const srv = fs.readFileSync(path.join(__dirname, '..', 'server.js'), 'utf8'); +for (const f of FILES) { + const h = read(f), url = '/' + f.replace(/\.html$/, ''); + ok(h.includes(''), f + ': canonical'); + ok(//.test(h), f + ': meta description'); + ok(h.includes('og:title') && h.includes('og:image'), f + ': OG tags'); + ok(srv.includes("'" + url + "': '" + f + "'"), f + ': routed in server.js'); + ok(srv.includes("'" + url + "'"), f + ': in the sitemap list'); + ok(!/[—–]|--/.test(h.replace(//g, '')), f + ': no em/en dashes or double hyphens'); + ok(!/rm circle/i.test(h), f + ': never RM Circle'); + ok(h.includes('not income. Nothing is promised.'), f + ': the not-income line'); +} +// numbers vs config (the defaults the live app runs with) +const P = C.position, S = C.split, D = C.draft, K = C.picks; +ok(all.includes('$' + P.usd + ' one-time') || all.includes('$' + P.usd + ' one time'), 'price'); +ok(all.includes(P.picksOnBuy + ' picks right away'), 'instant picks'); +ok(D.dow === 1 && D.hour === 19 && all.includes('Monday at 7 PM Central'), 'draft day + hour'); +ok(all.includes(D.rounds + ' rounds'), 'rounds'); +ok(all.includes(D.pickSeconds + '-second clock'), 'pick clock'); +ok(all.includes('more than ' + D.lateHours + ' hours late'), 'late skip'); +ok(all.includes('after ' + K.returnDays + ' days'), 'return days'); +ok(all.includes('first ' + K.holdHours + ' hours'), 'release hold'); +ok(all.includes(K.maxOpen + ' open picks'), 'max open'); +ok(all.includes('first ' + K.graceHours + ' hours'), 'sign-up grace'); +ok(all.includes(K.maxAdoptions + ' adoptions'), 'adoption limit'); +ok(all.includes('1 to ' + P.maxQty), 'max per payment'); +ok(C.pot.split.join(',') === '50,30,20' && all.includes('50, 30 and 20 percent'), 'pot places'); +ok(all.includes(S.sponsorPct + '% ($' + (P.usd * S.sponsorPct / 100).toFixed(2) + ')'), 'sponsor share'); +ok(all.includes(S.levelPct + '% each ($' + (P.usd * S.levelPct / 100).toFixed(2) + ' each)'), 'level share'); +ok(all.includes(S.potPct + '% ($' + (P.usd * S.potPct / 100).toFixed(2) + ')'), 'pot share'); +ok(all.includes(S.companyPct + '% ($' + (P.usd * S.companyPct / 100).toFixed(2) + ')'), 'company share'); +ok(S.sponsorPct + 4 * S.levelPct + S.potPct + S.companyPct === 100, 'split adds to 100'); +ok(all.includes('up to ' + S.maxDepth + ' places'), 'pass-up depth'); +console.log('guides: ' + n + ' checks passed'); diff --git a/server.js b/server.js index 933ea66..b0e7620 100644 --- a/server.js +++ b/server.js @@ -132,8 +132,9 @@ function oldLink(u) { } const PAGES = { '/': 'index.html', '/team': 'team.html', '/cards': 'cards.html', '/join': 'join.html', '/ledger': 'ledger.html', '/contract': 'contract.html', '/admin': 'admin.html', - '/terms': 'terms.html', '/disclaimer': 'disclaimer.html', '/privacy': 'privacy.html', '/builder': 'builder.html' }; -const RESERVED = new Set(['api', 'assets', 'art', 'go', 'r', 'sso', 'health', 'promote', 'sitemap.xml', 'robots.txt', 'favicon.ico', 'index.php', 'team', 'cards', 'join', 'ledger', 'contract', 'admin', 'terms', 'disclaimer', 'privacy', 'builder', 'members', 'draft', 'board']); + '/terms': 'terms.html', '/disclaimer': 'disclaimer.html', '/privacy': 'privacy.html', '/builder': 'builder.html', + '/guides': 'guides.html', '/guides/how-the-draft-works': 'guides/how-the-draft-works.html', '/guides/is-5xyourteam-legit': 'guides/is-5xyourteam-legit.html', '/guides/coaching-your-picks': 'guides/coaching-your-picks.html', '/guides/faq': 'guides/faq.html' }; // Guides (Marty 2026-11-17) +const RESERVED = new Set(['api', 'assets', 'art', 'go', 'r', 'sso', 'health', 'promote', 'sitemap.xml', 'robots.txt', 'favicon.ico', 'index.php', 'team', 'cards', 'join', 'ledger', 'contract', 'admin', 'terms', 'disclaimer', 'privacy', 'builder', 'members', 'draft', 'board', 'guides']); const challenges = new Map(); // a join link to InstantAdPay or LinkSpin carries the way back here (2026-11-17, Marty: "it never had a return path back"): the // provider remembers ?return=&to=/my and, after the sign-up or sign-in (and the wallet step), sends the member back @@ -235,7 +236,7 @@ const server = http.createServer(async (req, res) => { if (/^\/r\/[^/]+$/.test(p)) { res.writeHead(302, { Location: '/' + encodeURIComponent(decodeURIComponent(p.slice(3))) }); return res.end(); } if (p === '/sitemap.xml') { const day = new Date().toISOString().slice(0, 10); - const urls = ['/', '/join', '/cards', '/ledger', '/contract', '/promote', '/terms', '/disclaimer', '/privacy'].map(x => 'https://' + C.site + x + '' + day + '').join(''); + const urls = ['/', '/join', '/cards', '/ledger', '/contract', '/promote', '/guides', '/guides/how-the-draft-works', '/guides/is-5xyourteam-legit', '/guides/coaching-your-picks', '/guides/faq', '/terms', '/disclaimer', '/privacy'].map(x => 'https://' + C.site + x + '' + day + '').join(''); res.writeHead(200, headers({ 'Content-Type': 'application/xml; charset=utf-8', 'Cache-Control': 'public, max-age=3600' })); return res.end('' + urls + ''); }