index.blade.php 1.38 KB
Newer Older
1
@extends('layouts.staticPages', ['page' => 'startpage'])
Dominik Hebeler's avatar
Dominik Hebeler committed
2 3 4 5

@section('title', $title )

@section('content')
6
	<h1 id="startpage-logo">
7
		<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}">MetaGer</a>
8
	</h1>
9
	@include('parts.searchbar', ['class' => 'startpage-searchbar'])
10
	<div id="plugin-btn-div">
11
		<a id="plugin-btn" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/plugin") }}" title="{{ trans('index.plugin-title') }}"><i class="fa fa-plug" aria-hidden="true"></i> {{ trans('index.plugin') }}</a>
12
	</div>
13 14 15
	<a id="scroll-helper" href="#about-us">
		<i class="fas fa-angle-double-down"></i>
	</a>
16 17
	<script src="{{ mix('js/scriptStartPage.js') }}" defer></script>
	<script src="{{ mix('js/searchbar.js') }}" defer></script>
18 19
@endsection

20 21
@section('additional-content')
	<div id="about-us">
22 23 24
		<div>
			<h2>{!! trans('index.slogan.title') !!}</h2>
			<p>{!! trans('index.slogan.1') !!}</p>
25 26
			<!--<p>{!! trans('index.slogan.2') !!}</p>-->
			<p>{!! trans('index.preredesign') !!}</p>
27
		</div>
28
	</div>
Dominik Hebeler's avatar
Dominik Hebeler committed
29
	<div id="s">
30
		<h2>{{ trans('index.sponsors.head') }}</h2>
31 32
		<ul class="startpage">
			@foreach($sponsors as $link)
Dominik Hebeler's avatar
Dominik Hebeler committed
33
			<li class="sr">
34 35 36 37
				<a href="{{ $link->link }}" target="_blank" rel="noopener"><p>{{ $link->linktext }}</p> <i class="fa fa-external-link-alt"></i></a>
			</li>
			@endforeach
		</ul>
38
	</div>
39
@endsection