Skip to content

Commit

Permalink
Implement temporary Startnext CFK widget
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Altmann committed Feb 4, 2015
1 parent 588e68c commit fc5f372
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 18 deletions.
38 changes: 34 additions & 4 deletions app/assets/stylesheets/controller/welcome.scss
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,35 @@
}


#startnext {
margin-bottom: 1em;
}

// Startnext widget
#startnext-inner {
@include whitebox;
height: 396px;
padding: 0.5em;
}

#startnext iframe
{
border: 0;
height: 315px;
width: 100%;
}

#startnext h2 {
font-weight: 700;
margin: 0.5em 0 0.8em;
}





// USP teaser
/*
#usp { margin-bottom: 1em; }
#usp-inner {
Expand Down Expand Up @@ -194,7 +222,7 @@
margin-bottom: 5%;
&:before {
content: '\f111'; /*fontawesome char code inside the '' */
content: '\f111';
font: normal 2em FontAwesome;
margin: 0.2em 2.5% 0.5em 0;
display: block;
Expand Down Expand Up @@ -239,6 +267,8 @@
}
}
*/


// Filters teaser
#filters section {
Expand Down Expand Up @@ -429,7 +459,7 @@
@include span(2 of 4);
}

#usp {
#usp, #startnext {
@include span(2 of 4);
@include omega;
}
Expand Down Expand Up @@ -506,7 +536,7 @@


// USP teaser
#usp {
#usp, #startnext {
@include span(2 of 6);
@include omega;
}
Expand Down Expand Up @@ -583,7 +613,7 @@


// USP teaser
#usp {
#usp, #startnext {
@include span(2 of 8);
@include omega;
}
Expand Down
35 changes: 21 additions & 14 deletions app/views/welcome/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -140,21 +140,28 @@
p Weine


/ Startnext widget
#startnext
#startnext-inner
h2 Crowdfunding-Kampagne
iframe src='https://www.startnext.com/rundesache/widget/?w=261&h=315&l=de'


/ USP Teaser with registration link
- cache 'uspteaser' do
#usp
#usp-inner
h2 Das macht uns anders:
ul
li Die schönsten und fairsten Produkte im Netz ent­decken
li Keine Einstell­gebühren und nur 6% Verkaufs­provision (3% für faire Artikel)
li
| Ein
=<>link_to 'faires Unternehmen', '/about_us'
| dahinter
p
= link_to '/user/sign_up', class: 'Button' do
| Jetzt kosten&shy;los registrieren
/ - cache 'uspteaser' do
/ #usp
/ #usp-inner
/ h2 Das macht uns anders:
/ ul
/ li Die schönsten und fairsten Produkte im Netz ent&shy;decken
/ li Keine Einstell&shy;gebühren und nur 6% Verkaufs&shy;provision (3% für faire Artikel)
/ li
/ | Ein
/ =<>link_to 'faires Unternehmen', '/about_us'
/ | dahinter
/ p
/ = link_to '/user/sign_up', class: 'Button' do
/ | Jetzt kosten&shy;los registrieren
/ Filter boxes
Expand Down

0 comments on commit fc5f372

Please sign in to comment.