Skip to content

Commit

Permalink
Merge pull request #335 from heroku/johlym/cpra
Browse files Browse the repository at this point in the history
Add CPRA link to footer
  • Loading branch information
johlym committed May 30, 2023
2 parents 72ff174 + fa572eb commit 6439c83
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 18 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.rvmrc
.bundle
.tool-versions
.DS_Store
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.6
3.2.2
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
source 'http:https://rubygems.org'

ruby '2.6.6'
ruby '3.2.2'

gem 'sinatra'
gem 'thin'
gem 'maruku'
gem 'i18n'
gem 'rack-ssl-enforcer'
gem 'rexml'
38 changes: 23 additions & 15 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,23 +1,30 @@
GEM
remote: http:https://rubygems.org/
specs:
daemons (1.2.3)
eventmachine (1.2.0.1)
i18n (0.7.0)
maruku (0.7.2)
rack (1.6.12)
rack-protection (1.5.3)
concurrent-ruby (1.2.2)
daemons (1.4.1)
eventmachine (1.2.7)
i18n (1.13.0)
concurrent-ruby (~> 1.0)
maruku (0.7.3)
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
rack (2.2.7)
rack-protection (3.0.6)
rack
rack-ssl-enforcer (0.2.9)
sinatra (1.4.7)
rack (~> 1.5)
rack-protection (~> 1.4)
tilt (>= 1.3, < 3)
thin (1.6.4)
rexml (3.2.5)
ruby2_keywords (0.0.5)
sinatra (3.0.6)
mustermann (~> 3.0)
rack (~> 2.2, >= 2.2.4)
rack-protection (= 3.0.6)
tilt (~> 2.0)
thin (1.8.2)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (~> 1.0)
tilt (2.0.4)
rack (>= 1, < 3)
tilt (2.1.0)

PLATFORMS
ruby
Expand All @@ -26,11 +33,12 @@ DEPENDENCIES
i18n
maruku
rack-ssl-enforcer
rexml
sinatra
thin

RUBY VERSION
ruby 2.6.6p146
ruby 3.2.2p53

BUNDLED WITH
1.17.2
2.4.10
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "12factor",
"stack": "heroku-18",
"stack": "heroku-22",
"scripts": {
},
"env": {
Expand Down
6 changes: 6 additions & 0 deletions public/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,9 @@ article img.full {
float: none;
margin-left: 0;
}

.cpra a img {
height: 17px;
margin-bottom: -2px !important;
margin-right: 5px;
}
Binary file added public/images/privacy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions views/layout.erb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<div><a href="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/heroku/12factor">Sourcecode</a></div>
<div><a href="/12factor.epub">Download ePub Book</a></div>
<div><a href="https://www.heroku.com/policy/privacy">Privacy Policy</a></div>
<div class="cpra"><a rel="" href="https://www.salesforce.com/form/other/privacy-request/"><img src="/images/privacy.png" aria-label="Privacy Icon" title="Privacy Icon">Your Privacy Choices</a></div>
</footer>
</body>
</html>

0 comments on commit 6439c83

Please sign in to comment.