feat: require owner login and add onboarding

This commit is contained in:
2026-09-28 19:14:14 +09:00
parent 57882cf5f9
commit 85d23a328b
42 changed files with 2400 additions and 23 deletions
+3 -2
View File
@@ -1,4 +1,4 @@
import { Link, useNavigate } from '@tanstack/react-router'
import { Link, useNavigate, useRouteContext } from '@tanstack/react-router'
import {
ArrowDown,
ArrowUp,
@@ -32,6 +32,7 @@ import { type HomeAction, interpretAction } from './interpret-action'
import './home.css'
export function HomePage() {
const { auth } = useRouteContext({ from: '__root__' })
const {
tasks,
setTasks,
@@ -175,7 +176,7 @@ export function HomePage() {
<div className="home-content">
<header className="home-greeting">
<p className="text-sm text-muted-foreground">Today</p>
<h1>Good morning, Yuta</h1>
<h1>Good morning, {auth.owner?.name}</h1>
<DailyBrief onOpenContact={setContactId} />
</header>
<form