Skip to content

Commit 7212c0b

Browse files
authored
Merge pull request #35 from rails-girls-summer-of-code/lg-update-styling
update the styling of checkout and thank you pages
2 parents db59508 + f66bb27 commit 7212c0b

File tree

11 files changed

+32
-290
lines changed

11 files changed

+32
-290
lines changed

app/assets/stylesheets/application.scss

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,8 @@
1212
*= require_self
1313
*/
1414

15-
@font-face {
16-
font-family: 'Interstate';
17-
src: url('/fonts/interstate_mono-webfont.eot');
18-
src: url('/fonts/interstate_mono-webfont.eot?#iefix') format('embedded-opentype'),
19-
url('/fonts/interstate_mono-webfont.woff') format('woff'),
20-
url('/fonts/interstate_mono-webfont.ttf') format('truetype'),
21-
url('/fonts/interstate_mono-webfont.svg#interstate_monoregular') format('svg');
22-
font-weight: normal;
23-
font-style: normal;
24-
}
15+
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
16+
2517
html,
2618
button,
2719
input,
@@ -34,7 +26,7 @@
3426
}
3527
body {
3628
font-size: 1em;
37-
font: 16px/26px Helvetica, Helvetica Neue, Arial;
29+
font: 16px/26px 'Lato', Helvetica, Helvetica Neue, Arial;
3830
overflow-x: hidden;
3931
}
4032
::-moz-selection {
@@ -198,13 +190,13 @@
198190
.footer-container { min-height: 10em; padding-bottom: 1em; padding-top: 2em; clear: both; }
199191
.footer-container .nav-meta a { color: white; font-weight: normal; text-decoration: none }
200192
.footer-container .nav-meta a:hover { text-decoration: underline; }
201-
.footer-container .wrapper {position: relative; min-height: 20em;}
193+
.footer-container .wrapper {position: relative; min-height: 15em;}
202194

203195
a.button, .simple_form input[type="submit"]{
204196
display: inline-block;
205197
margin: 2em 1em 2em 0;
206198
padding: 20px;
207-
background-color: #e53f05;
199+
background-color: #D82222;
208200
color: white;
209201
text-decoration: none;
210202
font-size: 1.2em;
@@ -259,7 +251,7 @@
259251
margin: 0;
260252
}
261253
.intro h2 {
262-
font-family: Interstate, Helvetica;
254+
font-family: 'Lato', sans-serif;
263255
font-size: 18px;
264256
color: white;
265257
letter-spacing: 1px;
@@ -296,6 +288,7 @@
296288
.footer-container footer {
297289
color: white;
298290
padding-top: 1em;
291+
font-size: 0.8em;
299292
}
300293
.footer-container footer a {
301294
color: white;
@@ -336,7 +329,7 @@
336329
h2,
337330
h3,
338331
.button h3 {
339-
font-family: 'Interstate', sans-serif;
332+
font-family: 'Lato', sans-serif;
340333
font-weight: normal;
341334
}
342335
h2 {

app/assets/stylesheets/simple.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ body.simple {
77
width: 800px;
88
padding: 2em 4em;
99
line-height: 150%;
10-
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
10+
font-family: 'Lato', sans-serif;
1111
}
1212

1313
.nav {

app/views/donations/checkout.html.slim

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ section class="main container"
66
= f.hidden_field :amount
77
= f.hidden_field :stripe_card_token
88

9-
h2 Rails Girls Summer of Code
9+
h2 Confirm your donation
1010

11-
p You are about to donate #{format_donation(donation)} to the Rails Girls Summer of Code.
12-
13-
p Which is... amazing! Thank you so much.
11+
p You are about to donate #{format_donation(donation)} to Rails Girls Summer of Code.
1412

1513
- if donation.errors[:base].any?
1614
.application-error
@@ -20,14 +18,14 @@ section class="main container"
2018
- if company?
2119
#address
2220
h3 About you
23-
p We'd love to list you on the crowdfunding page. Please provide us with some information about your company:
21+
p We'd love to list you on our crowdfunding page. Please fill out the form below with information about your company:
2422
fieldset
2523
= f.input :name, required: true
2624
= f.input :twitter_handle, label: 'Twitter', hint: 'Your Twitter handle', input_html: { placeholder: '@' }
2725
= f.input :github_handle, label: 'Github', hint: 'Your Github handle'
2826
= f.input :homepage, input_html: { placeholder: 'http://' }
2927
= f.input :comment, as: :string
30-
p Please provide your address so we can send you an email with a billing receipt.
28+
p Please provide your company's billing address so we can send you an email with a billing receipt.
3129
fieldset
3230
= f.input :email, required: true
3331
= f.input :address, required: true
@@ -39,7 +37,7 @@ section class="main container"
3937
- else
4038
#user
4139
h3 About you
42-
p We'd love to list you on the crowdfunding page. Please provide us with some information about you:
40+
p We'd love to list you on our crowdfunding page. Please fill out the form below with information about you:
4341
fieldset
4442
= f.input :name
4543
= f.input :email, required: true
@@ -48,7 +46,7 @@ section class="main container"
4846
= f.input :homepage, input_html: { placeholder: 'http://' }
4947
= f.input :comment, as: :string
5048
= f.input :hide, as: :boolean, label: 'Hide amount?', input_html: { class: 'inline' }
51-
p.note If you leave these fields empty, we will list the donation as anonymous. If you tick "Hide amount?", we won't display the amount. We won't display the email address, but show your <a href="http://gravatar.com">Gravatar</a>.
49+
p.note If you leave the above fields empty, we will list the donation as anonymous. If you tick "Hide amount?", we won't display the amount. Your email address will <strong>not</strong> be displayed on our site, but we will show your <a href="http://gravatar.com">Gravatar</a>.
5250

5351
- if needs_vat?
5452
= f.hidden_field :add_vat, value: false
@@ -73,7 +71,7 @@ section class="main container"
7371

7472
ul.footnotes
7573
li
76-
| As far as we know contributions and payments to the Rails Girls Summer of
74+
| As far as we know contributions and payments to Rails Girls Summer of
7775
Code are not deductible as charitable contributions for federal income
7876
tax purposes. However, they may be deductible under other provisions of
7977
the Internal Revenue Code (for US) or your local tax authority's advice.

app/views/donations/confirm_creation.html.slim

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
section class="main container"
22
div class="wrapper clearfix"
33
article class="content"
4-
h2 Thank you!
4+
h2 Thank you for your donation!
55
p
66
- if false && subscription?
77
| You have just ordered the subscription <em>"#{donation.package.name}"</em> which means you are donating <em>#{number_to_currency donation.amount_in_dollars}</em> per month to Travis CI (until you cancel the subscription).
88
- else
9-
| You have just donated <em>#{number_to_currency donation.amount_in_dollars}</em> to RailsGirls Summer of Code.
10-
11-
p We can't express how much we appreciate your support.
12-
13-
h4 Thank you so much!
9+
| You have just donated <em>#{number_to_currency donation.amount_in_dollars}</em> to Rails Girls Summer of Code.
10+
11+
br We can't express how much we appreciate your support.
1412

1513
#sociallinks
1614
h3 Please help spread the word!
17-
p They say the number one reason for people to donate is that they have been inspired by others.
18-
p Please help spread the word and ask friends, colleagues or your company to support Rails Girls Summer of Code!
15+
p They say the number one reason for people to donate is that they have been inspired by others. Please help spread the word and ask friends, colleagues or your company to support Rails Girls Summer of Code!
1916
p Share your donation:
2017
table
2118
tr
@@ -29,7 +26,7 @@ section class="main container"
2926

3027
p
3128
| Go back to the
32-
a href="http://railsgirlssummerofcode.org/campaign" campaign page
29+
a href="https://railsgirlssummerofcode.org/campaign" campaign page
3330

3431

3532

app/views/layouts/application.html.slim

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,22 @@ html
1111
div class="header-container"
1212
header class="wrapper clearfix"
1313
h1 class="logo-nav"
14-
a.ir href="http://railsgirlssummerofcode.org" Rails Girls Summer of Code
15-
/ nav class="nav-primary clearfix"
16-
/ ul
17-
/ li: a href="http://railsgirlsberlin.github.io/summer-of-code/students.html" Students
18-
/ li: a href="http://railsgirlsberlin.github.io/summer-of-code/sponsors-stripe.html" Sponsors
19-
/ li: a href="http://railsgirlsberlin.github.io/summer-of-code/projects.html" Projects
20-
/ li: a href="http://railsgirlsberlin.github.io/summer-of-code/faq.html" FAQ
21-
/ li: a href="http://railsgirlsberlin.github.io/summer-of-code/contact.html" Contact
14+
a.ir href="https://railsgirlssummerofcode.org" Rails Girls Summer of Code
2215

2316
= yield
2417

2518
div class="footer-container"
2619
footer class="sponsors wrapper"
2720
p
28-
' &copy;
29-
a href="http://railsgirls.com" Rails Girls
30-
' 2013&ndash;2017 &mdash; supported by
31-
a href="http://foundation.travis-ci.org" Travis Foundation
21+
' &copy; Rails Girls Summer of Code
22+
' 2013&ndash;2018 &mdash; managed by
23+
a href="https://foundation.travis-ci.org" Travis Foundation
3224
' |
33-
a href="http://railsgirlssummerofcode.org/about/impressum/" Legal Notice
25+
a href="https://railsgirlssummerofcode.org/about/code-of-conduct/" Code of Conduct
26+
' |
27+
a href="https://railsgirlssummerofcode.org/sponsorship-guidelines/" Sponsorship Guidelines
28+
' |
29+
a href="https://railsgirlssummerofcode.org/about/impressum/" Legal Notice
3430

3531

3632
script

app/views/static/index.html.slim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ section class="main container"
33
article class="content"
44
h1 Help us Fund Rails Girls Summer of Code!
55
p
6-
| Rails Girls Summer of Code offers three-months full time scholarships to programming newcomers. Last year's Summer of Code has been a raging success. This year we will make it happen again with your help! <a href="http://railsgirlssummerofcode.org/campaign/">Donate here!</a>
6+
| Rails Girls Summer of Code offers three-month, full-time scholarships to women and non-binary people. The last editions of RGSoC have been a raging success. This year we will make it happen again with your help. <a href="https://railsgirlssummerofcode.org/campaign/">Donate here</a>!

public/favicon.ico

-2 Bytes
Binary file not shown.
-19.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)