<?php

use Illuminate\Support\Facades\Route;
use Modules\DigitalVocano\Http\Controllers\ProjectDisplayController;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/projects', [ProjectDisplayController::class, 'index'])->name('digitalvocano.projects.list');
Route::get('/projects/{slug}', [ProjectDisplayController::class, 'show'])->name('digitalvocano.projects.show');

// You can add more frontend routes for this module here, for example:
// Route::get('/documentation/{project_slug}/{page_slug?}', [DocumentationController::class, 'show'])->name('digitalvocano.documentation.show');
