Skip to content

Commit 8cf769d

Browse files
committed
Add Ruby Together to list of sponsors.
1 parent efd53a2 commit 8cf769d

File tree

5 files changed

+26
-4
lines changed

5 files changed

+26
-4
lines changed
21.9 KB
Loading

app/assets/stylesheets/modules/_sponsors.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,14 @@
2626
.sponsor-ruby-tune {
2727
@include inline-image('sponsors/ruby_tune.png', 60px, 300px);
2828
}
29+
30+
.sponsor-ruby-together {
31+
@include inline-image('sponsors/ruby_together.png', 100px, 148px);
32+
background-color: #D1D9E5;
33+
}
34+
35+
.footer-sponsor-list {
36+
a:nth-child(n+2) {
37+
padding-left: 5px;
38+
}
39+
}

app/controllers/static_pages_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ def homepage
44
end
55

66
def sponsors
7-
@sponsors = %i(jolly_good_code discourse rubytune)
7+
@sponsors = %i(ruby_together jolly_good_code discourse rubytune)
88
end
99
end

app/views/layouts/_footer.html.haml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
.footer-sponsors.l-align-center
22
%ul.list-inline.footer-sponsors-list
33
%li.footer-sponsor-list
4-
= link_to 'http://www.jollygoodcode.com/', target: '_blank' do
5-
%h5.l-align-center
6-
%i= t('footer.supported_by')
4+
%h5.l-align-center
5+
%i= t('footer.supported_by')
76

7+
= link_to t('sponsors.ruby_together.link'), target: '_blank' do
8+
.sponsor-ruby-together
9+
%span.l-text-hidden= t('sponsors.ruby_together.name')
10+
11+
= link_to 'http://www.jollygoodcode.com/', target: '_blank' do
812
.sponsor-jolly-good-code
913
%span.l-text-hidden Jolly Good Code
1014

config/locales/en.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ en:
2121
desc: Tune and troubleshoot rails apps.
2222
link: https://rubytune.com/
2323
class_name: sponsor-ruby-tune
24+
ruby_together:
25+
name: Ruby Together
26+
desc: >-
27+
Ruby Together is dedicated to sustaining and improving the tools and
28+
infrastructure of the Ruby programming language.
29+
link: https://www.rubytogether.org/
30+
class_name: sponsor-ruby-together
2431

2532
submit: Submit
2633

0 commit comments

Comments
 (0)