Add (routes): All routes possible

Add (pages): home country page
This commit is contained in:
2023-07-26 03:10:36 +08:00
parent 728fc09474
commit 36efe23dcc
24 changed files with 4125 additions and 51 deletions

View File

@@ -0,0 +1,46 @@
<?php
namespace App\Providers;
use App\View\Composers\CategoryComposer;
use App\View\Composers\CountryLocaleComposer;
use Illuminate\Support\Facades\View;
use Illuminate\Support\ServiceProvider;
class ViewServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
// Using class based composers...
View::composer('layouts.front.navigation', CategoryComposer::class);
View::composer('layouts.front.navigation', CountryLocaleComposer::class);
View::composer('layouts.front.footer', CategoryComposer::class);
View::composer('layouts.front.footer', CountryLocaleComposer::class);
if (auth()->check())
{
}
}
}