minor guide changes and listen on localhost only

This commit is contained in:
pleb 2025-11-02 08:25:59 -08:00
parent cec4fe8905
commit f92a55a053
2 changed files with 2 additions and 4 deletions

View File

@ -7,7 +7,7 @@
"dev": "vite dev", "dev": "vite dev",
"build": "vite build", "build": "vite build",
"preview": "vite preview", "preview": "vite preview",
"start": "PORT=8037 node build/index.js", "start": "HOST=127.0.0.1 PORT=8037 node build/index.js",
"prepare": "svelte-kit sync || echo ''", "prepare": "svelte-kit sync || echo ''",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",

View File

@ -4,15 +4,13 @@
<section class="py-8 prose prose-invert max-w-none"> <section class="py-8 prose prose-invert max-w-none">
<h1 class="font-display tracking-widest">Guides</h1> <h1 class="font-display tracking-widest">Guides</h1>
<p>Community-written tips and guides for improving your Beat Saber game. Contributions welcome.</p> <p>The best starting point for reading about Beat Saber is the <a href="https://bsmg.wiki" target="_blank" rel="noreferrer">bsmg.wiki</a>. This page has some complementary community-written advice for finding maps to play and maps to <code>!bsr</code> your favorite Twitch streamers. Contributions welcome.</p>
<div class="not-prose grid gap-4 sm:grid-cols-2 lg:grid-cols-3 mt-6"> <div class="not-prose grid gap-4 sm:grid-cols-2 lg:grid-cols-3 mt-6">
{#if dev}
<a href="/guides/beatleader-auth" class="card-surface p-5 block"> <a href="/guides/beatleader-auth" class="card-surface p-5 block">
<h3 class="font-semibold">BeatLeader Authentication</h3> <h3 class="font-semibold">BeatLeader Authentication</h3>
<p class="mt-1 text-sm text-muted">Connect BeatLeader to enhance tools like Compare Players.</p> <p class="mt-1 text-sm text-muted">Connect BeatLeader to enhance tools like Compare Players.</p>
</a> </a>
{/if}
<a href="/guides/finding-new-songs" class="card-surface p-5 block"> <a href="/guides/finding-new-songs" class="card-surface p-5 block">
<h3 class="font-semibold">Finding New Songs (BeatLeader)</h3> <h3 class="font-semibold">Finding New Songs (BeatLeader)</h3>
<p class="mt-1 text-sm text-muted">Month-by-month search using unranked stars, tech rating, and friend filters.</p> <p class="mt-1 text-sm text-muted">Month-by-month search using unranked stars, tech rating, and friend filters.</p>