Fixed - Guides

Added - contacts visual (controller coming soon)
This commit is contained in:
Anders
2020-08-05 09:23:57 +02:00
parent b4634d4933
commit a78e7d90f6
9 changed files with 83 additions and 12 deletions
@@ -5,6 +5,22 @@
@section("content")
<main>
<h1 class="text-center sde-blue mt-0">Kontakt</h1>
@if(!$contacts->isEmpty())
@foreach($contacts as $contact)
<h4 class="mt-0">Navn: {{ $contact->contactname }}</h4>
<h4 class="mt-0">Email: {{ $contact->email }}</h4>
<h4 class="mt-0">{{ $contact->title }}</h4>
@if($contact->phonetimes)
<h4 class="mt-0 mb-0">Telefontid:</h4>
{!! $contact->phonetimes !!}
@endif
<span class="text-center sde-black-20 mt-1">+45 {{ chunk_split($contact->phone, 2, ' ') }}</span>
<a class="btn text-center btn-sde-blue mt-1" href="tel:+45{{ $contact->phone }}">Ring</a>
@endforeach
@else
<p class="text-center">Der er ingen kontakter!</p>
@endif
<h1 class="text-center sde-blue mt-0">Kontakt</h1>
<h4 class="mt-0">Navn: Claus Trasbo</h4>
<h4 class="mt-0">Email: ctr@sde.dk</h4>