use App\Models\Appointment;
use App\Models\Information;
use App\Models\Testimonial;
use Illuminate\Http\Request;
use App\Models\ValuesServices;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log;
use App\Http\Controllers\Controller;
use App\Http\Requests\Admin\Appointment\StoreAppointmentRequest;
use App\Http\Requests\Front\Appointment\StoreRequestAppointment;
class HomeController extends Controller
{
public function index()
{
$about = About::first();
$valuesServices = ValuesServices::with('data')->get();
$vision = Vision::first();
$testimonial = Testimonial::first();
$informations = Information::get();
$setting = Setting::with('data')->first();
$languags = Language::get();
$lang_id = Lang::getSelectedLangId();
return view('layouts.Frontend.index', compact('about', 'languags', 'lang_id','valuesServices','vision','testimonial','informations','setting'));
}
public function appointement()
{
$languags = Language::get();
$lang_id = Lang::getSelectedLangId();