fix: add missing PageShell component for production build
Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m29s
CI/CD Pipeline / Security Scanning (push) Successful in 2m34s
CI/CD Pipeline / Lint and Format (push) Failing after 55s
CI/CD Pipeline / Terraform Validation (push) Failing after 29s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 33s
Validation / validate-genesis (push) Successful in 34s
Validation / validate-terraform (push) Failing after 30s
Validation / validate-kubernetes (push) Failing after 12s
Validation / validate-smart-contracts (push) Failing after 12s
Validation / validate-security (push) Failing after 1m20s
Validation / validate-documentation (push) Failing after 20s
Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m29s
CI/CD Pipeline / Security Scanning (push) Successful in 2m34s
CI/CD Pipeline / Lint and Format (push) Failing after 55s
CI/CD Pipeline / Terraform Validation (push) Failing after 29s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 33s
Validation / validate-genesis (push) Successful in 34s
Validation / validate-terraform (push) Failing after 30s
Validation / validate-kubernetes (push) Failing after 12s
Validation / validate-smart-contracts (push) Failing after 12s
Validation / validate-security (push) Failing after 1m20s
Validation / validate-documentation (push) Failing after 20s
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
20
frontend-dapp/src/components/ui/PageShell.tsx
Normal file
20
frontend-dapp/src/components/ui/PageShell.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
interface PageShellProps {
|
||||
title: string
|
||||
subtitle?: string
|
||||
badge?: string
|
||||
wide?: boolean
|
||||
children: React.ReactNode
|
||||
}
|
||||
|
||||
export default function PageShell({ title, subtitle, badge, wide, children }: PageShellProps) {
|
||||
return (
|
||||
<div className={`ui-animate-in ${wide ? 'ui-page-wide' : 'ui-page'}`}>
|
||||
<header className="mb-8">
|
||||
{badge && <div className="ui-badge mb-3 w-fit">{badge}</div>}
|
||||
<h1 className="ui-hero-title">{title}</h1>
|
||||
{subtitle && <p className="ui-hero-sub">{subtitle}</p>}
|
||||
</header>
|
||||
{children}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user