完善功能
This commit is contained in:
@@ -27,9 +27,9 @@ class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
$this->registerFilamentLivewireResolver();
|
||||
|
||||
Paginator::defaultView('partials.pagination');
|
||||
Paginator::defaultView('frontend.partials.pagination');
|
||||
|
||||
View::composer('layouts.app', function ($view): void {
|
||||
View::composer('frontend.layouts.app', function ($view): void {
|
||||
$categories = Category::with([
|
||||
'children' => function ($query) {
|
||||
$query->withCount('products')
|
||||
@@ -44,7 +44,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
$view->with([
|
||||
'sidebarCategories' => $categories,
|
||||
'siteTitle' => SiteSetting::value('site_title', 'AI 工具导航'),
|
||||
'siteDescription' => SiteSetting::value('site_description', '精选 AI 工具与产品导航'),
|
||||
'siteDescription' => SiteSetting::value('site_description', '发现优质 AI 工具与产品'),
|
||||
'siteLogo' => SiteSetting::value('site_logo'),
|
||||
'siteFooter' => SiteSetting::value('site_footer'),
|
||||
'gaId' => SiteSetting::value('ga_id'),
|
||||
|
||||
Reference in New Issue
Block a user