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::get('/thankyou',function(){ return view('thankyou'); }); 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'); });