firstcommit
This commit is contained in:
35
routes/frontend/web.php
Normal file
35
routes/frontend/web.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use App\Http\Controllers\HomeController;
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Frontend Web Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
*/
|
||||
|
||||
/**************************** Routes For HomePage **********************************/
|
||||
Route::controller(HomeController::class)
|
||||
->group(function () {
|
||||
Route::get('/', 'home')->name('home');
|
||||
Route::get('/hair', 'hairTransplant')->name('hair_transplant');
|
||||
Route::get('/hair/{slug}', 'hairTransplantChild')->name('hair_transplant.child');
|
||||
Route::get('/services/{slug}', 'service')->name('service');
|
||||
Route::get('/doctor-provider', 'doctorProvider')->name('doctor_provider');
|
||||
Route::post('/doctor-provider/appointment', 'appointment')->name('appointment');
|
||||
|
||||
Route::get('/blogs', 'blogs')->name('blogs');
|
||||
Route::get('/blogs/{slug}', 'singleBlog')->name('single_blog');
|
||||
Route::get('/about-us', 'aboutUs')->name('about_us');
|
||||
Route::get('/contact-us', 'contactUs')->name('contact_us');
|
||||
Route::get('/faqs', 'faqs')->name('faqs');
|
||||
Route::get('/privacy-policy', 'privacyPolicy')->name('privacyPolicy');
|
||||
Route::get('/terms-of-service', 'termsOfService')->name('termsOfService');
|
||||
|
||||
Route::post('/subscribe', 'storeSubscription')->name('subscribe');
|
||||
Route::post('/contact-us', 'storeContactUs')->name('contactUsMessage');
|
||||
Route::post('/consultation', 'storeConsultation')->name('consultat_with_us');
|
||||
|
||||
Route::get('/page/{slug}', 'extraPage')->name('extra_page');
|
||||
});
|
Reference in New Issue
Block a user