28 lines
1.2 KiB
PHP
28 lines
1.2 KiB
PHP
@extends("app.layout.base")
|
|
@section("title")
|
|
Kontakt
|
|
@endsection
|
|
|
|
@section("content")
|
|
<main>
|
|
<h1 class="text-center sde-blue mt-0 mb-0">Kontakt</h1>
|
|
@if(!$contacts->isEmpty())
|
|
@foreach($contacts as $contact)
|
|
<h4 class="mt-2">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
|
|
<span class="text-center sde-black-20 mt-1">Send feedback omkring hvem el. hvad som helst</span>
|
|
<a class="btn text-center btn-sde-blue mt-1" href="{{ route('feedbacks.create') }}">Giv Feedback</a>
|
|
</main>
|
|
@endsection
|