2020-08-04 11:21:23 +00:00
|
|
|
@extends("app.layout.base")
|
|
|
|
|
|
|
|
@section("title")
|
|
|
|
Vejledninger
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section("content")
|
|
|
|
<style>
|
|
|
|
h2, h3, h4 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<main>
|
2020-08-06 18:33:46 +00:00
|
|
|
<h1 class="text-center sde-blue mt-0">{{__('msg.vejledning')}}</h1>
|
2020-08-05 07:23:57 +00:00
|
|
|
@if(!$guides->isEmpty())
|
|
|
|
@foreach($guides as $guide)
|
2020-08-07 10:48:08 +00:00
|
|
|
<div style="border: 4px solid rgba(0,0,0, 0.2); border-radius: 4px; padding: 4px; margin-top: 1.5rem">
|
2020-08-05 07:23:57 +00:00
|
|
|
<h2 class="text-center sde-blue mt-0">{{ $guide->name }}</h2>
|
2020-08-07 10:48:08 +00:00
|
|
|
{!! substr($guide->guide_articles,0 ,300)!!}
|
|
|
|
<a href="{{ route("guides.show", ["guide" => $guide]) }}" >Læse mere...</a>
|
|
|
|
</div>
|
2020-08-05 07:23:57 +00:00
|
|
|
@endforeach
|
|
|
|
@else
|
2020-08-06 18:33:46 +00:00
|
|
|
<p style="margin: 0 18px;">{{__('msg.dereringenvejledninger')}}.</p>
|
2020-08-05 05:51:30 +00:00
|
|
|
@endif
|
2020-08-04 11:21:23 +00:00
|
|
|
</main>
|
|
|
|
@endsection
|