36 lines
727 B
PHP
36 lines
727 B
PHP
<?php
|
|
|
|
namespace App\Controllers;
|
|
|
|
class Home extends BaseController
|
|
{
|
|
public function index(): string
|
|
{
|
|
return view('Home');
|
|
}
|
|
public function about(): string
|
|
{
|
|
return view('About');
|
|
}
|
|
|
|
public function services(): string
|
|
{
|
|
return view('Services');
|
|
}
|
|
|
|
public function contact(): string
|
|
{
|
|
/*
|
|
$cc['name'] = $request->input('nameInput'); // Input::get('nameInput');
|
|
$cc['email'] = $request->input('emailInput');
|
|
$cc['message'] = $request->input('messageInput');
|
|
|
|
if ( $cc['email'] !='' && filter_var($cc['email'], FILTER_VALIDATE_EMAIL) ){
|
|
$this->sendMail($cc);
|
|
}
|
|
*/
|
|
|
|
return view('Contact');
|
|
}
|
|
}
|