V2, better design, more functionalities.
This commit is contained in:
@@ -1,8 +1,16 @@
|
||||
@foreach ($experience as $item)
|
||||
<div class="bg-white dark:bg-gray-800 p-6 rounded-xl shadow space-y-2">
|
||||
<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>
|
||||
<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') }}
|
||||
|
||||
Reference in New Issue
Block a user