|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| 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 () {
Route::view('/Service', 'home.service')->name('home.service');
Route::view('/Apply Drive', 'home.drive')->name('home.drive');
/////////////////////////////////////////////////////////////////
Route::post('messages', function() {
$data = request()->all();
Mail::send("mail.messages", $data, function($messages) use($data){
$messages->from($data['email'], $data['name'])
->to('admin@ezglobalcarriers.com', 'EZGlobal')
->to('rsamano@ezglobalcarriers.com')
->to('psamano@ezglobalcarriers.com')
->cc('themacmacka@gmail.com')