Made it so they can now make there own dynamic guide

This commit is contained in:
2020-08-04 13:21:23 +02:00
parent e8f6c2242a
commit c223cb967c
13 changed files with 383 additions and 0 deletions
@@ -0,0 +1,21 @@
@extends("app.layout.base")
@section("title")
Vejledninger
@endsection
@section("content")
<style>
h2, h3, h4 {
margin-top: 0;
}
</style>
<main>
<h1 class="text-center sde-blue mt-0">Vejledninger</h1>
@foreach($guides as $guide)
<h2 class="text-center sde-blue mt-0">{{ $guide->name }}</h2>
{!! $guide->guideArticles !!}
<hr class="w-100">
@endforeach
</main>
@endsection
@@ -47,6 +47,10 @@
<img src="{{URL::asset('/images/icons/user-hvid.svg')}}" alt="Konto">
Konto
</a>
<a href="{{ route("guides.index") }}">
<img src="{{URL::asset('/images/icons/user-hvid.svg')}}" alt="Guide">
Vejledning
</a>
<a href="{{ route('users.logout') }}">
<img src="{{URL::asset('/images/icons/Logout.svg')}}" alt="Logud">
Log Ud