- Implemented CartContext for managing cart state, including adding, removing, and updating items. - Added CartDrawer component to display cart items. - Updated AppHeader to include cart item count. - Enhanced welcome page with new layout, improved product image handling, and updated call-to-action buttons. - Refactored homepage data types to accommodate new features and removed unused properties.
20 lines
306 B
PHP
20 lines
306 B
PHP
<?php
|
|
|
|
namespace App\Settings;
|
|
|
|
use Spatie\LaravelSettings\Settings;
|
|
|
|
class HomepageSettings extends Settings
|
|
{
|
|
public ?string $hero_image_url;
|
|
|
|
public ?string $about_image_url;
|
|
|
|
public array $gallery_images;
|
|
|
|
public static function group(): string
|
|
{
|
|
return 'homepage';
|
|
}
|
|
}
|