完善账单页面,抽取公共页面组件

This commit is contained in:
2025-04-11 17:34:42 +08:00
parent 7238166a95
commit e0c75f9506
26 changed files with 542 additions and 84 deletions

View File

@@ -1,9 +1,11 @@
import Page from '@/components/page'
export type DashboardPageProps = {}
export default async function DashboardPage(props: DashboardPageProps) {
return (
<main className={`flex-auto overflow-hidden grid grid-cols-4 grid-rows-4 gap-4 mr-4 mb-4`}>
<Page mode={`blank`} className={`flex-auto grid grid-cols-4 grid-rows-4`}>
{/* banner */}
<section className={`col-start-1 row-start-1 col-span-3 bg-red-200`}>
@@ -36,6 +38,6 @@ export default async function DashboardPage(props: DashboardPageProps) {
<section className={`col-start-4 row-start-3 row-span-2 bg-red-200`}>
</section>
</main>
</Page>
)
}