Commit Graph

37 Commits

Author SHA1 Message Date
George Powell be0d7ad297 Added verse-submission infrastructure 2026-07-07 15:41:10 -04:00
George Powell 99552c57ad Added donation button 2026-07-07 13:12:17 -04:00
George Powell e45ac28169 rainbow glow 2026-03-25 02:25:04 -04:00
George Powell 3d578a9eb8 feat: add Google sign-in button to WinScreen and footer provider label
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 01:50:34 -04:00
George Powell 45d33b6bad feat: improve guesses collapse timing, win screen CTA, and progress page polish
- GuessesTable now accepts a `minimized` prop instead of deriving collapse from `isWon`, giving the parent control over timing
- Delay collapsing guesses grid until win animations complete (1800ms), skipped for already-completed puzzles
- Replace plain progress link on win screen with a styled green button matching other CTAs
- Progress page: remove redundant subtitle and nav button from header, add book status legend, add axis labels to guess history chart

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 00:47:02 -04:00
George Powell 3eb3a968dc feat: add progress page with activity calendar, book grid, and insights
Adds a new /progress route showing a personalized Bible knowledge dashboard
with stat cards, book mastery grid, 30-day activity calendar, skill growth
chart, streak milestones, and section insights. Links added from WinScreen
(logged-in users) and DevButtons.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 23:33:47 -04:00
George Powell 67d9757f98 added discord link and shrunk guessesgrid for more than three guesses 2026-03-19 10:53:57 -04:00
George Powell 61673a646d Added thank you message 2026-03-14 18:46:22 -04:00
George Powell 1eb8eb2f04 Added umami event to Apple signin and fixed spacing 2026-03-14 18:40:57 -04:00
George Powell 884bbe65c7 feat: add about page, sitemap, social links component, Apple sign-in
prompt on win screen, and layout/theme improvements

  ## New features

  - **About page** (`src/routes/about/`): New static about page rendered
    from `static/about.md` using the `marked` library (added as a
    dependency). Includes the project backstory content.

  - **XML sitemap** (`src/routes/sitemap.xml/`): Dynamic sitemap
    endpoint for SEO, registered in `static/robots.txt` via `Sitemap:`
    directive.

  - **Apple Sign In prompt on win screen** (`WinScreen.svelte`): When
    the game is won and the user is not logged in, a "Sign in to save
    your streak & see your stats" prompt with an Apple Sign In button is
    shown below the share card. Passes `anonymousId` so stats migrate on
    sign-up. Driven by new `isLoggedIn` and `anonymousId` props, passed
    from `+page.svelte`.

  ## Refactoring

  - **`SocialLinks` component**
    (`src/lib/components/SocialLinks.svelte`): Extracted the Bluesky,
    Twitter/X, and email social link icons from `Credits.svelte` into a
    reusable component. `Credits.svelte` now imports and renders
    `<SocialLinks />`.

  - **`ThemeToggle` component**
    (`src/lib/components/ThemeToggle.svelte`): New component for
    toggling light/dark mode, persisted to `localStorage`. Currently
    rendered but hidden (`hidden` class) in `+page.svelte` —
    infrastructure is in place for future use.

  ## Layout changes

  - **`+layout.svelte`**: Moved the page title/header (`<h1>` with
    `TitleAnimation`) and the gradient background wrapper from
    `+page.svelte` into the root layout, so it applies across all
    routes. Also removed the `browser` guard around the analytics script
    injection (it's
    already inside `onMount` which is client-only). Added `<meta
    name="description">`.

  - **`+page.svelte`**: Removed the title/header and gradient wrapper
    (now in layout). Minor formatting cleanup (reformatted `SearchInput`
    props, moved `currentDate` derived state earlier). `ThemeToggle`
    import swapped in place of `TitleAnimation` (which moved to layout).

  ## Styling

  - **`layout.css`**: Added `@custom-variant dark` for class-based dark
    mode toggling (supports `.dark` class on `<html>`). Added explicit
    `html.dark` / `html.light` rules alongside the existing
    `prefers-color-scheme` media query, so the `ThemeToggle` component
    can
    override the system preference. Added background transition
    animation.
2026-03-12 18:22:59 -04:00
George Powell 592fa917cd added device-dependent dark mode 2026-02-26 07:27:30 -05:00
George Powell e1a665ba63 added toggle verse display and fixed timer spacing 2026-02-26 01:23:13 -05:00
George Powell f3c9feaf97 removed verse snippet from share 2026-02-26 00:52:00 -05:00
George Powell a5cf248e29 added streak container 2026-02-26 00:51:48 -05:00
George Powell 1de436534c added copy verse text button 2026-02-22 22:50:28 -05:00
George Powell 3bcd7ea266 Fixed some things and added analytics events back 2026-02-22 22:29:35 -05:00
George Powell 7ecc84ffbc Centered main share button text 2026-02-22 19:30:35 -05:00
George Powell 3d78353a90 new share button design 2026-02-22 19:26:40 -05:00
George Powell bd36f29419 Updated streak-percentile to count all players from the last 30 days (or
all active streaks if players have a greater than 30 day streak)
2026-02-22 00:25:08 -05:00
George Powell 3036264d44 Add Rybbit analytics alongside Umami
- Load Rybbit script via app.html (recommended SvelteKit approach)
- Mirror all Umami custom events (First guess, Guessed correctly, Share, Copy to Clipboard, social link clicks) with rybbit.event()
- Identify logged-in users with name/email traits; anonymous users by stable UUID

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-21 17:13:41 -05:00
George Powell 6554ef8f41 Added streak percentage 2026-02-21 16:17:06 -05:00
George Powell c3307b3920 Added streak counter 2026-02-21 01:24:16 -05:00
George Powell 19646c72ca WIP new share menu 2026-02-21 00:38:09 -05:00
George Powell d21ca9d687 add percentile stats, update chapter guess UI 2026-01-28 23:03:51 -05:00
George Powell 55a9fd59ea fixed some epistle bugs with firstLetter, maybe. and wording 2026-01-28 15:15:40 -05:00
George Powell 0ee3d8a4d0 Revamped middle statline (ranking instead of arbitrary percentage) 2026-01-28 15:04:29 -05:00
George Powell 1b1bc7bd3c Added chapter guess challenge 2026-01-04 16:36:28 -05:00
George Powell 0f6870344f major styling and spacing 2026-01-04 01:25:49 -05:00
George Powell 2b7682684a fixed sloppy umami events 2025-12-27 11:50:35 -05:00
George Powell c71170e6b3 added first-guess and correct-guess umami event tracking 2025-12-27 11:42:15 -05:00
George Powell 54c7e3cdbb Visual fixes, typo fixes, and updated todo + metadata 2025-12-27 00:48:06 -05:00
George Powell f9f0928278 switched to NKJV, improved grading, improved styling 2025-12-23 17:33:33 -05:00
George Powell 93acafc232 add fade-in animations and conditional rendering to GuessesTable 2025-12-23 01:10:33 -05:00
George Powell 2e7cc1fa54 silly little BIBDLE title animation 2025-12-23 00:32:22 -05:00
George Powell 5999221b8f v2.1: stylistic updates & countdown timer 2025-12-21 18:24:38 -05:00
George Powell 0d50ff5f27 i forhor 2025-12-19 03:36:59 -05:00
George Powell 68a946a0a0 redirect to bibdle.dev and components 2025-12-19 02:53:45 -05:00