Task 8.1: Create public layout with minimal structure (shared fonts/theme, no sidebar)
- Create src/app/(public)/layout.tsx as route group for public pages - Inherits font variables and theme from root layout via middleware - No sidebar, nav bar, or protected components in public layout - Marked task 8.1 complete in tasks.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
bd668589b6
commit
c9dbd4c813
2 changed files with 15 additions and 1 deletions
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
## 8. Frontend Routing Restructure
|
||||
|
||||
- [ ] 8.1 `[haiku]` Create `src/app/(public)/layout.tsx` — minimal layout for public pages (shared fonts/theme, no sidebar)
|
||||
- [x] 8.1 `[haiku]` Create `src/app/(public)/layout.tsx` — minimal layout for public pages (shared fonts/theme, no sidebar)
|
||||
- [ ] 8.2 `[haiku]` Move current `src/app/page.tsx` to `src/app/app/page.tsx` (workspace at `/app`)
|
||||
- [ ] 8.3 `[sonnet]` Create `src/app/app/layout.tsx` — protected layout with `SessionProvider`, user menu nav bar, sidebar with settings link
|
||||
- [ ] 8.4 `[haiku]` Update any hardcoded `/` links in existing components to `/app`
|
||||
|
|
|
|||
14
src/app/(public)/layout.tsx
Normal file
14
src/app/(public)/layout.tsx
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import type { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Candle Annotator",
|
||||
description: "Annotate candlestick charts for ML training",
|
||||
};
|
||||
|
||||
export default function PublicLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return children;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue