Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
main { width: min(34rem, calc(100% - 3rem)); }
h1 { margin: 0 0 .25rem; font-size: clamp(3rem, 12vw, 7rem); letter-spacing: -.08em; }
p { color: #aeb8bc; }
.games { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.games { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; margin-top: 1.5rem; }
a, button { padding: .8rem 1.1rem; border: 0; border-radius: .35rem; font: inherit; font-weight: 750; }
a { color: #15191c; background: #f4a340; text-decoration: none; }
button { color: #7f898d; background: #252b2e; cursor: not-allowed; }
Expand All @@ -26,7 +26,7 @@ <h1>playsrc</h1>
<p>Source, directly in the browser.</p>
<div class="games">
<a href="/tf2">Play Team Fortress 2</a>
<button type="button" disabled>Half-Life 2 · Coming next</button>
<button type="button" disabled>Half-Life 2</button>
</div>
</main>
</body>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/tf2/tests/deployment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const release = {
describe("TF2 production release", () => {
test("keeps the HL2 landing-page teaser disabled", async () => {
const landing = await readFile(new URL("../../index.html", import.meta.url), "utf8")
expect(landing).toContain("<button type=\"button\" disabled>Half-Life 2 · Coming next</button>")
expect(landing).toContain("<button type=\"button\" disabled>Half-Life 2</button>")
expect(landing).not.toContain("href=\"/hl2\"")
})

Expand Down