diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-03-04 01:48:39 +0100 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-03-04 01:48:39 +0100 |
| commit | 46e55674dee7061973e155375dc4f01fb4f13c00 (patch) | |
| tree | d1391cf1d41ef3326ace60438e1ee52ef3cfc572 /apps/web/src/app/base-page.tsx | |
| parent | 8e8f1c3596df461d67d946383574a166b51e3dfc (diff) | |
| download | opencut-46e55674dee7061973e155375dc4f01fb4f13c00.tar.gz | |
feat: branding page
Diffstat (limited to 'apps/web/src/app/base-page.tsx')
| -rw-r--r-- | apps/web/src/app/base-page.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/web/src/app/base-page.tsx b/apps/web/src/app/base-page.tsx index a3d56fe5..1841a1ee 100644 --- a/apps/web/src/app/base-page.tsx +++ b/apps/web/src/app/base-page.tsx @@ -8,7 +8,8 @@ interface BasePageProps { mainClassName?: string; maxWidth?: "3xl" | "6xl" | "full"; title?: string; - description?: string; + description?: React.ReactNode; + action?: React.ReactNode; } export function BasePage({ @@ -18,6 +19,7 @@ export function BasePage({ maxWidth = "3xl", title, description, + action, }: BasePageProps) { const maxWidthClass = { "3xl": "max-w-3xl", @@ -43,6 +45,7 @@ export function BasePage({ <p className="text-muted-foreground mx-auto max-w-2xl text-xl leading-relaxed"> {description} </p> + {action} </div> )} {children} |
