refactor: standardize admin page shell

This commit is contained in:
hailin
2026-07-02 15:39:03 +08:00
parent 09df56c21b
commit 2a63f97f35
13 changed files with 65 additions and 52 deletions

View File

@@ -2,6 +2,7 @@ import * as React from 'react'
import { ArrowLeft, Save } from 'lucide-react'
import { AppField } from '@/components/app/AppField'
import { AppPage } from '@/components/app/AppPage'
import { AppPageHeader } from '@/components/app/AppPageHeader'
import { AppSection } from '@/components/app/AppSection'
import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert'
@@ -77,8 +78,7 @@ export function SolutionCreatePage() {
}
return (
<main className="min-h-screen bg-background p-6 text-foreground">
<div className="mx-auto grid max-w-6xl gap-5">
<AppPage maxWidth="6xl" contentClassName="grid gap-5">
<AppPageHeader
title="新建解决方案"
actions={
@@ -202,7 +202,6 @@ export function SolutionCreatePage() {
</AppSection>
</div>
</form>
</div>
</main>
</AppPage>
)
}