Files
supabase/apps/studio/components/layouts/StorageLayout/StorageLayout.tsx
T
Danny WhiteandJoshen Lim 16fa59f127 feat: sticky storage config (#37654)
* feat: move storage settings

* feat: redirect

* feat: database settings in service area

* feat: move data api settings

* fix: revert data API placement

* feat: minor UX touches

* fix: simplify configuration group

* feat: references to database settings

* feat: references to storage settings

* fix: redirects and formatting

* fix: Import StorageMenu dynamically to avoid SSR issues with useLocalStorage

* feat: sticky sidebar footer

* fix: move Data API closer to semantic siblings

* fix: revert smart comma

* Shift bucket sort logic into storage explorer store

* Small fix and clean up

* fix: correct background-color class

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-08-05 23:47:23 +00:00

26 lines
597 B
TypeScript

import { ReactNode } from 'react'
import StorageMenu from 'components/interfaces/Storage/StorageMenu'
import { withAuth } from 'hooks/misc/withAuth'
import ProjectLayout from '../ProjectLayout/ProjectLayout'
export interface StorageLayoutProps {
title: string
children: ReactNode
}
const StorageLayout = ({ title, children }: StorageLayoutProps) => {
return (
<ProjectLayout
stickySidebarBottom
title={title || 'Storage'}
product="Storage"
productMenu={<StorageMenu />}
>
{children}
</ProjectLayout>
)
}
export default withAuth(StorageLayout)