updated todo and fixed themetoggle

This commit is contained in:
George Powell
2026-03-25 09:06:21 -04:00
parent e45ac28169
commit f5e16c7e71
2 changed files with 58 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { onMount } from 'svelte';
import { browser } from '$app/environment';
import { onMount } from "svelte";
import { browser } from "$app/environment";
import "./layout.css";
import favicon from "$lib/assets/favicon.ico";
@@ -11,15 +11,18 @@
onMount(() => {
isDev =
window.location.host === 'localhost:5173' ||
window.location.host === 'test.bibdle.com';
window.location.host === "localhost:5173" ||
window.location.host === "test.bibdle.com";
// Inject analytics script
const script = document.createElement('script');
const script = document.createElement("script");
script.defer = true;
script.src = 'https://umami.snail.city/script.js';
script.setAttribute('data-website-id', '5b8c31ad-71cd-4317-940b-6bccea732acc');
script.setAttribute('data-domains', 'bibdle.com,www.bibdle.com');
script.src = "https://umami.snail.city/script.js";
script.setAttribute(
"data-website-id",
"5b8c31ad-71cd-4317-940b-6bccea732acc",
);
script.setAttribute("data-domains", "bibdle.com,www.bibdle.com");
document.body.appendChild(script);
});
@@ -28,11 +31,18 @@
<svelte:head>
<link rel="icon" href={favicon} />
<link rel="alternate" type="application/rss+xml" title="Bibdle RSS Feed" href="/feed.xml" />
<link
rel="alternate"
type="application/rss+xml"
title="Bibdle RSS Feed"
href="/feed.xml"
/>
<meta name="description" content="A daily Bible game" />
</svelte:head>
<div class="min-h-dvh md:bg-linear-to-br md:from-blue-50 md:to-indigo-200 dark:md:from-gray-900 dark:md:to-slate-950">
<div
class="min-h-dvh md:bg-linear-to-br md:from-blue-50 md:to-indigo-200 dark:md:from-gray-900 dark:md:to-slate-950"
>
<h1
class="text-3xl md:text-4xl font-bold text-center uppercase text-gray-600 dark:text-gray-300 drop-shadow-2xl tracking-widest p-4 pt-12 animate-fade-in-up"
>
@@ -41,6 +51,8 @@
</h1>
{#if isDev}
<div class="flex justify-center pb-2"><ThemeToggle /></div>
{:else}
<div class="justify-center hidden pb-2"><ThemeToggle /></div>
{/if}
{@render children()}
</div>

36
todo.md
View File

@@ -59,6 +59,42 @@ I created Bibdle from a combination of two things. The first is my lifelong desi
# done
## march 25th
- Added Sign In with Google (OAuth)
- Added Google sign-in button to win screen and footer provider label
- Added rainbow glow effect
## march 24th
- Added achievements system, hint overlay, and progress page polish
## march 23rd
- Extracted CollapsibleTable component and fixed show more behavior
## march 22nd
- Added `/api/send-daily-verse` endpoint for daily Discord verse posting
- Improved guesses collapse timing, win screen CTA, and progress page polish
- Fixed Discord message format (italic date + bold verse)
## march 21st
- Added progress page with activity calendar, book grid, and insights
## march 19th
- Added Discord link and shrunk guesses grid for more than three guesses
- Added MAU section with projection to global stats
- Added survival curve metrics and table minimizing to global stats
## march 15th16th
- Fixed instructions, added color border based on closeness between guess and target
- Added return rate and retention metrics to global stats
- Added WAU history table, fixed retention metric, added new logos and favicon
## march 14th
- Added /global public dashboard with 8 stat cards: completions today, all-time, unique players, players this week, active streaks, avg guesses today, registered users, avg completions per player