mirror of
https://github.com/supabase/supabase.git
synced 2026-10-12 04:45:08 +03:00
semantic tags
This commit is contained in:
1 parent
4ed93d81e8
commit
da06b2bec6
2 files changed
+4
-4
No files matched your search
@@ -44,7 +44,7 @@ export const PageHeader = ({
|
||||
const displayBreadcrumbs = isCompact && title ? [...breadcrumbs, { label: title }] : breadcrumbs
|
||||
|
||||
return (
|
||||
<div className={cn('space-y-4', className)}>
|
||||
<header className={cn('space-y-4', className)}>
|
||||
{(displayBreadcrumbs.length > 0 ||
|
||||
(isCompact && (title || primaryActions || secondaryActions))) && (
|
||||
<div className={cn('flex items-center gap-4', isCompact ? 'justify-between' : 'mb-4')}>
|
||||
@@ -126,6 +126,6 @@ export const PageHeader = ({
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</header>
|
||||
)
|
||||
}
|
||||
@@ -38,14 +38,14 @@ const PageSectionRoot = ({
|
||||
...props
|
||||
}: PageSectionRootProps) => {
|
||||
return (
|
||||
<div
|
||||
<section
|
||||
data-slot="page-section"
|
||||
data-orientation={orientation}
|
||||
className={cn(pageSectionRootVariants({ orientation }), className)}
|
||||
{...props}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user