Refactor event details to use reusable InfoCard component

Replaced repetitive JSX for event details (date/time, location) with the reusable `InfoCard` component. This reduces code duplication, improves readability, and centralizes styling logic. Added support for image positioning and optional button props in `InfoCard`.
This commit is contained in:
2025-03-14 11:46:06 +01:00
parent 991fd0356a
commit 5ca138928a
2 changed files with 33 additions and 111 deletions

View File

@@ -6,6 +6,7 @@ REGISTRY := gitea.pragmazest.com/cardosofelipe/eventspace
dev:
docker compose -f docker-compose.dev.yml up --build -d
docker compose logs -f
prod:
docker compose up --build -d