diff --git a/database/seeders/TenantSeeder.php b/database/seeders/TenantSeeder.php
index a0caf67..c25931e 100644
--- a/database/seeders/TenantSeeder.php
+++ b/database/seeders/TenantSeeder.php
@@ -85,5 +85,80 @@ class TenantSeeder extends Seeder
'header_logo' => $headerLogo,
'footer_logo' => $footerLogo,
]);
+
+ // Check if tenant 'fiesta_futbol_infantil' already exists
+ $existingFiesta = Tenant::query()->where('codigo', 'fiesta_futbol_infantil')->first();
+ if ($existingFiesta) {
+ $attachmentService = app(\App\Domains\Attachable\Services\AttachmentService::class);
+ if ($existingFiesta->headerLogo) {
+ try {
+ $attachmentService->delete($existingFiesta->headerLogo);
+ } catch (\Throwable $e) {}
+ }
+ if ($existingFiesta->footerLogo && $existingFiesta->footer_logo_id !== $existingFiesta->header_logo_id) {
+ try {
+ $attachmentService->delete($existingFiesta->footerLogo);
+ } catch (\Throwable $e) {}
+ }
+ $existingFiesta->delete();
+ }
+
+ $fiestaDomain = 'fiesta-futbol-infantil.localhost';
+ $existingFiestaDomain = Tenant::query()->where('dominio', $fiestaDomain)->first();
+ if ($existingFiestaDomain) {
+ $existingFiestaDomain->delete();
+ }
+
+ $fiestaHeaderImagePath = public_path('images/futbol_infantil_header.png');
+ $fiestaFooterImagePath = public_path('images/futbol_infantil_footer.png');
+
+ if (! file_exists($fiestaHeaderImagePath)) {
+ throw new \RuntimeException("Image not found at path: {$fiestaHeaderImagePath}");
+ }
+
+ if (! file_exists($fiestaFooterImagePath)) {
+ throw new \RuntimeException("Image not found at path: {$fiestaFooterImagePath}");
+ }
+
+ $fiestaHeaderLogo = new UploadedFile(
+ $fiestaHeaderImagePath,
+ 'futbol_infantil_header.png',
+ 'image/png',
+ null,
+ true
+ );
+
+ $fiestaFooterLogo = new UploadedFile(
+ $fiestaFooterImagePath,
+ 'futbol_infantil_footer.png',
+ 'image/png',
+ null,
+ true
+ );
+
+ $this->tenantService->create([
+ 'codigo' => 'fiesta_futbol_infantil',
+ 'nombre' => 'Fiesta Fútbol Infantil',
+ 'dominio' => $fiestaDomain,
+ 'primary_color' => '#00973F',
+ 'secondary_color' => '#A0A0A0',
+ 'danger_color' => '#FF8888',
+ 'success_color' => '#198754',
+ 'header_bg_color' => '#015327',
+ 'footer_bg_color' => '#015327',
+ 'header_logo' => $fiestaHeaderLogo,
+ 'footer_logo' => $fiestaFooterLogo,
+ 'hero_config' => [
+ 'title_html' => 'ASEGURÁ TU LUGAR',
+ 'description_html' => 'Comprá tu entrada oficial en segundos de forma 100% segura. Preparate para vivir la experiencia completa.',
+ 'button_text' => 'Quiero mi entrada',
+ 'button_href' => null,
+ ],
+ 'event_config' => [
+ 'title' => 'FIESTA NACIONAL DEL FÚTBOL INFANTIL',
+ 'location' => 'Sunchales, Santa Fe',
+ 'dates' => ['2026-10-09', '2026-10-10', '2026-10-11', '2026-10-12'],
+ ],
+ ]);
}
}
diff --git a/public/images/futbol_infantil_footer.png b/public/images/futbol_infantil_footer.png
new file mode 100644
index 0000000..a693529
Binary files /dev/null and b/public/images/futbol_infantil_footer.png differ
diff --git a/public/images/futbol_infantil_header.png b/public/images/futbol_infantil_header.png
new file mode 100644
index 0000000..3b8064d
Binary files /dev/null and b/public/images/futbol_infantil_header.png differ