<?php

use Illuminate\Support\Facades\Route;

Route::get('/', function () {
    return view('welcome');
});

Route::middleware([
    'auth:sanctum',
    config('jetstream.auth_session'),
    'verified',
])->group(function () {
    Route::get('/dashboard', function () { return view('dashboard'); })->name('dashboard');
    Route::view('/weekly-tasks', 'weekly-tasks')->name('weekly-tasks');
    Route::view('/projects', 'projects')->name('projects');
    Route::view('/projects/{project_id}', 'project-details')->name('project-details');

});

