mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 15:19:08 +03:00
* chore: cleanup packages - Avoid circular imports - Export API-types as types - pg-format without depending on Node internal Buffer (not browser-compatible) - Avoid importing from barrel files in ui dir * chore: avoid barrel file imports in studio (#27771) * chore: avoid barrel file imports - Removes some unused imports - Avoids barrel file import for faster builds + less memory * add eslint rule * type fixes * delete layouts barrel * delete components/grid barrel file * delete components/grid/utils barrel file * delete components/grid/components/common barrel file * delete components/grid/components/editor barrel file * delete components/grid/components/formatter barrel file * delete components/grid/components/grid barrel file * delete components/grid/components/header/filter barrel file * remote components/grid/store barrel file * remove components/interfaces/Auth/Policies barrel file * delete components/interfaces/Settings/Logs barrel file * delete components/ui/CodeEditor barrel file * delete components/ui/Forms barrel file * delete components/ui/Shimmers barrel file * delete data/analytics barrel file * delete hooks barrel file * cleanup lib/common/fetch barrel file * final * barral files cleanup * global react-data-grid styles * remove console.log --------- Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com> * fix build --------- Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
45 lines
1.3 KiB
TypeScript
45 lines
1.3 KiB
TypeScript
import SignInWithGitHub from 'components/interfaces/SignIn/SignInWithGitHub'
|
|
import SignUpForm from 'components/interfaces/SignIn/SignUpForm'
|
|
import SignInLayout from 'components/layouts/SignInLayout/SignInLayout'
|
|
import Link from 'next/link'
|
|
import type { NextPageWithLayout } from 'types'
|
|
|
|
const SignUpPage: NextPageWithLayout = () => {
|
|
return (
|
|
<>
|
|
<div className="flex flex-col gap-5">
|
|
<SignInWithGitHub />
|
|
|
|
<div className="relative">
|
|
<div className="absolute inset-0 flex items-center">
|
|
<div className="w-full border-t border-strong" />
|
|
</div>
|
|
<div className="relative flex justify-center text-sm">
|
|
<span className="bg-studio px-2 text-sm text-foreground">or</span>
|
|
</div>
|
|
</div>
|
|
|
|
<SignUpForm />
|
|
</div>
|
|
|
|
<div className="my-8 self-center text-sm">
|
|
<span className="text-foreground-light">Have an account?</span>{' '}
|
|
<Link
|
|
href="/sign-in"
|
|
className="underline text-foreground hover:text-foreground-light transition"
|
|
>
|
|
Sign In Now
|
|
</Link>
|
|
</div>
|
|
</>
|
|
)
|
|
}
|
|
|
|
SignUpPage.getLayout = (page) => (
|
|
<SignInLayout heading="Get started" subheading="Create a new account">
|
|
{page}
|
|
</SignInLayout>
|
|
)
|
|
|
|
export default SignUpPage
|