-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #880 from unepwcmc/feat/70/priv-policy
feat/70/priv policy
- Loading branch information
Showing
6 changed files
with
141 additions
and
90 deletions.
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,10 +1,15 @@ | ||
class MobileController < ApplicationController | ||
layout 'mobile' | ||
|
||
def terms_and_conditions | ||
@hero = t('mobile.terms.hero') | ||
@body = t('mobile.terms.body') | ||
render 'shared/_mobile' | ||
end | ||
|
||
# TODO: uncomment when privacy policy content is updated | ||
# def privacy_policy | ||
# end | ||
def privacy_policy | ||
@hero = t('mobile.privacy.hero') | ||
@body = t('mobile.privacy.body') | ||
render 'shared/_mobile' | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,12 @@ | ||
<section class="mobile-header"> | ||
<div class="mobile-header__hero"> | ||
<h3>Species+</h3> | ||
<h2><%= @hero %></h2> | ||
</div> | ||
</section> | ||
<section class="mobile-body"> | ||
<% @body.each do |section| %> | ||
<h4><%= section[:title]&.html_safe %></h4> | ||
<%= section[:description]&.html_safe %> | ||
<% end %> | ||
</section> |
Oops, something went wrong.