| Path : /var/www/html/phkaymedia/routes/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : //var/www/html/phkaymedia/routes/web.php |
<?php
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\HomeController;
use App\Http\Livewire\Frontend\AboutPage;
use App\Http\Livewire\Frontend\HomePage;
use App\Http\Livewire\Frontend\CareerPage;
use App\Http\Livewire\Frontend\ContactUsPage;
use App\Http\Livewire\Frontend\Services\CreativeDesignPage;
use App\Http\Livewire\Frontend\Services\DecorPrintingPage;
use App\Http\Livewire\Frontend\Services\DigitalMarketingPage;
use App\Http\Livewire\Frontend\Services\LivestreamStudioPage;
use App\Http\Livewire\Frontend\Services\MobileWebPage;
use App\Http\Livewire\Frontend\Services\PhotoVideographyPage;
use App\Http\Livewire\Frontend\Services\TvcFilmPage;
use App\Http\Livewire\Frontend\Services\Vfx2d3dPage;
use App\Http\Livewire\Frontend\TermsCondition;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::get('/',function(){
return redirect(app()->getLocale());
});
Route::group([
'prefix' => '{locale?}',
'where' => ['locale' => '[a-zA-Z]{2}'],
'middleware' => 'setlocale'
], function() {
Route::get('/',HomePage::class)->name('home');
Route::get('/career',CareerPage::class)->name('career');
Route::get('/about', AboutPage::class)->name('about');
Route::get('/terms-and-condition', TermsCondition::class)->name('terms-condition');
Route::get('/contact-us', ContactUsPage::class)->name('contact');
Route::group(['prefix' => 'services'], function() {
Route::get('digital-marketing',DigitalMarketingPage::class)->name('digital');
Route::get('creative-design', CreativeDesignPage::class)->name('creative');
Route::get('photo-video-graphy', PhotoVideographyPage::class)->name('photo');
Route::get('2d-3d-vfx', Vfx2d3dPage::class)->name('2d3dvfx');
Route::get('tvc-film', TvcFilmPage::class)->name('tvc-film');
Route::get('livestream-studio',LivestreamStudioPage::class)->name('livestream');
Route::get('decor-printing',DecorPrintingPage::class)->name('decor');
Route::get('mobile-web-development', MobileWebPage::class)->name('mobile');
});
Auth::routes([
'register' => false,
'verify' => false,
'reset' => false,
'confirm' => false
]);
Route::get('/home', [HomeController::class, 'index'])->name('home1');
});