mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-30 14:17:14 +00:00
feat(web): add privacy & data collection policy consent to login/register pages
This commit is contained in:
@@ -284,6 +284,27 @@ export default function Login() {
|
|||||||
</form>
|
</form>
|
||||||
</Form>
|
</Form>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
<p className="text-xs text-center text-muted-foreground">
|
||||||
|
{t('common.agreementNotice')}{' '}
|
||||||
|
<a
|
||||||
|
href="https://langbot.app/privacy"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
className="underline hover:text-foreground transition-colors"
|
||||||
|
>
|
||||||
|
{t('common.privacyPolicy')}
|
||||||
|
</a>{' '}
|
||||||
|
{t('common.and')}{' '}
|
||||||
|
<a
|
||||||
|
href="https://docs.langbot.app/insight/data-collection-policy"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
className="underline hover:text-foreground transition-colors"
|
||||||
|
>
|
||||||
|
{t('common.dataCollectionPolicy')}
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -253,6 +253,27 @@ export default function Register() {
|
|||||||
</Button>
|
</Button>
|
||||||
</form>
|
</form>
|
||||||
</Form>
|
</Form>
|
||||||
|
|
||||||
|
<p className="text-xs text-center text-muted-foreground">
|
||||||
|
{t('common.agreementNotice')}{' '}
|
||||||
|
<a
|
||||||
|
href="https://langbot.app/privacy"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
className="underline hover:text-foreground transition-colors"
|
||||||
|
>
|
||||||
|
{t('common.privacyPolicy')}
|
||||||
|
</a>{' '}
|
||||||
|
{t('common.and')}{' '}
|
||||||
|
<a
|
||||||
|
href="https://docs.langbot.app/insight/data-collection-policy"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
className="underline hover:text-foreground transition-colors"
|
||||||
|
>
|
||||||
|
{t('common.dataCollectionPolicy')}
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -47,6 +47,10 @@ const enUS = {
|
|||||||
copyFailed: 'Copy Failed',
|
copyFailed: 'Copy Failed',
|
||||||
test: 'Test',
|
test: 'Test',
|
||||||
forgotPassword: 'Forgot Password?',
|
forgotPassword: 'Forgot Password?',
|
||||||
|
agreementNotice: 'By continuing, you agree to our',
|
||||||
|
privacyPolicy: 'Privacy Policy',
|
||||||
|
and: 'and',
|
||||||
|
dataCollectionPolicy: 'Data Collection Policy',
|
||||||
loading: 'Loading...',
|
loading: 'Loading...',
|
||||||
fieldRequired: 'This field is required',
|
fieldRequired: 'This field is required',
|
||||||
or: 'or',
|
or: 'or',
|
||||||
|
|||||||
@@ -48,6 +48,10 @@ const jaJP = {
|
|||||||
copyFailed: 'コピーに失敗しました',
|
copyFailed: 'コピーに失敗しました',
|
||||||
test: 'テスト',
|
test: 'テスト',
|
||||||
forgotPassword: 'パスワードを忘れた?',
|
forgotPassword: 'パスワードを忘れた?',
|
||||||
|
agreementNotice: '続行することで、以下に同意したものとみなされます:',
|
||||||
|
privacyPolicy: 'プライバシーポリシー',
|
||||||
|
and: 'および',
|
||||||
|
dataCollectionPolicy: 'データ収集ポリシー',
|
||||||
loading: '読み込み中...',
|
loading: '読み込み中...',
|
||||||
fieldRequired: 'この項目は必須です',
|
fieldRequired: 'この項目は必須です',
|
||||||
or: 'または',
|
or: 'または',
|
||||||
|
|||||||
@@ -47,6 +47,10 @@ const zhHans = {
|
|||||||
copyFailed: '复制失败',
|
copyFailed: '复制失败',
|
||||||
test: '测试',
|
test: '测试',
|
||||||
forgotPassword: '忘记密码?',
|
forgotPassword: '忘记密码?',
|
||||||
|
agreementNotice: '继续即表示您同意我们的',
|
||||||
|
privacyPolicy: '隐私政策',
|
||||||
|
and: '和',
|
||||||
|
dataCollectionPolicy: '数据收集政策',
|
||||||
loading: '加载中...',
|
loading: '加载中...',
|
||||||
fieldRequired: '此字段为必填项',
|
fieldRequired: '此字段为必填项',
|
||||||
or: '或',
|
or: '或',
|
||||||
|
|||||||
@@ -47,6 +47,10 @@ const zhHant = {
|
|||||||
copyFailed: '複製失敗',
|
copyFailed: '複製失敗',
|
||||||
test: '測試',
|
test: '測試',
|
||||||
forgotPassword: '忘記密碼?',
|
forgotPassword: '忘記密碼?',
|
||||||
|
agreementNotice: '繼續即表示您同意我們的',
|
||||||
|
privacyPolicy: '隱私政策',
|
||||||
|
and: '和',
|
||||||
|
dataCollectionPolicy: '數據收集政策',
|
||||||
loading: '載入中...',
|
loading: '載入中...',
|
||||||
fieldRequired: '此欄位為必填',
|
fieldRequired: '此欄位為必填',
|
||||||
or: '或',
|
or: '或',
|
||||||
|
|||||||
Reference in New Issue
Block a user