V2, better design, more functionalities.

This commit is contained in:
Roberto Guagliardo
2025-07-09 01:22:29 +02:00
parent b324c030f4
commit 2c5d7102ab
87 changed files with 2273 additions and 178 deletions

View File

@@ -11,12 +11,12 @@
<p class="text-sm text-gray-500 dark:text-gray-400">{{ $education->startdatum }} {{ $education->einddatum ?? 'heden' }}</p>
<p class="mt-2 text-gray-700 dark:text-gray-300">{{ $education->beschrijving }}</p>
@if ($education->getFirstMediaUrl('afbeelding'))
<img src="{{ $education->getFirstMediaUrl('afbeelding') }}" class="mt-4 w-32 h-auto rounded" />
@if ($education->image())
<img src="{{ $education->imageUrl() }}" class="mt-4 w-32 h-auto rounded" />
@endif
<div class="mt-4 space-x-2">
<a href="{{ route('educations.edit', $education) }}" class="px-3 py-1 bg-blue-500 text-white rounded hover:bg-blue-600">Bewerk</a>
<a href="{{ route('educations.edit', $education) }}" class="px-3 py-1 bg-green-400 text-white rounded hover:bg-blue-600">Bewerk</a>
<form action="{{ route('educations.destroy', $education) }}" method="POST" class="inline-block" onsubmit="return confirm('Weet je zeker dat je dit wilt verwijderen?')">
@csrf