Skip to content
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

Add footer item #145

Merged
merged 2 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/assets/stylesheets/application.bootstrap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
@import'../stylesheets/slider.scss';
@import'../stylesheets/recommendation.scss';
@import'../stylesheets/bookmark.scss';
@import'../stylesheets/term_of_use.scss';
@import'../stylesheets/privacy_policy.scss';


// .container-shared{
Expand Down
23 changes: 23 additions & 0 deletions app/assets/stylesheets/privacy_policy.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.privacy_policy-container {
width: 100%;
min-height: 1000px;
padding-top: 150px;
overflow: hidden;
}

.privacy_policy-wrapper {
margin: auto;
max-width: 1200px;
}

@media screen and (min-width: 600px) {
.privacy_policy-wrapper {
padding: 0 50px 0 50px;
}
}

@media screen and (max-width: 600px) {
.privacy_policy-wrapper {
padding: 0 20px 0 20px;
}
}
23 changes: 23 additions & 0 deletions app/assets/stylesheets/term_of_use.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.term_of_use-container {
width: 100%;
min-height: 1000px;
padding-top: 150px;
overflow: hidden;
}

.term_of_use-wrapper {
margin: auto;
max-width: 1200px;
}

@media screen and (min-width: 600px) {
.term_of_use-wrapper {
padding: 0 50px 0 50px;
}
}

@media screen and (max-width: 600px) {
.term_of_use-wrapper {
padding: 0 20px 0 20px;
}
}
3 changes: 3 additions & 0 deletions app/controllers/static_pages_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ class StaticPagesController < ApplicationController
skip_before_action :require_login
def index
end

def terms_of_use
end
end
1 change: 0 additions & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,5 @@
<%= render 'shared/header' %>
<%= render 'shared/flash_message' %>
<%= yield %>
<%= render 'shared/footer' %>
</body>
</html>
1 change: 1 addition & 0 deletions app/views/recommendations/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!-- app/views/recommendations/index.html.erb -->
<% content_for(:title, t('.title')) %>
<div class="recommendation-container">
<div class="recommendation-wrapper">
<h1>おすすめ一覧</h1>
Expand Down
6 changes: 3 additions & 3 deletions app/views/shared/_footer.html.erb
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<div class="footer">
<ul class="d-flex justify-content-around z-1">
<li>
<%= link_to '問い合わせ','https://docs.google.com/forms/d/e/1FAIpQLSeMWLzuaz2_GmcI_bxL3rbYwFuRaLuLA1M-fI-TImID8-RQOw/viewform?embedded=true' %>
<%= link_to '問い合わせ','https://docs.google.com/forms/d/e/1FAIpQLSeMWLzuaz2_GmcI_bxL3rbYwFuRaLuLA1M-fI-TImID8-RQOw/viewform?embedded=true', class:'nav-link active' %>
</li>
<li>
<%= link_to '利用規約','#' %>
<%= link_to '利用規約','static_pages/terms_of_user', class:'nav-link active' %>
</li>
<li>
<%= link_to 'プライバシーポリシー','#' %>
<%= link_to 'プライバシーポリシー','static_pages/privacy_policy', class:'nav-link active' %>
</li>
</ul>
</div>
8 changes: 7 additions & 1 deletion app/views/shared/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@
<div class="navbar-nav justify-content-end flex-grow-1 pe-3">
<%= link_to "トップへ", root_path, class:"nav-link active" %>
<%= link_to "お気に入り一覧", bookmarks_path, class:"nav-link active" %>
<%# 修正中 <%= link_to "おすすめ一覧", recommendations_path, class:"nav-link active" %>
<%# 修正中 <%= link_to "おすすめ一覧", recommendations_path, class:"nav-link active" %>
<%= link_to "マイページ", mypages_path, class:"nav-link active" %>
<%= link_to "ログアウト", logout_path, class:"nav-link active", data: { turbo_method: :delete } %>
<%= link_to "施設一覧", facilities_path, class:"nav-link active" %>
<%= link_to "イベント一覧", events_path, class:"nav-link active" %>
<%= link_to '問い合わせ','https://docs.google.com/forms/d/e/1FAIpQLSeMWLzuaz2_GmcI_bxL3rbYwFuRaLuLA1M-fI-TImID8-RQOw/viewform?embedded=true', class:'nav-link active' %>
<%= link_to "利用規約", "static_pages/terms_of_use", class:"nav-link active" %>
<%= link_to 'プライバシーポリシー','static_pages/privacy_policy', class:'nav-link active ' %>
</div>
</div>
</div>
Expand All @@ -51,6 +54,9 @@
<%= link_to "新規会員登録", new_user_path, class:"nav-link active" %>
<%= link_to "施設一覧", facilities_path, class:"nav-link active" %>
<%= link_to "イベント一覧", events_path, class:"nav-link active" %>
<%= link_to '問い合わせ','https://docs.google.com/forms/d/e/1FAIpQLSeMWLzuaz2_GmcI_bxL3rbYwFuRaLuLA1M-fI-TImID8-RQOw/viewform?embedded=true', class:'nav-link active' %>
<%= link_to "利用規約", "static_pages/terms_of_use", class:"nav-link active " %>
<%= link_to 'プライバシーポリシー','static_pages/privacy_policy', class:'nav-link active ' %>
</div>
</div>
</div>
Expand Down
8 changes: 8 additions & 0 deletions app/views/static_pages/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,13 @@
</ul>
</div>
</div>
<div>
<% if logged_in? %>
<% else %>
<div class="sp-none">
<%= render "shared/footer" %>
</div>
<% end %>
</div>


