mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 13:49:09 +03:00
Sorted all imports in all packages, `cms`, `design-system` and `ui-library` apps by running `pnpm format` on them. All changes in this PR are done by the script.
39 lines
1.3 KiB
TypeScript
39 lines
1.3 KiB
TypeScript
import { Card, CardContent } from 'ui'
|
|
import {
|
|
PageSection,
|
|
PageSectionContent,
|
|
PageSectionDescription,
|
|
PageSectionMeta,
|
|
PageSectionSummary,
|
|
PageSectionTitle,
|
|
} from 'ui-patterns/PageSection'
|
|
|
|
export default function PageSectionHorizontal() {
|
|
return (
|
|
<div className="w-full">
|
|
<PageSection orientation="horizontal">
|
|
<PageSectionMeta>
|
|
<PageSectionSummary>
|
|
<PageSectionTitle>Section Title</PageSectionTitle>
|
|
<PageSectionDescription>
|
|
In horizontal orientation, the summary (title and description) appears on the left,
|
|
with content arranged on the right on larger screens. This is useful for detailed
|
|
sections where you want to maintain context while viewing content.
|
|
</PageSectionDescription>
|
|
</PageSectionSummary>
|
|
</PageSectionMeta>
|
|
<PageSectionContent>
|
|
<Card>
|
|
<CardContent className="p-6">
|
|
<p className="text-sm text-foreground-light">
|
|
The content area appears alongside the summary in a horizontal layout. On smaller
|
|
screens, it will stack vertically.
|
|
</p>
|
|
</CardContent>
|
|
</Card>
|
|
</PageSectionContent>
|
|
</PageSection>
|
|
</div>
|
|
)
|
|
}
|