Merge pull request #3 from 10h30/part-7-thumbnail-intervention

Part 7 thumbnail intervention
This commit is contained in:
Thuan Bui
2025-05-11 18:41:11 +09:00
committed by GitHub
+8 -4
View File
@@ -9,10 +9,14 @@
</head>
<body class="bg-gray-100 font-sans antialiased">
@if ($errors->has("file"))
<div
class="container mx-auto mt-10 p-6 bg-red-100 border border-red-400 text-red-700 rounded-lg shadow-md max-w-md">
{{ $errors->first("file") }}</div>
@if ($errors->any())
<div class="container mx-auto mt-10 p-6 bg-red-100 border border-red-400 text-red-700 rounded-lg shadow-md max-w-md">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<div class="container mx-auto mt-10 p-6 bg-white rounded-lg shadow-md max-w-md">
<h1 class="text-2xl font-bold mb-6 text-center text-gray-700">Upload File</h1>