
- Fixes things in Oath flow, yet needs testing before we close #235 - Updates security notice, closes #240 - Fixes broken links to user profiles, closes #238 Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/243 Co-authored-by: joostdecock <joost@joost.at> Co-committed-by: joostdecock <joost@joost.at>
27 lines
937 B
JavaScript
27 lines
937 B
JavaScript
// 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>
|
|
)
|
|
}
|