diff --git a/src/views/pages.js b/src/views/pages.js index cfd9777..c3e1820 100644 --- a/src/views/pages.js +++ b/src/views/pages.js @@ -45,17 +45,31 @@ function nav({ authenticated, userId }) { ? `
@${escapeHtml(userId)}
` : `Get started`; - return ``; + `; } function renderLandingPage({ authenticated, userId }) { @@ -120,15 +134,41 @@ function renderLoginPage({ returnTo = "/app", error = null }) {

Sign in

-

Dev sign-in powered by Better Auth. Enter a username to create a session.

+

Use your email account or continue with X.

${errorBlock} -
+ + + +
+
Email
+
- + + +
+
Create account
+
+ + + + +
@@ -219,8 +259,8 @@ function renderAudioPage({ audio, accessDecision, userId, playbackUrl = null })
Duration ~ ${audio.durationSec}s • Asset ${escapeHtml(audio.id)}
${action} ${accessDecision.allowed - ? `
${escapeHtml(playbackUrl || `stream://${audio.storageKey}`)}
` - : ""} + ? `
${escapeHtml(playbackUrl || `stream://${audio.storageKey}`)}
` + : ""} `,