- Updated GeneralSettings page to include localized labels and structured sections for better organization. - Enhanced CarouselSlide, Category, Collection, and Product resources with localized model labels and improved form/table configurations. - Modified HomeController to utilize query builder for better performance and added collection items retrieval. - Updated views to reflect localized settings and improved layout for collections and footer. - Adjusted timezone and locale settings in app configuration for better regional support.
27 lines
590 B
PHP
27 lines
590 B
PHP
<?php
|
|
|
|
namespace App\Settings;
|
|
|
|
use Spatie\LaravelSettings\Settings;
|
|
|
|
class GeneralSettings extends Settings
|
|
{
|
|
public string $site_title;
|
|
public string $marquee_text;
|
|
public string $about_label;
|
|
public string $about_title;
|
|
public string $about_text;
|
|
public string $about_image;
|
|
public string $find_us_label;
|
|
public string $instagram_url;
|
|
public string $tiktok_url;
|
|
public string $footer_address;
|
|
public string $footer_phone;
|
|
public string $footer_copyright;
|
|
|
|
public static function group(): string
|
|
{
|
|
return 'general';
|
|
}
|
|
}
|