feat(seeder): update image paths in ProductCatalogFromImagesSeeder and TenantSeeder, add new catalog images
This commit is contained in:
@@ -80,7 +80,7 @@ class ProductCatalogFromImagesSeeder extends Seeder
|
||||
throw new RuntimeException("Tenant 'sonder' not found.");
|
||||
}
|
||||
|
||||
$catalogPath = storage_path('public/catalog');
|
||||
$catalogPath = public_path('images/catalog');
|
||||
|
||||
if (! is_dir($catalogPath)) {
|
||||
throw new RuntimeException("Catalog directory not found at path: {$catalogPath}");
|
||||
|
||||
@@ -56,34 +56,34 @@ class TenantSeeder extends Seeder
|
||||
'success_color' => '#198754',
|
||||
'header_bg_color' => '#ffffff',
|
||||
'footer_bg_color' => '#313131',
|
||||
'header_logo' => $this->uploadedImage('images/sonder_header.png', 'sonder_header.png'),
|
||||
'footer_logo' => $this->uploadedImage('images/sonder_footer.png', 'sonder_footer.png'),
|
||||
'header_logo' => $this->uploadedImage('images/tennants/sonder/sonder_header.png', 'sonder_header.png'),
|
||||
'footer_logo' => $this->uploadedImage('images/tennants/sonder/sonder_footer.png', 'sonder_footer.png'),
|
||||
'social_media' => self::SOCIAL_MEDIA,
|
||||
'website_type_code' => 'shopit',
|
||||
'extras' => [
|
||||
'carousel' => [
|
||||
$this->uploadedImage(
|
||||
'images/sonder-main-carousel/01-urban-team.png',
|
||||
'images/tennants/sonder/sonder-main-carousel/01-urban-team.png',
|
||||
'01-urban-team.png',
|
||||
),
|
||||
$this->uploadedImage(
|
||||
'images/sonder-main-carousel/02-running-shoes.png',
|
||||
'images/tennants/sonder/sonder-main-carousel/02-running-shoes.png',
|
||||
'02-running-shoes.png',
|
||||
),
|
||||
$this->uploadedImage(
|
||||
'images/sonder-main-carousel/03-streetwear.png',
|
||||
'images/tennants/sonder/sonder-main-carousel/03-streetwear.png',
|
||||
'03-streetwear.png',
|
||||
),
|
||||
$this->uploadedImage(
|
||||
'images/sonder-main-carousel/04-football-training.png',
|
||||
'images/tennants/sonder/sonder-main-carousel/04-football-training.png',
|
||||
'04-football-training.png',
|
||||
),
|
||||
$this->uploadedImage(
|
||||
'images/sonder-main-carousel/05-activewear-essentials.png',
|
||||
'images/tennants/sonder/sonder-main-carousel/05-activewear-essentials.png',
|
||||
'05-activewear-essentials.png',
|
||||
),
|
||||
$this->uploadedImage(
|
||||
'images/sonder-main-carousel/06-city-runners.png',
|
||||
'images/tennants/sonder/sonder-main-carousel/06-city-runners.png',
|
||||
'06-city-runners.png',
|
||||
),
|
||||
],
|
||||
@@ -108,11 +108,11 @@ class TenantSeeder extends Seeder
|
||||
'header_bg_color' => '#ffffff',
|
||||
'footer_bg_color' => '#015327',
|
||||
'header_logo' => $this->uploadedImage(
|
||||
'images/futbol_infantil_header.png',
|
||||
'images/tennants/fiesta_futbol_infantil/futbol_infantil_header.png',
|
||||
'futbol_infantil_header.png',
|
||||
),
|
||||
'footer_logo' => $this->uploadedImage(
|
||||
'images/futbol_infantil_footer.png',
|
||||
'images/tennants/fiesta_futbol_infantil/futbol_infantil_footer.png',
|
||||
'futbol_infantil_footer.png',
|
||||
),
|
||||
'social_media' => self::SOCIAL_MEDIA,
|
||||
@@ -124,7 +124,7 @@ class TenantSeeder extends Seeder
|
||||
'button_text' => 'Comprar entradas',
|
||||
'button_href' => '/tickets',
|
||||
'background_image_id' => $this->uploadedImage(
|
||||
'images/futbol_infantil_hero.jpg',
|
||||
'images/tennants/fiesta_futbol_infantil/futbol_infantil_hero.jpg',
|
||||
'futbol_infantil_hero.jpg',
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user