<?php

namespace App\Http\Controllers;

use Illuminate\Support\Facades\App;
use Inertia\Inertia;

class FrontHomeController extends Controller
{
    public function index()
    {
        if (App::environment('production') && env('COMING_SOON_ENABLED', true)) {
            return Inertia::render('comingsoon');
        }

        return Inertia::render('home/home');
    }
}
