diff --git a/src/view/screens/PrivacyPolicy.tsx b/src/view/screens/PrivacyPolicy.tsx index a89eaadc4..9a017e93e 100644 --- a/src/view/screens/PrivacyPolicy.tsx +++ b/src/view/screens/PrivacyPolicy.tsx @@ -1,52 +1,73 @@ import React from 'react' -import {View} from 'react-native' -import {msg, Trans} from '@lingui/macro' -import {useLingui} from '@lingui/react' -import {useFocusEffect} from '@react-navigation/native' - -import {usePalette} from '#/lib/hooks/usePalette' -import { - type CommonNavigatorParams, - type NativeStackScreenProps, -} from '#/lib/routes/types' -import {s} from '#/lib/styles' -import {useSetMinimalShellMode} from '#/state/shell' -import {TextLink} from '#/view/com/util/Link' -import {Text} from '#/view/com/util/text/Text' -import {ScrollView} from '#/view/com/util/Views' +import { ScrollView } from 'react-native' import * as Layout from '#/components/Layout' -import {ViewHeader} from '../com/util/ViewHeader' - -type Props = NativeStackScreenProps -export const PrivacyPolicyScreen = (_props: Props) => { - const pal = usePalette('default') - const {_} = useLingui() - const setMinimalShellMode = useSetMinimalShellMode() - - useFocusEffect( - React.useCallback(() => { - setMinimalShellMode(false) - }, [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 ( - - - - - - The Privacy Policy has been moved to{' '} - - + + + + Privacy Policy + + + + + + プライバシーポリシー + + 1. 収集する情報 + + 本サービスでは、以下の情報を収集します:{'\n'} + • アカウント情報(ユーザー名、プロフィール情報){'\n'} + • 投稿内容とメディア{'\n'} + • 利用状況データ(アクセス日時、IPアドレス等) + + + 2. 情報の利用目的 + + 収集した情報は以下の目的で利用します:{'\n'} + • サービスの提供と改善{'\n'} + • ユーザーサポート{'\n'} + • 不正行為の防止{'\n'} + • 統計分析 + + + 3. 情報の共有 + + 本サービスは AT Protocol を使用した分散型ネットワークです。 + 公開設定された投稿内容は、他の AT Protocol 互換サーバーと共有されます。 + + + 4. データの保管と削除 + + ユーザーデータは適切なセキュリティ対策のもとで保管されます。 + アカウント削除時には、関連するデータも削除されます。 + + + 5. Cookie の使用 + + 本サービスでは、ユーザー体験の向上のために Cookie を使用する場合があります。 + + + 6. お問い合わせ + + プライバシーに関するご質問は、サービス管理者までお問い合わせください。 + + + + 最終更新日: 2025年 - - - + + ) } diff --git a/src/view/screens/TermsOfService.tsx b/src/view/screens/TermsOfService.tsx index d843c713c..0a5502ce5 100644 --- a/src/view/screens/TermsOfService.tsx +++ b/src/view/screens/TermsOfService.tsx @@ -1,50 +1,67 @@ import React from 'react' -import {View} from 'react-native' -import {msg, Trans} from '@lingui/macro' -import {useLingui} from '@lingui/react' -import {useFocusEffect} from '@react-navigation/native' - -import {usePalette} from '#/lib/hooks/usePalette' -import { - type CommonNavigatorParams, - type NativeStackScreenProps, -} from '#/lib/routes/types' -import {s} from '#/lib/styles' -import {useSetMinimalShellMode} from '#/state/shell' -import {TextLink} from '#/view/com/util/Link' -import {Text} from '#/view/com/util/text/Text' -import {ScrollView} from '#/view/com/util/Views' +import { ScrollView } from 'react-native' import * as Layout from '#/components/Layout' -import {ViewHeader} from '../com/util/ViewHeader' - -type Props = NativeStackScreenProps -export const TermsOfServiceScreen = (_props: Props) => { - const pal = usePalette('default') - const setMinimalShellMode = useSetMinimalShellMode() - const {_} = useLingui() - - useFocusEffect( - React.useCallback(() => { - setMinimalShellMode(false) - }, [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 ( - - - - - The Terms of Service have been moved to{' '} - + + + + Terms of Service + + + + + + 利用規約 + + 1. 利用条件 + + 本サービスを利用することで、以下の利用規約に同意したものとみなされます。 + + + 2. サービスの利用 + + 本サービスは AT Protocol(Authenticated Transfer Protocol)を使用した分散型ソーシャルネットワークです。 + ユーザーは本サービスを通じて他のユーザーと交流し、コンテンツを共有することができます。 + + + 3. 禁止事項 + + 以下の行為を禁止します:{'\n'} + • 法令に違反する行為{'\n'} + • 他者の権利を侵害する行為{'\n'} + • 迷惑行為やハラスメント{'\n'} + • 虚偽の情報の発信{'\n'} + • システムへの不正アクセス + + + 4. 免責事項 + + 本サービスは「現状有姿」で提供されます。サービスの中断、エラー、データの損失について、 + 運営者は一切の責任を負いません。 + + + 5. 規約の変更 + + 本規約は予告なく変更されることがあります。変更後も本サービスを継続して利用する場合は、 + 変更後の規約に同意したものとみなされます。 + + + + 最終更新日: 2025年 - - - + + ) }