fix
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
diff --git a/src/view/screens/PrivacyPolicy.tsx b/src/view/screens/PrivacyPolicy.tsx
|
||||
index a89eaadc4..1da393f03 100644
|
||||
index a89eaadc4..49edc00d9 100644
|
||||
--- a/src/view/screens/PrivacyPolicy.tsx
|
||||
+++ b/src/view/screens/PrivacyPolicy.tsx
|
||||
@@ -1,52 +1,13 @@
|
||||
@@ -1,51 +1,63 @@
|
||||
import React from 'react'
|
||||
-import {View} from 'react-native'
|
||||
-import {msg, Trans} from '@lingui/macro'
|
||||
@@ -19,7 +19,7 @@ index a89eaadc4..1da393f03 100644
|
||||
-import {TextLink} from '#/view/com/util/Link'
|
||||
-import {Text} from '#/view/com/util/text/Text'
|
||||
-import {ScrollView} from '#/view/com/util/Views'
|
||||
+import { WebView } from 'react-native-webview'
|
||||
+import { ScrollView } from 'react-native'
|
||||
import * as Layout from '#/components/Layout'
|
||||
-import {ViewHeader} from '../com/util/ViewHeader'
|
||||
-
|
||||
@@ -35,9 +35,13 @@ index a89eaadc4..1da393f03 100644
|
||||
- }, [setMinimalShellMode]),
|
||||
- )
|
||||
+import {useSetTitle} from '#/lib/hooks/useSetTitle'
|
||||
|
||||
+import {atoms as a, useTheme} from '#/alf'
|
||||
+import {Text} from '#/components/Typography'
|
||||
+
|
||||
+export function PrivacyPolicyScreen() {
|
||||
+ useSetTitle('Privacy Policy')
|
||||
+ const t = useTheme()
|
||||
|
||||
return (
|
||||
<Layout.Screen>
|
||||
- <ViewHeader title={_(msg`Privacy Policy`)} />
|
||||
@@ -55,16 +59,61 @@ index a89eaadc4..1da393f03 100644
|
||||
- </Text>
|
||||
- </View>
|
||||
- <View style={s.footerSpacer} />
|
||||
- </ScrollView>
|
||||
+ <WebView source={{ uri: 'https://syu.is/about/support/privacy-policy' }} style={{ flex: 1 }} />
|
||||
+ <ScrollView
|
||||
+ style={[a.flex_1, {backgroundColor: t.palette.white}]}
|
||||
+ contentContainerStyle={[a.p_lg, a.pt_5xl, a.pb_5xl]}>
|
||||
+ <Text style={[a.text_2xl, a.font_bold, a.mb_lg]}>Privacy Policy / プライバシーポリシー</Text>
|
||||
+
|
||||
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>1. 収集する情報</Text>
|
||||
+ <Text style={[a.mb_md]}>
|
||||
+ 本サービスでは、以下の情報を収集します:{'\n'}
|
||||
+ • アカウント情報(ユーザー名、プロフィール情報){'\n'}
|
||||
+ • 投稿内容とメディア{'\n'}
|
||||
+ • 利用状況データ(アクセス日時、IPアドレス等)
|
||||
+ </Text>
|
||||
+
|
||||
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>2. 情報の利用目的</Text>
|
||||
+ <Text style={[a.mb_md]}>
|
||||
+ 収集した情報は以下の目的で利用します:{'\n'}
|
||||
+ • サービスの提供と改善{'\n'}
|
||||
+ • ユーザーサポート{'\n'}
|
||||
+ • 不正行為の防止{'\n'}
|
||||
+ • 統計分析
|
||||
+ </Text>
|
||||
+
|
||||
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>3. 情報の共有</Text>
|
||||
+ <Text style={[a.mb_md]}>
|
||||
+ 本サービスは AT Protocol を使用した分散型ネットワークです。
|
||||
+ 公開設定された投稿内容は、他の AT Protocol 互換サーバーと共有されます。
|
||||
+ </Text>
|
||||
+
|
||||
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>4. データの保管と削除</Text>
|
||||
+ <Text style={[a.mb_md]}>
|
||||
+ ユーザーデータは適切なセキュリティ対策のもとで保管されます。
|
||||
+ アカウント削除時には、関連するデータも削除されます。
|
||||
+ </Text>
|
||||
+
|
||||
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>5. Cookie の使用</Text>
|
||||
+ <Text style={[a.mb_md]}>
|
||||
+ 本サービスでは、ユーザー体験の向上のために Cookie を使用する場合があります。
|
||||
+ </Text>
|
||||
+
|
||||
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>6. お問い合わせ</Text>
|
||||
+ <Text style={[a.mb_md]}>
|
||||
+ プライバシーに関するご質問は、サービス管理者までお問い合わせください。
|
||||
+ </Text>
|
||||
+
|
||||
+ <Text style={[a.text_sm, a.mt_xl, {color: t.palette.contrast_500}]}>
|
||||
+ 最終更新日: 2025年
|
||||
+ </Text>
|
||||
</ScrollView>
|
||||
</Layout.Screen>
|
||||
)
|
||||
}
|
||||
diff --git a/src/view/screens/TermsOfService.tsx b/src/view/screens/TermsOfService.tsx
|
||||
index d843c713c..b81767bd5 100644
|
||||
index d843c713c..0d8fae626 100644
|
||||
--- a/src/view/screens/TermsOfService.tsx
|
||||
+++ b/src/view/screens/TermsOfService.tsx
|
||||
@@ -1,50 +1,13 @@
|
||||
@@ -1,49 +1,57 @@
|
||||
import React from 'react'
|
||||
-import {View} from 'react-native'
|
||||
-import {msg, Trans} from '@lingui/macro'
|
||||
@@ -81,7 +130,7 @@ index d843c713c..b81767bd5 100644
|
||||
-import {TextLink} from '#/view/com/util/Link'
|
||||
-import {Text} from '#/view/com/util/text/Text'
|
||||
-import {ScrollView} from '#/view/com/util/Views'
|
||||
+import { WebView } from 'react-native-webview'
|
||||
+import { ScrollView } from 'react-native'
|
||||
import * as Layout from '#/components/Layout'
|
||||
-import {ViewHeader} from '../com/util/ViewHeader'
|
||||
-
|
||||
@@ -97,9 +146,13 @@ index d843c713c..b81767bd5 100644
|
||||
- }, [setMinimalShellMode]),
|
||||
- )
|
||||
+import {useSetTitle} from '#/lib/hooks/useSetTitle'
|
||||
|
||||
+import {atoms as a, useTheme} from '#/alf'
|
||||
+import {Text} from '#/components/Typography'
|
||||
+
|
||||
+export function TermsOfServiceScreen() {
|
||||
+ useSetTitle('Terms of Service')
|
||||
+ const t = useTheme()
|
||||
|
||||
return (
|
||||
<Layout.Screen>
|
||||
- <ViewHeader title={_(msg`Terms of Service`)} />
|
||||
@@ -115,8 +168,47 @@ index d843c713c..b81767bd5 100644
|
||||
- </Text>
|
||||
- </View>
|
||||
- <View style={s.footerSpacer} />
|
||||
- </ScrollView>
|
||||
+ <WebView source={{ uri: 'https://syu.is/about/support/tos' }} style={{ flex: 1 }} />
|
||||
+ <ScrollView
|
||||
+ style={[a.flex_1, {backgroundColor: t.palette.white}]}
|
||||
+ contentContainerStyle={[a.p_lg, a.pt_5xl, a.pb_5xl]}>
|
||||
+ <Text style={[a.text_2xl, a.font_bold, a.mb_lg]}>Terms of Service / 利用規約</Text>
|
||||
+
|
||||
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>1. 利用条件</Text>
|
||||
+ <Text style={[a.mb_md]}>
|
||||
+ 本サービスを利用することで、以下の利用規約に同意したものとみなされます。
|
||||
+ </Text>
|
||||
+
|
||||
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>2. サービスの利用</Text>
|
||||
+ <Text style={[a.mb_md]}>
|
||||
+ 本サービスは AT Protocol(Authenticated Transfer Protocol)を使用した分散型ソーシャルネットワークです。
|
||||
+ ユーザーは本サービスを通じて他のユーザーと交流し、コンテンツを共有することができます。
|
||||
+ </Text>
|
||||
+
|
||||
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>3. 禁止事項</Text>
|
||||
+ <Text style={[a.mb_md]}>
|
||||
+ 以下の行為を禁止します:{'\n'}
|
||||
+ • 法令に違反する行為{'\n'}
|
||||
+ • 他者の権利を侵害する行為{'\n'}
|
||||
+ • 迷惑行為やハラスメント{'\n'}
|
||||
+ • 虚偽の情報の発信{'\n'}
|
||||
+ • システムへの不正アクセス
|
||||
+ </Text>
|
||||
+
|
||||
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>4. 免責事項</Text>
|
||||
+ <Text style={[a.mb_md]}>
|
||||
+ 本サービスは「現状有姿」で提供されます。サービスの中断、エラー、データの損失について、
|
||||
+ 運営者は一切の責任を負いません。
|
||||
+ </Text>
|
||||
+
|
||||
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>5. 規約の変更</Text>
|
||||
+ <Text style={[a.mb_md]}>
|
||||
+ 本規約は予告なく変更されることがあります。変更後も本サービスを継続して利用する場合は、
|
||||
+ 変更後の規約に同意したものとみなされます。
|
||||
+ </Text>
|
||||
+
|
||||
+ <Text style={[a.text_sm, a.mt_xl, {color: t.palette.contrast_500}]}>
|
||||
+ 最終更新日: 2025年
|
||||
+ </Text>
|
||||
</ScrollView>
|
||||
</Layout.Screen>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user