rubygems/rubygems.org

View on GitHub
app/views/pages/about.html.erb

Summary

Maintainability
Test Coverage
<% @title = t('.title') %>

<div class="l-colspan t-body">
  <p><%= t '.purpose.header', :site => t('title') %></p>
  <ol class="t-numbered-items">
    <li class="t-numbered-item"><%= t '.purpose.better_api' %></li>
    <li class="t-numbered-item"><%= t '.purpose.transparent_pages' %></li>
    <li class="t-numbered-item"><%= t '.purpose.enable_community' %></li>
  </ol>
  <p>
    <%= t('.founding_html', :founder => link_to('Nick Quaranto', 'https://twitter.com/qrush'),
                            :contributors => link_to(t('.contributors_amount', count: 350), "https://github.com/rubygems/rubygems.org/graphs/contributors"),
                            :downloads => link_to(t('.downloads_amount'), stats_path),
                            :title => t('title')) %>
  </p>
  <p>
    <%= t('.support_html', :dockyard => link_to("DockYard", "https://www.dockyard.com/"),
                           :github => link_to("GitHub", "https://github.com"),
                           :heroku => link_to("Heroku", "https://heroku.com"),
                           :aws => link_to("AWS", "https://aws.amazon.com")) %>
  </p>
  <p>
    <%= t('.technical_html', :rails => link_to("Rails", "https://rubyonrails.org"),
                             :s3 => link_to("Amazon S3", "https://aws.amazon.com/s3/"),
                             :fastly => link_to("Fastly", "https://www.fastly.com"),
                             :source_code => link_to(t('.checkout_code'), "https://github.com/rubygems/rubygems.org"),
                             :license => link_to(t('.mit_licensed'), "https://www.opensource.org/licenses/mit-license.php")
                             ) %>
  </p>

  <div class="hide-assets">
    <h2 class="about__assets__heading"><%= t('.logo_header') %></h2>
    <p><%= t('.logo_details') %></p>
    <div class="about__assets-wrap">
      <div class="about__assets">
        <svg class="about__asset" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" enable-background="new 0 0 200 200"><g fill="#ffffff"><path d="M68.8 69.9l-.1-.1-22.2 22.2 53.9 53.8 22.2-22.1 31.7-31.7-22.2-22.2v-.1h-63.4zM100.2 10.6l-78.5 45v90l78.5 45 78.5-45v-90l-78.5-45zm63.5 126.4l-63.5 36.6-63.5-36.6v-73l63.5-36.6 63.5 36.6v73z"/></g></svg>
        <svg class="about__asset" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" enable-background="new 0 0 200 200"><g fill="#141c22"><path d="M68.8 69.9l-.1-.1-22.2 22.2 53.9 53.8 22.2-22.1 31.7-31.7-22.2-22.2v-.1h-63.4zM100.2 10.6l-78.5 45v90l78.5 45 78.5-45v-90l-78.5-45zm63.5 126.4l-63.5 36.6-63.5-36.6v-73l63.5-36.6 63.5 36.6v73z"/></g></svg>
        <svg class="about__asset" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" enable-background="new 0 0 200 200"><g fill="#e9573f"><path d="M68.8 69.9l-.1-.1-22.2 22.2 53.9 53.8 22.2-22.1 31.7-31.7-22.2-22.2v-.1h-63.4zM100.2 10.6l-78.5 45v90l78.5 45 78.5-45v-90l-78.5-45zm63.5 126.4l-63.5 36.6-63.5-36.6v-73l63.5-36.6 63.5 36.6v73z"/></g></svg>
      </div>
      <a href="/logos.zip" download="RubyGems Assets.zip" class="about__assets__download" data-icon=">"><%= t('rubygems.aside.links.download') %></a>
    </div>
  </div>
</div>