11d6f46950
Marty: members could not find their referral link. A signed-in player now sees an "Invite friends" card right under Play: their /r/<username> link (previews with their own card), Copy (clipboard API, select+copy fallback, prompt last) with a Copied! confirmation, and Share where the phone has a share sheet. Link stats and the how-it-works line moved into the card. No username yet: the card says how to get one. Attribution: ?ref=<name> on /, /play and /signin (and ?r= on the landing, where framed /r/<name> lands) now sets the same dr.ref sponsor cookie as /r/<name>, last touch wins. /r/<name> for a name the game does not know keeps it as /?ref=<name> instead of dropping it. signin.js also reads ?ref straight from the URL. Tests cover each path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
29 lines
1.3 KiB
HTML
29 lines
1.3 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
|
<meta name="robots" content="noindex,nofollow">
|
|
<title>Sign in · Drip Runner</title>
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Orbitron:wght@600;800;900&family=Manrope:wght@400;600;800&display=swap">
|
|
<link rel="stylesheet" href="/site.css">
|
|
<style>
|
|
html{background:#050912}
|
|
.si{max-width:420px;margin:0 auto;padding-top:36px;display:grid;gap:18px}
|
|
.si .logo{font-size:30px;text-align:center}
|
|
.si .card{--si-accent:var(--cyan);--si-accent-ink:#04121a;--si-ink:var(--ink);--si-muted:var(--ink2);--si-field:rgba(5,9,18,.6);--si-line:var(--line);--si-font:var(--body);--si-bad:#ff7a9c}
|
|
.si .card h2{margin:0}
|
|
.si .back{text-align:center;font-size:14px}.si .back a{color:var(--muted)}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main class="si">
|
|
<a href="/" style="text-decoration:none"><p class="logo">Drip <span>Runner</span></p></a>
|
|
<section class="card" id="iapSignin"><p>Loading sign-in…</p></section>
|
|
<p class="back"><a href="/play">Keep playing as a guest</a></p>
|
|
</main>
|
|
<script src="https://instantadpay.com/assets/game-signin.js?v=20261003b"></script>
|
|
<script src="/signin.js?v=20261005b"></script>
|
|
</body>
|
|
</html>
|