mirror of
https://github.com/supabase/supabase.git
synced 2026-07-07 05:24:36 +08:00
* Move all studio files from /studio to /apps/studio. * Move studio specific prettier ignores. * Fix the ui references from studio. * Fix the css imports. * Fix all package.json issues. * Fix the prettier setup for the studio app. * Add .turbo folder to prettierignore. * Fix the github workflows.
25 lines
688 B
TypeScript
25 lines
688 B
TypeScript
import { PropsWithChildren } from 'react'
|
|
|
|
import { BASE_PATH } from 'lib/constants'
|
|
import IntegrationWindowLayout from './IntegrationWindowLayout'
|
|
|
|
const GITHUB_ICON = (
|
|
<div className="bg-black shadow rounded p-1 w-8 h-8 flex justify-center items-center">
|
|
<img
|
|
src={`${BASE_PATH}/img/icons/github-icon-dark.svg`}
|
|
alt="GitHub Icon"
|
|
className="w-[18px]"
|
|
/>
|
|
</div>
|
|
)
|
|
|
|
const GitHubIntegrationWindowLayout = ({ children }: PropsWithChildren<{}>) => {
|
|
return (
|
|
<IntegrationWindowLayout title="Supabase + GitHub Integration" integrationIcon={GITHUB_ICON}>
|
|
{children}
|
|
</IntegrationWindowLayout>
|
|
)
|
|
}
|
|
|
|
export default GitHubIntegrationWindowLayout
|