index.blade.php 1.3 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 11
	<div id="plugin-btn-div">
		<a id="plugin-btn" class="btn btn-default" 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
	<script src="{{ mix('js/scriptStartPage.js') }}" defer></script>
	<script src="{{ mix('js/searchbar.js') }}" defer></script>
15 16 17
@endsection

@section('optionalContent')
18 19
	<div id="more-information">
		<div id="about-us">
20 21 22
			<h2>{!! trans('index.slogan.title') !!}</h2>
			<p>{!! trans('index.slogan.1') !!}</p>
			<p>{!! trans('index.slogan.2') !!}</p>
23 24 25 26
		</div>
		<div id="sponsors">
			<h2>{{ trans('index.sponsors.head.2') }}</h2>
			<ul class="startpage">
27
				@foreach($sponsors as $link)
28
				<li class="sponsor">
29
					<a href="{{ $link->link }}" target="_blank" rel="noopener"><p>{{ $link->linktext }}</p> <i class="fa fa-external-link-alt"></i></a>
30
				</li>
31
				@endforeach
32 33
			</ul>
		</div>
34
	</div>
35
@endsection