Skip to content

Commit

Permalink
WIP first work on supporters page
Browse files Browse the repository at this point in the history
  • Loading branch information
goobertron committed Apr 26, 2017
1 parent c5bdb9f commit b625c0e
Show file tree
Hide file tree
Showing 9 changed files with 70 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/pages/supporters/octocat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions app/views/pages/supporters.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<% content_for :page_title, t('.menu_title') %>
<% content_for :wrapper_class, 'supporters-page' %>

<div class="hero" id="masthead">
<div class="container">
<h1><%= t '.menu_title' %></h1>
<h2 class="lead"><%= t '.byline' %></h2>
</div>
</div>

<div class="page-header">
<h2 class="text-center">
<small><%= t '.supporters' %></small>
</h2>
</div>
<div class="container">
<div class="row">
<div class="col-md-6">
<h3 class="text-center"><%= t '.github' %></h3>
<p class="minor-top-spacing" />
<p class="text-center">
<%= link_to image_tag('pages/supporters/octocat.png', alt: 'GitHub logo', size: '200x166'), 'https://github.com/diaspora/diaspora/' %>
</p>
<p class="minor-top-spacing"><%= t('.github_ex', github_link: link_to(t('.github'), 'https://github.com/diaspora/diaspora/')).html_safe %></p>
</div>
<div class="col-md-6">
<h3 class="text-center"><%= t '.travis' %></h3>
<p class="minor-top-spacing" />
<p class="text-center">
<%= link_to image_tag('pages/supporters/travis-mascot.png', alt: 'Travis logo', size: '166x166'), 'https://travis-ci.org/diaspora/' %>
</p>
<p class="minor-top-spacing"><%= t('.travis_ex', travis_link: link_to(t('.travis'), 'https://travis-ci.org/diaspora/')).html_safe %></p>
</div>
</div>
</div>

<div class="minor-top-spacing" />

<div class="container">
<div class="row">
<div class="col-md-6">
<h3 class="text-center"><%= t '.lets_encrypt' %></h3>
<p class="text-center">
<%= link_to image_tag('pages/supporters/letsencrypt.png', alt: 'Let’s Encrypt logo', size: '166x166'), 'https://letsencrypt.org/' %>
</p>
<p><%= t('.lets_encrypt_ex', lets_encrypt_link: link_to(t('.lets_encrypt'), 'https://letsencrypt.org/')).html_safe %></p>
</div>
<div class="col-md-6">
<h3 class="text-center"><%= t '.webtranslateit' %></h3>
<p class="text-center">
<%= link_to image_tag('pages/supporters/webtranslateit.png', alt: 'WebTranslateIt logo', size: '200x166'), 'https://webtranslateit.com/en/projects/3020-Diaspora/' %>
</p>
<p><%= t('.webtranslateit_ex', webtranslateit_link: link_to(t('.webtranslateit'), 'https://webtranslateit.com/en/projects/3020-Diaspora/')).html_safe %></p>
</div>
</div>
</div>
13 changes: 13 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,19 @@ en:
megaphone_alt: Megaphone
support_alt: Support
pod_alt: Pod
supporters:
headline: "diaspora*’s Supporters"
menu_title: Supporters
byline: "People and organizations who have backed diaspora*"
supporters: "diaspora* wouldn’t exist without the support of many people and organizations around the world who have helped out with expertise and resources. We want to thank them all!"
github: GitHub
github_ex: "%{github_link} is where our code is hosted. The service offers full version control and enables contributors from all over the world to work on improving the software which runs our network."
travis: Travis
travis_ex: "%{travis_link} is the software we use for continuous integration (CI). This means that changes to the software can be tested for compatibility with our code base before they are merged. This helps ensure that new code works seamlessly with existing code."
lets_encrypt: "Let’s Encrypt"
lets_encrypt_ex: "%{lets_encrypt_link} has revolutionized the hosting of secure websites. diaspora* relies on the SSL secure protocol, and the Let’s Encrypt project has made SSL certificates freely available."
webtranslateit: WebTranslateIt
webtranslateit_ex: "%{webtranslateit_link} enables our multi-lingual community to collaborate on translating all parts of our app and website."
blog:
headline: "The diaspora* blog"
subline: "official announcements"
Expand Down
1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
get :about
get :formatting
get :get_involved
get :supporters
get :other_docs
get :community_guidelines
get :tips
Expand Down

0 comments on commit b625c0e

Please sign in to comment.