67 changes: 67 additions & 0 deletions app/views/static_pages/privacy_policy.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<% content_for(:title, t('.title')) %>
<div class="privacy_policy-container">
<div class="privacy_policy-wrapper">
<div>
<h1>プライバシーポリシー</h1>
</div>
<div class="mt-5">
<h5>お客様から取得する情報</h5>
<p>当社は、お客様から以下の情報を取得します。</p>
<ul>
<li><p>・氏名(ニックネームやペンネームも含む)</p><li>
<li><p>・年齢または生年月日</p><li>
<li><p>・性別</p><li>
<li><p>・メールアドレス</p><li>
<li><p>・住所</p><li>
<li><p>・写真や動画</p><li>
<li><p>・外部サービスでお客様が利用するID、その他外部サービスのプライバシー設定によりお客様が連携先に開示を認めた情報</p><li>
<li><p>・Cookie(クッキー)を用いて生成された識別情報</p><li>
<li><p>・OSが生成するID、端末の種類、端末識別子等のお客様が利用するOSや端末に関する情報</p><li>
<li><p>・当社ウェブサイトの滞在時間、入力履歴、購買履歴等の当社ウェブサイトにおけるお客様の行動履歴</p><li>
<li><p>・当社アプリの起動時間、入力履歴、購買履歴等の当社アプリの利用履歴</p><li>
<li><p>・お客様の位置情報</p><li>
<li><p>・家族構成</p><li>
</ul>
<h5>お客様の情報を利用する目的</h5>
<p>当社は、お客様から取得した情報を、以下の目的のために利用します。</p>
<ul>
<li><p>・当社サービスに関する登録の受付、お客様の本人確認、認証のため</p><li>
<li><p>・お客様の当社サービスの利用履歴を管理するため</p><li>
<li><p>・当社サービスにおけるお客様の行動履歴を分析し、当社サービスの維持改善に役立てるため</p><li>
<li><p>・お客様の趣味嗜好にあわせたターゲティング広告を表示するため</p><li>
<li><p>・当社のサービスに関するご案内をするため</p><li>
<li><p>・お客様からのお問い合わせに対応するため</p><li>
<li><p>・当社の規約や法令に違反する行為に対応するため</p><li>
<li><p>・当社サービスの変更、提供中止、終了、契約解除をご連絡するため</p><li>
<li><p>・当社規約の変更等を通知するため</p><li>
<li><p>・以上の他、当社サービスの提供、維持、保護及び改善のため</p><li>
</ul>
<h5>安全管理のために講じた措置</h5>
<p>当社が、お客様から取得した情報に関して安全管理のために講じた措置につきましては、末尾記載のお問い合わせ先にご連絡をいただきましたら、法令の定めに従い個別にご回答させていただきます。</p>
<h5>第三者提供</h5>
<p>
当社は、お客様から取得する情報のうち、個人データ(個人情報保護法第16条第3項)に該当するものついては、あらかじめお客様の同意を得ずに、第三者(日本国外にある者を含みます。)に提供しません。<br>
但し、次の場合は除きます。
</p>
<ul>
<li><p>・個人データの取扱いを外部に委託する場合</p><li>
<li><p>・当社や当社サービスが買収された場合</p><li>
<li><p>・事業パートナーと共同利用する場合(具体的な共同利用がある場合は、その内容を別途公表します。)</p><li>
<li><p>・その他、法律によって合法的に第三者提供が許されている場合</p><li>
</ul>
<h5>アクセス解析ツール</h5>
<p>
当社は、お客様のアクセス解析のために、「Googleアナリティクス」を利用しています。Googleアナリティクスは、トラフィックデータの収集のためにCookieを使用しています。トラフィックデータは匿名で収集されており、個人を特定するものではありません。Cookieを無効にすれば、これらの情報の収集を拒否することができます。詳しくはお使いのブラウザの設定をご確認ください。Googleアナリティクスについて、詳しくは以下からご確認ください。
</p>
<p> https://marketingplatform.google.com/about/analytics/terms/jp/
<h5>プライバシーポリシーの変更</h5>
<p>当社は、必要に応じて、このプライバシーポリシーの内容を変更します。この場合、変更後のプライバシーポリシーの施行時期と内容を適切な方法により周知または通知します。</p>
<h5>お問い合わせ</h5>
<p>お客様の情報の開示、情報の訂正、利用停止、削除をご希望の場合は、以下のメールアドレスにご連絡ください。</p>
<p>e-mail</p>
<p> yochiyochi.app@gmail.com</p>
<p>この場合、必ず、運転免許証のご提示等当社が指定する方法により、ご本人からのご請求であることの確認をさせていただきます。なお、情報の開示請求については、開示の有無に関わらず、ご申請時に一件あたり1,000円の事務手数料を申し受けます。</p>
<p>2024年09月15日 制定</p>
</div>
</div>
<div>
Loading
Loading