betterplace-content 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 83ef7cb520c99834ed9eb1061bc7532d40cf0f04
4
- data.tar.gz: 0a4e3abd6f036bf4a9d6e8fc33934a02e146c181
3
+ metadata.gz: 85865a069d7c3468707922f05ce77c5ad209d40d
4
+ data.tar.gz: 749d2c2772ed7bcb2d7e694a26903738953a2d3f
5
5
  SHA512:
6
- metadata.gz: 4a3e8cc549af118cb2f874d9a68ddff866a5e322f773504c788cca245e18d28a30235e67f139207af6d6b303030a134732df8ac10a4e87cf763ac4ad5658a9bb
7
- data.tar.gz: a9ed54b279cd61b02c31bef58aced8a67d0d0e16cdc04ccbb334ab30d5a328d9eeeaa5ed68e62b1e47c6a616cb5fc6c8da2ba761c1642cb7aa0ac2cef30e4783
6
+ metadata.gz: 9f011264bbe9488df4e7d3a5bbf659685bdc55a9d4926862ec25d89101507b00386604279288d7246f79f884f55b50a60c254f66be338bb4e07d999470dc39ea
7
+ data.tar.gz: c0dc76e31bfefaa6ad52a269a57baac7d1c73dd291714c3c2abd5b6dd8b85b62cc14f14517809ab6a8775f00a02f47768e17cd83c3f6317373a90503917c61ca
@@ -0,0 +1,44 @@
1
+ <header class="{% if site.transparent_header %}transparent{% endif %}">
2
+ <div class="container">
3
+ <div class="row">
4
+ <p class="home col-xs-24 col-md-5">
5
+ <a onclick="ga('send', 'event', 'navigation header', '/de');" href="/de"><img width="188" height="39" title="betterplace.org" src="https://asset1.betterplace.org/assets/logos/layout-logo-043547a61760a5d12e23755a92b89aa35bb2f4f11c201adb7939c7811f2b4623.svg" alt="Layout logo" /><span class="start hidden-xs">Startseite</span></a> <button class="navbar-toggle collapsed" data-target=".js-main-navigation" data-toggle="collapse" type="button"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button>
6
+ </p>
7
+ <div class="js-main-navigation collapse navbar-collapse">
8
+ <div class="tagline has-more-link col-md-6">
9
+ <a onclick="ga('send', 'event', 'navigation header', '/c/ueber-uns/');" href="/c/ueber-uns/"><span class="claim">Deutschlands größte Spendenplattform</span> <span class="more-link">Mehr</span></a>
10
+ </div>
11
+ <nav>
12
+ <ul class="list-unstyled">
13
+ <li>
14
+ <a onclick="ga('send', 'event', 'navigation header', '/{{ site.lang }}/discover-projects');" href="/{{ site.lang }}/discover-projects">Geld spenden</a>
15
+ </li>
16
+ <li>
17
+ <a onclick="ga('send', 'event', 'navigation header', '/{{ site.lang }}/discover-volunteering#open');" href="/{{ site.lang }}/discover-volunteering#open">Zeit spenden</a>
18
+ </li>
19
+ <li>
20
+ <a onclick="ga('send', 'event', 'navigation header', '/{{ site.lang }}/collect-donations');" href="/{{ site.lang }}/collect-donations">Spenden sammeln</a>
21
+ </li>
22
+ <li class="secondary">
23
+ <a onclick="ga('send', 'event', 'navigation header', '/c/hilfe');" href="/c/hilfe">Hilfe</a>
24
+ </li>
25
+ <li class="secondary">
26
+ <a onclick="ga('send', 'event', 'navigation header', '/{{ site.lang }}/users/sign_in?return_to=%2Fc%2F{{ page.path }}%2F');" href="/{{ site.lang }}/users/sign_in?return_to=%2Fc%2F{{ page.path }}%2F">Anmelden</a>
27
+ </li>
28
+ <li class="secondary">
29
+ {% if page.translation_path %}
30
+ <a onclick="ga('send', 'event', 'navigation header', '/c/{{ page.translation_path }}/');" href="/c/{{ page.translation_path }}/">English</a> {% else %}
31
+ <a class="disabled">English</a> {% endif %}
32
+ </li>
33
+ <li class="secondary search">
34
+ <a onclick="ga('send', 'event', 'navigation header', '/{{ site.lang }}/search');" href="/{{ site.lang }}/search">
35
+ <span class="icon fa fa-search"></span>
36
+ <span class="text hidden-md hidden-lg">Suche</span>
37
+ </a>
38
+ </li>
39
+ </ul>
40
+ </nav>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ </header>
@@ -0,0 +1,44 @@
1
+ <header class="{% if site.transparent_header %}transparent{% endif %}">
2
+ <div class="container">
3
+ <div class="row">
4
+ <p class="home col-xs-24 col-md-5">
5
+ <a onclick="ga('send', 'event', 'navigation header', '/de');" href="/de"><img width="188" height="39" title="betterplace.org" src="https://asset1.betterplace.org/assets/logos/layout-logo-043547a61760a5d12e23755a92b89aa35bb2f4f11c201adb7939c7811f2b4623.svg" alt="Layout logo" /><span class="start hidden-xs">Startseite</span></a> <button class="navbar-toggle collapsed" data-target=".js-main-navigation" data-toggle="collapse" type="button"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button>
6
+ </p>
7
+ <div class="js-main-navigation collapse navbar-collapse">
8
+ <div class="tagline has-more-link col-md-6">
9
+ <a onclick="ga('send', 'event', 'navigation header', '/c/ueber-uns/');" href="/c/ueber-uns/"><span class="claim">Deutschlands größte Spendenplattform</span> <span class="more-link">Mehr</span></a>
10
+ </div>
11
+ <nav>
12
+ <ul class="list-unstyled">
13
+ <li>
14
+ <a onclick="ga('send', 'event', 'navigation header', '/{{ site.lang }}/discover-projects');" href="/{{ site.lang }}/discover-projects">Geld spenden</a>
15
+ </li>
16
+ <li>
17
+ <a onclick="ga('send', 'event', 'navigation header', '/{{ site.lang }}/discover-volunteering#open');" href="/{{ site.lang }}/discover-volunteering#open">Zeit spenden</a>
18
+ </li>
19
+ <li>
20
+ <a onclick="ga('send', 'event', 'navigation header', '/{{ site.lang }}/collect-donations');" href="/{{ site.lang }}/collect-donations">Spenden sammeln</a>
21
+ </li>
22
+ <li class="secondary">
23
+ <a onclick="ga('send', 'event', 'navigation header', '/c/hilfe');" href="/c/hilfe">Hilfe</a>
24
+ </li>
25
+ <li class="secondary">
26
+ <a onclick="ga('send', 'event', 'navigation header', '/{{ site.lang }}/users/sign_in?return_to=%2Fc%2F{{ page.path }}%2F');" href="/{{ site.lang }}/users/sign_in?return_to=%2Fc%2F{{ page.path }}%2F">Anmelden</a>
27
+ </li>
28
+ <li class="secondary">
29
+ {% if page.translation_path %}
30
+ <a onclick="ga('send', 'event', 'navigation header', '/c/{{ page.translation_path }}/');" href="/c/{{ page.translation_path }}/">English</a> {% else %}
31
+ <a class="disabled">English</a> {% endif %}
32
+ </li>
33
+ <li class="secondary search">
34
+ <a onclick="ga('send', 'event', 'navigation header', '/{{ site.lang }}/search');" href="/{{ site.lang }}/search">
35
+ <span class="icon fa fa-search"></span>
36
+ <span class="text hidden-md hidden-lg">Suche</span>
37
+ </a>
38
+ </li>
39
+ </ul>
40
+ </nav>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ </header>
@@ -25,6 +25,8 @@
25
25
  <!-- TODO TJO: Lösung bei der wir prüfen ob das File existiert. Oder aber nur nach Bedingung (Page? Site?) diese Zeile ausführen. -->
26
26
  <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/{{ site.css_root }}.css" />
27
27
 
28
+ <link href="/assets/images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
29
+
28
30
  {{ page.head_include }}
29
31
  {{ layout.head_include }}
30
32
 
@@ -33,7 +35,11 @@
33
35
  <body class="{{ site.css_root }}">
34
36
  <div id="fb-root"></div>
35
37
 
36
- {% include header.html %}
38
+ {% if site.lang == 'de' %}
39
+ {% include header-de.html %}
40
+ {% else %}
41
+ {% include header-en.html %}
42
+ {% endif %}
37
43
 
38
44
  {% comment %}{% include navigation.html %}{% endcomment %}
39
45
 
@@ -6,11 +6,11 @@
6
6
  margin-top: -56px
7
7
  padding-top: 41px
8
8
  height: 560px
9
- background: url('../images/about-us/generic-content-header_desktop.jpg') no-repeat 50% 0 $very-light-grey
9
+ background: url('#{$site_baseurl}/assets/theme_images/about-us/generic-content-header_desktop.jpg') no-repeat 50% 0 $very-light-grey
10
10
 
11
11
  +phone
12
12
  height: 380px
13
- background: url('../images/about-us/generic-content-header_phone.jpg') no-repeat 50% 0
13
+ background: url('#{$site_baseurl}/assets/theme_images/about-us/generic-content-header_phone.jpg') no-repeat 50% 0
14
14
  padding: 0 20px
15
15
  background-size: cover
16
16
 
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: betterplace-content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - betterplace developers
@@ -63,7 +63,8 @@ files:
63
63
  - README.md
64
64
  - _includes/footer.html
65
65
  - _includes/google_analytics.html
66
- - _includes/header.html
66
+ - _includes/header-de.html
67
+ - _includes/header-en.html
67
68
  - _includes/navigation.html
68
69
  - _includes/sharing.html
69
70
  - _layouts/current-custom-theme.html
@@ -109,6 +110,7 @@ files:
109
110
  - assets/css/jobs.sass
110
111
  - assets/css/news.sass
111
112
  - assets/css/team.sass
113
+ - assets/images/favicon.ico
112
114
  - assets/theme_images/about-us/because-icon-desktop.png
113
115
  - assets/theme_images/about-us/because-icon-phone.png
114
116
  - assets/theme_images/about-us/feature-list-bullet.png
@@ -1,47 +0,0 @@
1
- <header class="transparent">
2
- <div class="container">
3
- <div class="row">
4
- <p class="home col-xs-24 col-md-5">
5
- <a onclick="ga('send', 'event', 'navigation header', '/de');" href="/de"><img width="188" height="39" title="betterplace.org" src="https://asset1.betterplace.org/assets/logos/layout-logo-043547a61760a5d12e23755a92b89aa35bb2f4f11c201adb7939c7811f2b4623.svg" alt="Layout logo" /><span class="start hidden-xs">Startseite</span></a> <button class="navbar-toggle collapsed" data-target=".js-main-navigation" data-toggle="collapse" type="button"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button>
6
- </p>
7
- <div class="js-main-navigation collapse navbar-collapse">
8
- <div class="tagline has-more-link col-md-6">
9
- <a onclick="ga('send', 'event', 'navigation header', '/c/ueber-uns/');" href="/c/ueber-uns/"><span class="claim">Deutschlands größte Spendenplattform</span> <span class="more-link">Mehr</span></a>
10
- </div>
11
- <nav>
12
- <ul class="list-unstyled">
13
- <li>
14
- <a onclick="ga('send', 'event', 'navigation header', '/{{ site.lang }}/discover-projects');" href="/{{ site.lang }}/discover-projects">Geld spenden</a>
15
- </li>
16
- <li>
17
- <a onclick="ga('send', 'event', 'navigation header', '/{{ site.lang }}/discover-volunteering#open');" href="/{{ site.lang }}/discover-volunteering#open">Zeit spenden</a>
18
- </li>
19
- <li>
20
- <a onclick="ga('send', 'event', 'navigation header', '/{{ site.lang }}/collect-donations');" href="/{{ site.lang }}/collect-donations">Spenden sammeln</a>
21
- </li>
22
- <li class="secondary">
23
- <a onclick="ga('send', 'event', 'navigation header', '/c/hilfe');" href="/c/hilfe">Hilfe</a>
24
- </li>
25
- <li class="secondary">
26
- <a onclick="ga('send', 'event', 'navigation header', '/{{ site.lang }}/users/sign_in?return_to=%2Fc%2F{{ page.path }}%2F');" href="/{{ site.lang }}/users/sign_in?return_to=%2Fc%2F{{ page.path }}%2F">Anmelden</a>
27
- </li>
28
- <li class="secondary">
29
- {% if page.translation_path %}
30
- <a onclick="ga('send', 'event', 'navigation header', '/c/{{ page.translation_path }}/');" href="/c/{{ page.translation_path }}/">English</a>
31
- {% else %}
32
- <a class="disabled">English</a>
33
- {% endif %}
34
- </li>
35
- <li class="secondary search">
36
- <a onclick="ga('send', 'event', 'navigation header', '/{{ site.lang }}/search');" href="/{{ site.lang }}/search">
37
- <span class="icon fa fa-search">
38
- </span>
39
- <span class="text hidden-md hidden-lg">Suche
40
- </span></a>
41
- </li>
42
- </ul>
43
- </nav>
44
- </div>
45
- </div>
46
- </div>
47
- </header>