Files
supabase/apps/studio/components/layouts/IntegrationsLayout/GitHubIntegrationWindowLayout.tsx
Ivan Vasilov 436bdb10ae chore: Move the studio app to apps/studio (#18915)
* 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.
2023-11-15 12:38:55 +01:00

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