Conflicts:
	skolehjem/resources/lang/dk/msg.php
	skolehjem/resources/lang/en/msg.php
This commit is contained in:
frederikpyt 2020-08-12 13:10:37 +02:00
commit e06504b5fb
6 changed files with 33 additions and 2 deletions

View File

@ -0,0 +1,14 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
class AboutController extends Controller
{
public function index(Request $request)
{
return Response::detect("about.index");
}
}

View File

@ -51,7 +51,8 @@ return[
"indstillinger" => "Indstillinger",
"ændrebillede" => "Skift billede",
"ændrer" => "Skift",
"profilbillede" => "Upload profil billede"
"profilbillede" => "Upload profil billede",
"omkring" => "Omkring",

View File

@ -60,5 +60,6 @@ return[
"indstillinger" => "Settings",
"ændrebillede" => "Change picture",
"ændrer" => "Change",
"profilbillede" => "Upload profile picture"
"profilbillede" => "Upload profile picture",
"Omkring" => "About",
];

View File

@ -0,0 +1,10 @@
@extends("app.layout.base")
@section("title")
Aktiviteter
@endsection
@section("content")
<main>
<h1 class="text-center sde-blue mb-0" style="margin-bottom: 2rem">{{ __('msg.omkring') }}</h1>
</main>
@endsection

View File

@ -71,6 +71,10 @@
<img src="{{URL::asset('/images/icons/settings-hvid.svg')}}" alt="Indstillinger">
{{ __('msg.indstillinger') }}
</a>
<a href="{{ route('about.index') }}">
<img src="{{URL::asset('/images/icons/Logout.svg')}}" alt="Omkring">
{{ __('msg.omkring') }}
</a>
<a href="{{ route('users.logout') }}">
<img src="{{URL::asset('/images/icons/Logout.svg')}}" alt="Logud">
{{ __('msg.logud') }}

View File

@ -33,6 +33,7 @@ Route::get("/washing-reservationsapi", "WashingReservationController@api")->name
Route::get("/app/washing-reservations", "WashingReservationController@appindex")->name("washing-reservations.appindex");
Route::get("/settings", "SettingsController@index")->name("settings.index");
Route::post("/events/signup", "UserEventController@createajax")->name("userevents.createajax");
Route::get("/about", "AboutController@index")->name("about.index");
//Search/Filter