Skip to content

Commit

Permalink
add a list of ads sizes in various places
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Fuchs committed Feb 16, 2012
1 parent 308e53a commit 2938341
Show file tree
Hide file tree
Showing 5 changed files with 187 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/assets/stylesheets/home.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
@import "home/animations";
@import "home/sponsors";
@import "home/sponsoring_plans";
@import "home/sponsoring_sizes";

#home #wrap {
background-image: url(/images/background-header-home.png);
Expand Down
24 changes: 24 additions & 0 deletions app/assets/stylesheets/home/sponsoring_sizes.css.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#sponsoring_sizes {
table {
margin-top: 25px;
margin-bottom: 25px;
border-collapse: collapse;
}
tbody tr:first-child th {
padding-top: 25px;
}
th {
font-weight: normal;
}
td, th {
padding: 5px 15px;
text-align: center;
font-size: 15px;
}
td {
border: 1px solid #aaa;
}
tbody th:first-child {
text-align: right;
}
}
5 changes: 4 additions & 1 deletion app/views/home/sponsoring_plans.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@
%td.no
—

Ad sizes given in this table are to be finalized and may be subject to change.
Ad sizes given in this table may be subject to change.
These sizes refer to the total ad size.
For a more detailled list of logo and text sizes see
%a{href:'/ads'} here.

%ul.footnotes
%li#fn-1
Expand Down
157 changes: 157 additions & 0 deletions app/views/home/sponsoring_sizes.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
%section#sponsoring_sizes.paper
%h2
Travis CI Sponsorship Ad sizes

%table
%tbody
%tr
%th
%a{href: 'http://love.travis-ci.org'} Crowdfunding page
%th
Platinum
%th
Gold
%th
Silver
%tr
%th
Ad size
%td
880x210 px
%td
430x130 px
%td
205x60 px
%tr
%th
Logo size
%td
210x210 px
%td
205x130 px
%td
205x60 px
%tr
%th
Text length
%td
~600 chars
%td
~175 chars
%td
‐

%tbody
%tr
%th
%a{href: 'http://love.travis-ci.org/sponsors'} Sponsors page
%th
Platinum
%th
Gold
%th
Silver
%tr
%th
Ad size
%td
880x210 px
%td
880x130 px
%td
880x60 px
%tr
%th
Logo size
%td
210x210 px
%td
205x130 px
%td
205x60 px
%tr
%th
Text length
%td
~750 chars
%td
~500 chars
%td
~250 chars

%tbody
%tr
%th
%a{href: 'http://travis-ci.org'} Travis CI app sidebar
%th
Platinum
%th
Gold
%th
Silver
%tr
%th
Ad size
%td
205x130 px
%td
205x60 px
%td
Text link, 2 lines
%tr
%th
Logo size
%td
205x130 px
%td
205x60 px
%td
‐
%tr
%th
Text length
%td
‐
%td
‐
%td
~45 chars

%tbody
%tr
%th
Build notification emails
%th
Platinum
%th
Gold
%th
Silver
%tr
%th
Ad size
%td
750x100px
%td
375x100px
%td
‐
%tr
%th
Logo size
%td
100x60 px
%td
100x60 px
%td
‐
%tr
%th
Text length
%td
~250 chars
%td
~100 chars
%td
‐

1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Travis::Application.routes.draw do
root to: 'home#show'
match 'company_packages', to: 'home#sponsoring_plans'
match 'ads', to: 'home#sponsoring_sizes'
match 'imprint', to: 'home#imprint'
match 'ringtones', to: 'home#ringtones'
match 'sponsors', to: 'home#sponsors'
Expand Down

0 comments on commit 2938341

Please sign in to comment.