diff --git a/app/Http/Controllers/ClaudeCode/UsagePlanController.php b/app/Http/Controllers/ClaudeCode/UsagePlanController.php index ffe23c25..1919fd8d 100644 --- a/app/Http/Controllers/ClaudeCode/UsagePlanController.php +++ b/app/Http/Controllers/ClaudeCode/UsagePlanController.php @@ -6,6 +6,7 @@ use Illuminate\Http\Request; use Illuminate\Http\Response; use Illuminate\View\View; +use Symfony\Component\HttpFoundation\BinaryFileResponse; class UsagePlanController extends Controller { @@ -17,4 +18,12 @@ public function index(Request $request): View|Response return view('claude-code.usage-plan.index'); } + + public function download(): BinaryFileResponse + { + $path = public_path('downloads/sam-usage-plan.pptx'); + abort_unless(file_exists($path), 404, 'PPTX 파일을 찾을 수 없습니다.'); + + return response()->download($path, 'SAM_활용방안.pptx'); + } } diff --git a/public/downloads/sam-usage-plan.pptx b/public/downloads/sam-usage-plan.pptx new file mode 100644 index 00000000..ed996ef5 Binary files /dev/null and b/public/downloads/sam-usage-plan.pptx differ diff --git a/resources/views/claude-code/usage-plan/index.blade.php b/resources/views/claude-code/usage-plan/index.blade.php index 497d86e6..65487ec2 100644 --- a/resources/views/claude-code/usage-plan/index.blade.php +++ b/resources/views/claude-code/usage-plan/index.blade.php @@ -40,8 +40,14 @@

SAM 활용방안

AI 자동화로 중소 제조업을 혁신하다 | (주)코드브릿지엑스의 비전

-
+
CodeBridgeX | 2026.03 + + + PPTX +
diff --git a/routes/web.php b/routes/web.php index 9118d000..b90f0575 100644 --- a/routes/web.php +++ b/routes/web.php @@ -733,6 +733,7 @@ Route::get('/cowork', [ClaudeCodeCoworkController::class, 'index'])->name('cowork.index'); Route::get('/usage-plan', [ClaudeCodeUsagePlanController::class, 'index'])->name('usage-plan.index'); + Route::get('/usage-plan/download', [ClaudeCodeUsagePlanController::class, 'download'])->name('usage-plan.download'); }); /*