From 142cf4a7f7fc7a952ae956669ba9057e189842d4 Mon Sep 17 00:00:00 2001 From: JCEEE <0xjceee@proton.me> Date: Sat, 8 Aug 2026 21:00:29 +0100 Subject: [PATCH] fix token login member --- frontend/src/lib/components/index.ts | 1 + frontend/src/routes/+page.svelte | 339 +++++++++++++++++- frontend/src/routes/join/[code]/+page.svelte | 74 +++- .../routes/join/[code]/[member]/+page.svelte | 45 ++- frontend/src/routes/login/+page.svelte | 92 +++-- frontend/src/routes/signup/+page.svelte | 117 ++++-- proxy/src/index.ts | 15 +- 7 files changed, 592 insertions(+), 91 deletions(-) diff --git a/frontend/src/lib/components/index.ts b/frontend/src/lib/components/index.ts index 39a8b2b..37cd171 100644 --- a/frontend/src/lib/components/index.ts +++ b/frontend/src/lib/components/index.ts @@ -7,3 +7,4 @@ export { default as CardGrid } from './CardGrid.svelte'; export { default as Button } from './Button.svelte'; export { default as Accordion } from './Accordion.svelte'; export { default as Chat } from './Chat.svelte'; +export { default as AuthShell } from './AuthShell.svelte'; diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelte index cc88df0..9156dfc 100644 --- a/frontend/src/routes/+page.svelte +++ b/frontend/src/routes/+page.svelte @@ -1,2 +1,337 @@ -

Welcome to SvelteKit

-

Visit svelte.dev/docs/kit to read the documentation

+ + + + FamChore — Chores done. Allowance earned. + + + +
+ +
+
+
+ For busy families +

Chores done. Allowance earned.

+

+ FamChore turns everyday household chores into points and pocket money. Assign the + chores, let your kids see their progress live, and FamChore calculates the allowance + automatically — no spreadsheets, no nagging. +

+
    +
  • Set up in under a minute
  • +
  • Kids join with a simple invite code
  • +
  • Allowance lands on payday, automatically
  • +
+
+ + +
+
+ + +
+

How it works

+
+
+ 1 +

Create your family

+

Set up chores and how much each one is worth. Your kids join in seconds with an invite code.

+
+
+ 2 +

Kids do the work

+

They see today's chores as a simple card board and tick them off as they go — points are added instantly.

+
+
+ 3 +

Allowance pays out

+

Points add up, then turn into pocket money on payday. Rewards and monthly bonuses keep it fun.

+
+
+
+ + +
+

Everything a family needs

+
+
+

Chore board

+

Reusable chore templates and a simple assignment grid. Build once, reuse every week.

+
+
+

Live progress

+

Realtime sync across the whole family — see points and progress update the moment a chore is done.

+
+
+

Automatic allowance

+

Points convert to money using your family's own rules. No mental maths, no arguments.

+
+
+

Rewards & bonuses

+

Kids can spend points on rewards, and you can run a monthly bonus for the top earner.

+
+
+

Kid-friendly

+

A simple, colourful interface kids love — big buttons, clear feedback, their own space.

+
+
+

Private by design

+

Everything is scoped to your family. Kids join with an invite code and stay in your family.

+
+
+
+

Ready to make chores painless?

+ Create your family +
+
+
+ +