candle-annotator/src
Marko Djordjevic d0ebf677f3 Add auth-aware navbar to landing page
- Extract navbar into separate client component (navbar.tsx) with useSession hook
- When authenticated: show "Go to App" button linking to /app
- When unauthenticated: show "Log in" and "Get Started" buttons
- Add SessionProvider to public layout to enable auth hooks
- Create session-provider wrapper component to separate concerns (metadata exports still work)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 13:19:58 +01:00
..
app Add auth-aware navbar to landing page 2026-02-20 13:19:58 +01:00
components Handle no-model 503 as online 2026-02-18 23:34:00 +01:00
lib Add src/lib/auth.ts helper for extracting user from Auth.js session 2026-02-20 10:19:12 +01:00
plugins fix: resolve TypeScript narrowing errors and renamed lightweight-charts exports 2026-02-16 16:05:54 +01:00
types task 9.6: create src/types/index.ts barrel file re-exporting all types 2026-02-18 15:45:58 +01:00
auth.ts Task 4.2: Add default data seeding on new user creation 2026-02-20 10:16:55 +01:00
middleware.ts Add Next.js middleware for route protection (task 5.1) 2026-02-20 10:18:15 +01:00
proxy.ts fix(auth): allow same-origin browser requests through API middleware 2026-02-18 23:07:42 +01:00