1
0
Fork 0

fix [org]: Remove unused Oauth callback pages

This commit is contained in:
joostdecock 2025-06-01 17:43:41 +02:00
parent 46c8ca6ffe
commit b7afd1b0b5
2 changed files with 0 additions and 54 deletions

View file

@ -1,27 +0,0 @@
// Components
import DocusaurusLayout from '@theme/Layout'
import { DocusaurusPage } from '@freesewing/react/components/Docusaurus'
import { NoTitleLayout } from '@freesewing/react/components/Layout'
import { OauthCallback } from '@freesewing/react/components/SignIn'
/*
* This is the Github Oauth callback page.
* Each page MUST be wrapped in the DocusaurusPage component.
* You also MUST pass in the DocusaurusLayout compoment.
*/
export default function GithubOauthCallbackPage() {
return (
<DocusaurusPage
DocusaurusLayout={DocusaurusLayout}
Layout={NoTitleLayout}
title="Sign In"
description="Sign In to your FreeSewing account to unlock all features"
>
<div className="tw:flex tw:flex-col tw:items-center tw:text-base-content tw:px-4">
<div className="tw:max-w-lg tw:w-full">
<OauthCallback provider="github" />
</div>
</div>
</DocusaurusPage>
)
}

View file

@ -1,27 +0,0 @@
// Components
import DocusaurusLayout from '@theme/Layout'
import { DocusaurusPage } from '@freesewing/react/components/Docusaurus'
import { NoTitleLayout } from '@freesewing/react/components/Layout'
import { OauthCallback } from '@freesewing/react/components/SignIn'
/*
* This is the Google Oauth callback page.
* Each page MUST be wrapped in the DocusaurusPage component.
* You also MUST pass in the DocusaurusLayout compoment.
*/
export default function GoogleOauthCallbackPage() {
return (
<DocusaurusPage
DocusaurusLayout={DocusaurusLayout}
Layout={NoTitleLayout}
title="Sign In"
description="Sign In to your FreeSewing account to unlock all features"
>
<div className="tw:flex tw:flex-col tw:items-center tw:text-base-content tw:px-4">
<div className="tw:max-w-lg tw:w-full">
<OauthCallback provider="google" />
</div>
</div>
</DocusaurusPage>
)
}