Skip to content
Snippets Groups Projects
Commit 4a010d22 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

changed new startpage layout

parent 48d69228
No related branches found
No related tags found
1 merge request!1441Development
......@@ -34,7 +34,7 @@ return [
'about.3.1' => 'Unterstützen & Spenden',
'about.3.2' => 'Mit Ihrer Spende unterstützen Sie die Arbeit des SUMA-EV und den Betrieb von MetaGer.',
'about.4.1' => 'Machen Sie mit!',
'about.4.2' => 'Stärken Sie uns, indem Sie Mitglied werden.',
'about.4.2' => 'Stärken Sie uns, indem Sie Mitglied im Trägerverin werden.',
'lang.tooltip' => 'Ergebnissprache wählen',
'key.placeholder' => 'Mitglieder-Key eingeben',
......
......@@ -45,30 +45,24 @@
.startpage #main-content {
justify-content: center;
margin-top: -25%;
#about-us {
font-size: 1.4em;
color: #777;
text-align: center;
display: grid;
grid-gap: 24px;
margin-top: 48px;
margin-bottom: 48px;
margin-top: 60px;
justify-content: center;
grid-template-columns: 240px;
position: absolute;
width: 100%;
top: 100vh;
left: 0;
position: absolute;
@media(min-width: 504px){
margin-top: 0;
grid-template-columns: 240px 240px;
grid-template-columns: 240px 240px ;
grid-gap: 24px;
top: inherit;
bottom: 100px;
}
@media(min-width: 1000px){
grid-template-columns: 240px 240px 240px 240px;
position: inherit;
}
> a {
display: flex;
......@@ -76,9 +70,6 @@
cursor: pointer;
color: inherit;
> div.teaser {
@media(min-width: 504px){
visibility: hidden;
}
font-size: .7em;
}
&:hover > div.teaser {
......
......@@ -16,12 +16,16 @@
<span>@lang('index.about.1.1')</span>
<div class="teaser">@lang('index.about.1.2')</div>
</a>
<a href="https://suma-ev.de">
@if(LaravelLocalization::getCurrentLocale() === "de")
<a href="https://suma-ev.de" target="_blank">
@else
<a href="https://suma-ev.de/en/index.html" target="_blank">
@endif
<i class="fas fa-heart"></i>
<span>@lang('index.about.2.1')</span>
<div class="teaser">@lang('index.about.2.2')</div>
</a>
<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "spenden") }}">
<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "spende") }}">
<i class="fas fa-money-bill-wave"></i>
<span>@lang('index.about.3.1')</span>
<div class="teaser">@lang('index.about.3.2')</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment