diff options
| author | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-17 13:07:40 -0700 |
|---|---|---|
| committer | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-17 13:07:40 -0700 |
| commit | 62bdd79b3473262dde5fb0a90eab34fe7bf344fd (patch) | |
| tree | 84f75baf7503e1df77c8335750650a72b088468a /frontend/components/prism/AppShell.tsx | |
| parent | 1482422f2f5b236cdcdff4429ae06bb55dca4083 (diff) | |
'UI Shell and General Architecture'
Diffstat (limited to 'frontend/components/prism/AppShell.tsx')
| -rw-r--r-- | frontend/components/prism/AppShell.tsx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/frontend/components/prism/AppShell.tsx b/frontend/components/prism/AppShell.tsx new file mode 100644 index 0000000..63fd62b --- /dev/null +++ b/frontend/components/prism/AppShell.tsx @@ -0,0 +1,20 @@ +import type { ReactNode } from "react"; + +type Props = { + sidebar: ReactNode; + topbar: ReactNode; + children: ReactNode; +}; + +export function AppShell({ sidebar, topbar, children }: Props) { + return ( + <main className="prism-app"> + {sidebar} + <div className="psm-main"> + {topbar} + <section className="psm-content">{children}</section> + </div> + </main> + ); +} + |
