News Seite angepasst
Some checks are pending
Deploy Volleyball Dev / deploy (push) Waiting to run

This commit is contained in:
Marc Wieland
2025-04-25 16:05:58 +02:00
parent c0382827ea
commit ff6c9dc91a
5 changed files with 1257 additions and 31 deletions

View File

@@ -184,7 +184,7 @@ const NewsManager = () => {
{uploading && <p className="text-sm text-gray-400">Bild wird hochgeladen...</p>}
{newImageUrl && (
<img
src={newImageUrl}
src={`${apiBase}${newImageUrl}`}
alt="Vorschau"
className="mt-2 max-h-40 rounded-md shadow-md"
/>
@@ -238,7 +238,7 @@ const NewsManager = () => {
<p className="text-gray-600 mb-2">{item.description}</p>
{item.image_url && (
<img
src={item.image_url}
src={`${apiBase}${item.image_url}`}
alt={item.title}
className="w-full rounded-md my-2 max-h-40 object-cover"
/>