Files
cv-roberto/resources/views/frontend/werkervaring.blade.php
2025-07-09 01:22:29 +02:00

26 lines
1.1 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@foreach ($experience as $item)
<hr role="presentation" class="w-full border-t border-zinc-950/10 dark:border-white/10 my-8">
<div class=" space-y-2">
<div class="flex items-center gap-4">
@if ($item->image())
<img src="{{ $item->imageUrl() }}" alt="{{ $item->title }}"
class="w-12 h-12 rounded-md shadow-md object-contain bg-white dark:bg-gray-700 p-1">
@endif
<h3 class="text-xl font-bold text-gray-900 dark:text-white">
{{ $item->functie }} <span class="text-gray-500 dark:text-gray-400 font-normal">bij
{{ $item->werkgever }}</span>
</h3>
</div>
<p class="text-sm text-gray-600 dark:text-gray-300 italic">
{{ \Carbon\Carbon::parse($item->startdatum)->translatedFormat('F Y') }}
{{ $item->einddatum ? \Carbon\Carbon::parse($item->einddatum)->translatedFormat('F Y') : 'heden' }}
</p>
<div class="text-gray-800 dark:text-gray-100 prose dark:prose-invert max-w-none">
{!! nl2br(e($item->beschrijving)) !!}
</div>
</div>
@endforeach