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

[WIP]: Create supporters page #105

Closed
wants to merge 4 commits into from
Closed
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
Binary file added app/assets/images/pages/supporters/jetbrains.jpg
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.
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.
Binary file added app/assets/images/pages/supporters/sflc.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.
77 changes: 77 additions & 0 deletions app/views/pages/supporters.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<% 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="container">
<div class="page-header">
<h2 class="text-center">
<small><%= t '.supporters' %></small>
</h2>
</div>
<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>

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

<div class="container">
<div class="row">
<div class="col-md-6">
<h3 class="text-center"><%= t '.jetbrains' %></h3>
<p class="text-center">
<%= link_to image_tag('pages/supporters/jetbrains.jpg', alt: 'JetBrains', size: '175x180'), 'https://www.jetbrains.com/ruby/' %>
</p>
<p><%= t('.jetbrains_ex', jetbrains_link: link_to(t('.jetbrains'), 'https://www.jetbrains.com/ruby/')).html_safe %></p>
</div>
<div class="col-md-6">
<h3 class="text-center"><%= t '.sflc' %></h3>
<p class="text-center">
<%= link_to image_tag('pages/supporters/sflc.png', alt: 'Software Freedom Law Center logo', size: '180x180'), 'https://softwarefreedom.org/' %>
</p>
<p><%= t('.sflc_ex', sflc_link: link_to(t('.sflc'), 'https://softwarefreedom.org/')).html_safe %></p>
</div>
</div>
</div>
21 changes: 21 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,27 @@ 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."
jetbrains: JetBrains
jetbrains_ex: "%{jetbrains_link} has given the diaspora* project an open-source license for RubyMine, their development tool for Ruby."
kickstarter: Kickstarter
kickstarter_ex: "diaspora*’s four founders used a %{kickstarter_link} campaign in May 2010 to raise the money to get the project underway. We are hugely thankful to every person who donated to the original crowd-funding campaign."
pivotallabs: "Pivotal Labs"
pivotallabs_ex: "%{pivotallabs_link} gave generous support to the project in terms of both resources and expertise."
sflc: "Software Freedom Law Center"
sflc_ex: "The %{sflc_link} provides legal support to Free Software projects, including diaspora*."
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