-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
プライバシーポリシー #357
Open
AyumuAkimoto
wants to merge
10
commits into
main
Choose a base branch
from
feature/isues352
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
プライバシーポリシー #357
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
18b6b62
作業開始
AyumuAkimoto baf3f34
Merge branch 'main' of https://github.com/cuculus-dev/cuculus into fe…
AyumuAkimoto 89fe030
文書仮置き
AyumuAkimoto f81d5b8
パス修正
AyumuAkimoto 71190c9
レイアウト調整
AyumuAkimoto 73ba0bc
レイアウト調整
AyumuAkimoto 54191e4
指摘修正
AyumuAkimoto d9ce585
Merge branch 'main' of https://github.com/cuculus-dev/cuculus into fe…
AyumuAkimoto 7e755d0
右Columnにリンク追加
AyumuAkimoto c250070
警告でてたので消しただけ
AyumuAkimoto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
'use client'; | ||
|
||
import { Box, styled } from '@mui/material'; | ||
import { Box, Link, styled } from '@mui/material'; | ||
import { | ||
Home, | ||
HomeOutlined, | ||
|
@@ -55,6 +55,14 @@ const StyledMenu = styled('nav')` | |
} | ||
`; | ||
|
||
const StyledLink = styled(Link)` | ||
display: flex; | ||
justify-content: left; | ||
align-items: center; | ||
padding-left: 9px; | ||
font-size: 12px; | ||
`; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
const Spacer = styled(Box)<{ size?: number | string }>(({ size }) => { | ||
return { | ||
margin: size ?? 'auto', | ||
|
@@ -116,6 +124,7 @@ const SideMenu = () => { | |
userName={profile.username} | ||
/> | ||
)} | ||
<StyledLink href="/privacy">{'プライバシーポリシー'}</StyledLink> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
</StyledMenu> | ||
</Root> | ||
); | ||
|
104 changes: 104 additions & 0 deletions
104
src/app/(plain)/(public)/privacy/_components/PrivacyPolicy.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
'use client'; | ||
|
||
import { styled } from '@mui/material'; | ||
import LinkButton from '@/app/_components/button/LinkButton'; | ||
|
||
const Root = styled('div')` | ||
display: flex; | ||
justify-content: center; | ||
align-content: center; | ||
flex-direction: column; | ||
max-width: 100%; | ||
height: 100%; | ||
`; | ||
|
||
const Container = styled('div')` | ||
display: flex; | ||
flex-direction: column; | ||
max-width: 60%; | ||
margin: 0 auto; | ||
`; | ||
|
||
const Title = styled('div')` | ||
font-weight: bold; | ||
font-size: 2.25rem; | ||
line-height: 2.5rem; | ||
`; | ||
|
||
const ButtonAlea = styled('div')` | ||
display: flex; | ||
justify-content: center; | ||
align-content: center; | ||
`; | ||
export default function NotFound() { | ||
return ( | ||
<Root> | ||
<Container> | ||
<Title>プライバシーポリシー</Title> | ||
<div> | ||
<h3>1. はじめに</h3> | ||
<p> | ||
Cuculus(以下、当サイト)は、ユーザーのプライバシーを尊重し、個人情報の保護に努めます。 | ||
</p> | ||
|
||
<h3>2. 収集する情報</h3> | ||
<p>当サイトでは、以下の情報を収集することがあります。</p> | ||
<ul> | ||
<li> | ||
ユーザーが提供する情報(例:名前、メールアドレス、プロフィール情報) | ||
</li> | ||
<li>利用状況に関する情報(例:ログデータ、アクセスIPアドレス)</li> | ||
</ul> | ||
|
||
<h3>3. 情報の利用目的</h3> | ||
<p>収集した情報は以下の目的で利用されます。</p> | ||
<ul> | ||
<li>当サイトの提供・改善</li> | ||
<li>ユーザーサポート</li> | ||
<li>不正行為の防止</li> | ||
<li>新機能やサービスの案内</li> | ||
</ul> | ||
|
||
<h3>4. 情報の共有と開示</h3> | ||
<p> | ||
当サイトは、以下の場合を除き、ユーザーの個人情報を第三者に開示または共有しません。 | ||
</p> | ||
<ul> | ||
<li>ユーザーの同意がある場合</li> | ||
<li>法的要求に基づく場合</li> | ||
<li>ユーザーの権利や安全を守るため必要な場合</li> | ||
</ul> | ||
|
||
<h3>5. 情報の保護</h3> | ||
<p> | ||
当サイトは、収集した情報の安全を確保するために、適切な物理的、技術的、組織的対策を講じます。 | ||
</p> | ||
|
||
<h3>6. ユーザーの権利</h3> | ||
<p>ユーザーは、自己の個人情報に関して、以下の権利を有します。</p> | ||
<ul> | ||
<li>アクセス権</li> | ||
<li>訂正権</li> | ||
<li>削除権</li> | ||
<li>処理制限の権利</li> | ||
</ul> | ||
|
||
<h3>7. プライバシーポリシーの変更</h3> | ||
<p> | ||
本ポリシーは、必要に応じて更新されることがあります。本ポリシーの内容は、ユーザーに通知することなく、変更することができるものとします。 | ||
</p> | ||
|
||
<h3>8. お問い合わせ</h3> | ||
<p> | ||
本プライバシーポリシーに関するご質問や懸念がある場合は、こちらよりご連絡ください。 | ||
</p> | ||
</div> | ||
</Container> | ||
<ButtonAlea> | ||
<LinkButton href={'/'} variant={'outlined'} aria-label="トップに戻る"> | ||
トップに戻る | ||
</LinkButton> | ||
</ButtonAlea> | ||
</Root> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import PrimaryColumn from '@/app/(menu)/_components/main/PrimaryColumn'; | ||
import PrivacyPolicy from '@/app/(plain)/(public)/privacy/_components/PrivacyPolicy'; | ||
import { Metadata } from 'next'; | ||
|
||
export const metadata: Metadata = { | ||
title: 'プライバシーポリシー', | ||
}; | ||
|
||
export default function page() { | ||
return ( | ||
<PrimaryColumn columnName={''}> | ||
<PrivacyPolicy /> | ||
</PrimaryColumn> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeRabbit
Link
コンポーネントのインポートが追加されています。この変更は、新たにプライバシーポリシーへのリンクを作成するために必要です。