fix: Various website and repo fixes (#243)
- 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>
This commit is contained in:
parent
7f5258d42d
commit
c5b0daf390
12 changed files with 175 additions and 363 deletions
27
sites/org/src/pages/signup/callback/google.js
Normal file
27
sites/org/src/pages/signup/callback/google.js
Normal file
|
@ -0,0 +1,27 @@
|
|||
// 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>
|
||||
)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue