Commit 0b2352a6 authored by Karl Hasselbring's avatar Karl Hasselbring

Spendenaufruf an neues Design angepasst

parent 52f96554
......@@ -366,4 +366,4 @@ a {
padding-left: 50px;
width: @quicktip-width;
}
}
\ No newline at end of file
}
......@@ -107,4 +107,8 @@
a:hover {
text-decoration: underline;
}
}
\ No newline at end of file
}
#spendenaufruf {
margin-bottom: 50px;
}
......@@ -39,13 +39,17 @@
@include('parts.sidebar', ['id' => 'staticPagesSideBar'])
<div class="wrapper">
@if(LaravelLocalization::getCurrentLocale() == "de" && strpos(url()->current(), '/beitritt') === false && strpos(url()->current(), '/spendenaufruf') === false)
<div style="text-align: center;"><a href="/spendenaufruf" target="_blank" style="
background-color: white;
display: inline-block;
width: 100%;
max-width: 770px;
margin-bottom: 10px;
"><img src="/img/aufruf.png" alt="Spendenaufruf SuMa eV" width="100%"></a></div>
<div id="spendenaufruf" style="text-align: center;">
<a href="/spendenaufruf" target="_blank" style="
background-color: white;
display: inline-block;
width: 100%;
max-width: 770px;
margin-bottom: 10px;
">
<img src="/img/aufruf.png" alt="Spendenaufruf SuMa eV" width="100%">
</a>
</div>
@endif
<main class="mg-panel container">
@if (isset($success))
......
......@@ -24,18 +24,14 @@
<main id="results">
{{-- Show initial products or ads --}}
@if(!$apiAuthorized && !$metager->validated && LaravelLocalization::getCurrentLocale() == "de" && strpos(url()->current(), '/beitritt') === false && strpos(url()->current(), '/spendenaufruf') === false)
<div class="row" style="margin-bottom: 10px">
<div class="col-sm-1">
</div>
<div class="col-sm-10">
<div id="spendenaufruf" style="margin-bottom: 10px">
<a href="/spendenaufruf" target="_blank" style="
background-color: white;
display: inline-block;
width: 100%;
">
<img src="/img/aufruf.png" alt="Spendenaufruf SuMa eV" width="100%">
</a>
</div>
</a>
</div>
@endif
@if($metager->hasProducts())
......
......@@ -20,10 +20,7 @@
@endif
<div id="results">
@if(!$apiAuthorized && !$metager->validated && LaravelLocalization::getCurrentLocale() == "de" && strpos(url()->current(), '/beitritt') === false && strpos(url()->current(), '/spendenaufruf') === false)
<div class="row" style="margin-bottom: 10px">
<div class="col-sm-1">
</div>
<div class="col-sm-10">
<div id="spendenaufruf" style="margin-bottom: 10px">
<a href="/spendenaufruf" target="_blank" style="
background-color: white;
display: inline-block;
......@@ -31,7 +28,6 @@
">
<img src="/img/aufruf.png" alt="Spendenaufruf SuMa eV" width="100%">
</a>
</div>
</div>
@endif
{{-- Show initial products or a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment