add tos acceptance as part of sign up
This commit is contained in:
parent
54017dbcd9
commit
dc3de0b470
@ -67,7 +67,7 @@ function App({ navbarComponent }: Props) {
|
||||
editorTheme: EditorTheme.COBALT,
|
||||
generatedCodeConfig: GeneratedCodeConfig.HTML_TAILWIND,
|
||||
// Only relevant for hosted version
|
||||
isTermOfServiceAccepted: false,
|
||||
isTermOfServiceAccepted: true,
|
||||
accessCode: null,
|
||||
},
|
||||
"setting"
|
||||
@ -329,7 +329,7 @@ function App({ navbarComponent }: Props) {
|
||||
{IS_RUNNING_ON_CLOUD && <PicoBadge settings={settings} />}
|
||||
{IS_RUNNING_ON_CLOUD && (
|
||||
<TermsOfServiceDialog
|
||||
open={!settings.isTermOfServiceAccepted}
|
||||
open={false}
|
||||
onOpenChange={handleTermDialogOpenChange}
|
||||
/>
|
||||
)}
|
||||
|
||||
@ -65,7 +65,15 @@ function AppContainer() {
|
||||
border: "none",
|
||||
backgroundColor: "transparent",
|
||||
},
|
||||
footer: {
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
},
|
||||
footerAction: {
|
||||
marginBottom: "5px",
|
||||
},
|
||||
},
|
||||
layout: { privacyPageUrl: "https://a.picoapps.xyz/camera-write" },
|
||||
}}
|
||||
/>
|
||||
</AlertDialogContent>
|
||||
|
||||
@ -10,7 +10,13 @@ import "./index.css";
|
||||
|
||||
ReactDOM.createRoot(document.getElementById("root")!).render(
|
||||
<React.StrictMode>
|
||||
<ClerkProvider publishableKey={CLERK_PUBLISHABLE_KEY}>
|
||||
<ClerkProvider
|
||||
publishableKey={CLERK_PUBLISHABLE_KEY}
|
||||
localization={{
|
||||
footerPageLink__privacy:
|
||||
"By signing up, you accept our terms of service and consent to receiving occasional product updates via email.",
|
||||
}}
|
||||
>
|
||||
<Router>
|
||||
<Routes>
|
||||
<Route path="/" element={<AppContainer />} />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user