diff --git a/apps/web/app/page.tsx b/apps/web/app/(app)/app/page.tsx similarity index 83% rename from apps/web/app/page.tsx rename to apps/web/app/(app)/app/page.tsx index 608e1b1..aadd723 100644 --- a/apps/web/app/page.tsx +++ b/apps/web/app/(app)/app/page.tsx @@ -1,4 +1,4 @@ -import { OrgDirectory } from '../components/org-directory'; +import { OrgDirectory } from '@/components/org-directory'; /** * Landing page: the organization directory. Charter is org-centric — the first diff --git a/apps/web/app/layout.tsx b/apps/web/app/(app)/layout.tsx similarity index 84% rename from apps/web/app/layout.tsx rename to apps/web/app/(app)/layout.tsx index caca1c5..8c86e4a 100644 --- a/apps/web/app/layout.tsx +++ b/apps/web/app/(app)/layout.tsx @@ -2,9 +2,9 @@ import type { Metadata } from 'next'; import { Inter, JetBrains_Mono } from 'next/font/google'; import type { ReactNode } from 'react'; -import { SiteHeader } from '../components/site-header'; -import { Providers } from '../components/providers'; -import './globals.css'; +import { SiteHeader } from '@/components/site-header'; +import { Providers } from '@/components/providers'; +import '../globals.css'; // One sans family, one mono. The mono carries addresses, hashes, and amounts — // anything where character alignment aids scanning; the sans carries everything @@ -27,7 +27,7 @@ export const metadata: Metadata = { 'Charter is a treasury operations layer for Stellar-based organizations: budget categories, threshold approvals, and on-chain disbursements.', }; -export default function RootLayout({ children }: { children: ReactNode }) { +export default function AppLayout({ children }: { children: ReactNode }) { return ( diff --git a/apps/web/app/new/page.tsx b/apps/web/app/(app)/new/page.tsx similarity index 93% rename from apps/web/app/new/page.tsx rename to apps/web/app/(app)/new/page.tsx index 4a18073..7dbf5df 100644 --- a/apps/web/app/new/page.tsx +++ b/apps/web/app/(app)/new/page.tsx @@ -1,6 +1,6 @@ import Link from 'next/link'; -import { NewOrgForm } from '../../components/new-org-form'; +import { NewOrgForm } from '@/components/new-org-form'; /** * New organization route. Deploys a per-org treasury via the factory contract. @@ -11,7 +11,7 @@ export default function NewOrgPage() {