<?php

namespace App\Http\Controllers\System;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\View\View;

class SystemGuideController extends Controller
{
    public function gitDeployFlow(Request $request): View|Response
    {
        if ($request->header('HX-Request')) {
            return response('', 200)->header('HX-Redirect', route('system.guide.git-deploy-flow'));
        }

        return view('system.git-deploy-flow');
    }
}
