Commit 1953b72b authored by Karl Hasselbring's avatar Karl Hasselbring

Spendenaufruf refactoring

parent eab45ea3
......@@ -367,3 +367,12 @@ a {
width: @quicktip-width;
}
}
#spendenaufruf {
margin-bottom: 10px;
a {
background-color: white;
display: inline-block;
width: 100%;
}
}
\ No newline at end of file
......@@ -110,5 +110,12 @@
}
#spendenaufruf {
margin-bottom: 50px;
}
text-align: center;
a {
background-color: white;
display: inline-block;
width: 100%;
max-width: 770px;
margin-bottom: 10px;
}
}
\ No newline at end of file
......@@ -39,17 +39,7 @@
@include('parts.sidebar', ['id' => 'staticPagesSideBar'])
<div class="wrapper">
@if(LaravelLocalization::getCurrentLocale() == "de" && strpos(url()->current(), '/beitritt') === false && strpos(url()->current(), '/spendenaufruf') === false)
<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>
@include('parts.spendenaufruf')
@endif
<main class="mg-panel container">
@if (isset($success))
......
......@@ -24,15 +24,7 @@
<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 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>
@include('parts.spendenaufruf')
@endif
@if($metager->hasProducts())
@if( $metager->getFokus() !== "produktsuche" && !$apiAuthorized)
......
......@@ -20,15 +20,7 @@
@endif
<div id="results">
@if(!$apiAuthorized && !$metager->validated && LaravelLocalization::getCurrentLocale() == "de" && strpos(url()->current(), '/beitritt') === false && strpos(url()->current(), '/spendenaufruf') === false)
<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>
@include('parts.spendenaufruf')
@endif
{{-- Show initial products or a
@if($metager->hasProducts())
......
<div id="spendenaufruf">
<a href="/spendenaufruf" target="_blank">
<img src="/img/aufruf.png" alt="Spendenaufruf SuMa eV" width="100%">
</a>
</div>
\ No newline at end of file
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