Skip to content

Commit

Permalink
Replace USP blue box with Startnext widget on welcome page
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Altmann committed Oct 23, 2015
1 parent 9546217 commit 853c782
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
29 changes: 29 additions & 0 deletions app/assets/stylesheets/controller/welcome.scss
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,20 @@
}


// Startnext widget
.startnext_widget { margin-bottom: 1em; }
.startnext_widget-inner {
@include whitebox;
background-color: $secondary-color;
padding: 0;
height: 410px;

iframe {
display: block;
margin: 50px auto 0;
}
}


// USP teaser
#usp { margin-bottom: 1em; }
Expand Down Expand Up @@ -449,6 +463,11 @@
@include omega;
}

.startnext_widget {
@include span(2 of 4);
@include omega;
}


// Filters teaser
.teaser--filters {
Expand Down Expand Up @@ -535,6 +554,11 @@
@include omega;
}

.startnext_widget {
@include span(2 of 6);
@include omega;
}


// Filters teaser
.teaser--filters {
Expand Down Expand Up @@ -612,6 +636,11 @@
@include omega;
}

.startnext_widget {
@include span(2 of 8);
@include omega;
}

// Filters teaser
.teaser--filters {
@include span(2 of 8);
Expand Down
3 changes: 3 additions & 0 deletions app/views/welcome/_startnext_widget.html.slim
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.startnext_widget
.startnext_widget-inner
iframe height="300" frameborder="0" width="200" scrolling="no" allowtransparency="true" style="height:300px;width:200px;"src="https://www.startnext.com/fairmondo-spiel/widget/?w=200&h=300&l=de"
4 changes: 2 additions & 2 deletions app/views/welcome/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
- cache 'billboards' do
= render 'billboards'

- cache 'usp_teaser' do
= render 'usp_teaser'
- cache 'startnext_widget' do
= render 'startnext_widget'

- cache 'filter_boxes' do
= render 'filter_boxes'
Expand Down

0 comments on commit 853c782

Please sign in to comment.