feat: [google-cloud] Google Cloud 메뉴 섹션 추가

- Workspace 정책: 계정관리, 2단계인증, 감사로그, 데이터보존
- Workspace 요금: 4티어 비교, 기능비교, 예상비용, 인상히스토리
- Cloud API 요금: Gemini 모델 단가, 추가기능, Storage, 비용시뮬레이션
- 컨트롤러 3개 + 뷰 3개 + 라우트 그룹 추가
This commit is contained in:
김보곤
2026-03-02 14:07:17 +09:00
parent f051dadabb
commit c3284a6dca
7 changed files with 1066 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace App\Http\Controllers\GoogleCloud;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\View\View;
use Symfony\Component\HttpFoundation\BinaryFileResponse;
class WorkspacePricingController extends Controller
{
public function index(Request $request): View|Response
{
if ($request->header('HX-Request')) {
return response('', 200)->header('HX-Redirect', route('google-cloud.workspace-pricing.index'));
}
return view('google-cloud.workspace-pricing.index');
}
public function download(): BinaryFileResponse
{
$path = public_path('downloads/google-workspace-pricing.pptx');
abort_unless(file_exists($path), 404, 'PPTX 파일을 찾을 수 없습니다.');
return response()->download($path, 'Google_Workspace_요금정책.pptx');
}
}