Commit 5fe710c3 authored by Dominik Hebeler's avatar Dominik Hebeler

links working correct

parent e08488a8
......@@ -8,7 +8,7 @@
<h1 class="page-title">{{ trans('transparency.head.1') }}</h1>
<div class="card-heavy">
<h2>{{ trans('transparency.head.2') }}</h2>
<p>{{ trans('transparency.text.1', ["sourcecode" => "https://gitlab.metager.de/open-source/MetaGer", "license" => "https://gitlab.metager.de/open-source/MetaGer/-/blob/development/LICENSE", "sumalink" => "https://suma-ev.de"]) }}</p>
<p>{!! trans('transparency.text.1', ["sourcecode" => "https://gitlab.metager.de/open-source/MetaGer", "license" => "https://gitlab.metager.de/open-source/MetaGer/-/blob/development/LICENSE", "sumalink" => "https://suma-ev.de"]) !!}</p>
</div>
<div class="card-heavy">
<h2>{{ trans('transparency.head.3') }}</h2>
......@@ -26,7 +26,7 @@
<p>{{ trans('transparency.text.4') }}</p>
</div>
<div class="card-heavy">
<p>{{ trans('transparency.text.5', ["contact" => LaravelLocalization::getLocalizedUrl(LaravelLocalization::getCurrentLocale(), route('contact'))]) }}</p>
<p>{!! trans('transparency.text.5', ["contact" => LaravelLocalization::getLocalizedUrl(LaravelLocalization::getCurrentLocale(), route('contact'))]) !!}</p>
</div>
</div>
@endsection
......@@ -61,7 +61,7 @@ Route::group(
->with('title', trans('titles.kontakt'))
->with('navbarFocus', 'kontakt')
->with('url', $url);
});
})->name("contact");
Route::post('kontakt', 'MailController@contactMail');
......@@ -107,11 +107,11 @@ Route::group(
->with('navbarFocus', 'datenschutz');
});
Route::get('transparency',function() {
Route::get('transparency', function () {
return view('transparency')
->with('title', trans('titles.transparency'))
->with('navbarFocus', 'kontakt');
});
});
Route::get('hilfe', function () {
return view('hilfe')
......
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