2020-08-06 12:30:18 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>@yield("title")</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link type="text/css" rel="stylesheet" href="{{ mix("/css/webapp.css") }}">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header class="row align-items-center" id="header">
|
|
|
|
<img class="w-50" id="sdeLogo" src="{{URL::asset('/images/logos/Logo-normal.svg')}}" onclick="location.href = '{{ route("root.index") }}';" alt="Syddansk Erhvervsskole">
|
|
|
|
<button class="ml-auto" id="toggle">
|
|
|
|
<i id="icon" class="fas fa-bars"></i>
|
|
|
|
</button>
|
|
|
|
</header>
|
|
|
|
<div class="d-none bg-sde-blue col" id="menu">
|
|
|
|
<a href="{{ route("root.index") }}">
|
|
|
|
<img src="{{URL::asset('/images/icons/Home.svg')}}" alt="Home">
|
|
|
|
Home
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<a href="{{ route("menu-plans.index") }}">
|
|
|
|
<img src="{{URL::asset('/images/icons/Menuplan.svg')}}" alt="Menuplan">
|
|
|
|
Menuplan
|
|
|
|
</a>
|
|
|
|
<a href="{{ route("events.index") }}">
|
|
|
|
<img src="{{URL::asset('/images/icons/Aktiviteter.svg')}}" alt="Aktiviteter">
|
|
|
|
Aktiviteter
|
|
|
|
</a>
|
|
|
|
<a href="{{ route("washing-reservations.appindex") }}">
|
|
|
|
<img src="{{URL::asset('/images/icons/Vaske booking liste.svg')}}" alt="Reservationer">
|
|
|
|
Reservationer
|
|
|
|
</a>
|
|
|
|
{{-- MÅ IKKE SLETTES!!!! --}}
|
|
|
|
{{-- <a href="# ">--}}
|
|
|
|
{{-- <img src="{{URL::asset('/images/icons/Galleri.svg')}}" alt="Galleri">--}}
|
|
|
|
{{-- Galleri--}}
|
|
|
|
{{-- </a>--}}
|
|
|
|
<a href="{{ route("contacts.index") }}">
|
|
|
|
<img src="{{URL::asset('/images/icons/Kontoret.svg')}}" alt="Kontoret">
|
|
|
|
Kontoret
|
|
|
|
</a>
|
|
|
|
<a href="{{ route("phones.index") }}">
|
|
|
|
<img src="{{URL::asset('/images/icons/Vagttelefon-hvid.svg')}}" alt="Vagttelefon">
|
|
|
|
Vagttelefon
|
|
|
|
</a>
|
|
|
|
<a href="{{ route("guides.index") }}">
|
|
|
|
<img src="{{URL::asset('/images/icons/Vejledninger.svg')}}" alt="Guide">
|
|
|
|
Vejledninger
|
|
|
|
</a>
|
|
|
|
<a href="{{ route("users.account") }}">
|
|
|
|
<img src="{{URL::asset('/images/icons/user-hvid.svg')}}" alt="Konto">
|
|
|
|
Konto
|
|
|
|
</a>
|
|
|
|
<a href="{{ route('users.logout') }}">
|
|
|
|
<img src="{{URL::asset('/images/icons/Logout.svg')}}" alt="Logud">
|
|
|
|
Log Ud
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<main>
|
|
|
|
@foreach(\App\News::query()->orderBy("created_at", "desc")->get() as $new)
|
2020-08-07 08:58:50 +00:00
|
|
|
<div style="border: 4px solid rgba(0,0,0, 0.2); border-radius: 4px; padding: 4px; margin-top: 1.5rem">
|
|
|
|
<h2 class="sde-blue mt-0 mb-0 text-center" style="margin-bottom: 8px; ">{{ $new->name }}</h2>
|
2020-08-07 07:47:23 +00:00
|
|
|
{!! $new->content !!}
|
|
|
|
</div>
|
2020-08-06 12:30:18 +00:00
|
|
|
@endforeach
|
2020-08-07 08:25:46 +00:00
|
|
|
@if(count(\App\News::query()->orderBy("created_at", "desc")->get()) == 0)
|
|
|
|
<p class="text-center">Der er ingen nyheder.</p>
|
|
|
|
@endif
|
2020-08-06 12:30:18 +00:00
|
|
|
</main>
|
|
|
|
<script src="{{ mix("/js/app.js") }}"></script>
|
|
|
|
@yield("scripts")
|
|
|
|
</body>
|
|
|
|
</html>
|