YOU EMPOWERMENT - PHASE 1 FRONTEND OVERLAY

This overlay is for the existing Laravel 13 project at C:\xampp\htdocs\empower.
It sets up a minimal React + TypeScript + Inertia + Tailwind 4 homepage.

1) In PowerShell, from the project folder, install dependencies:

composer require inertiajs/inertia-laravel
npm install react react-dom @inertiajs/react
npm install -D @vitejs/plugin-react typescript @types/react @types/react-dom @tailwindcss/vite tailwindcss

2) Generate the Inertia middleware:

php artisan inertia:middleware

The supplied app/Http/Middleware/HandleInertiaRequests.php can replace the generated file.

3) Extract this ZIP into the project root, merging folders and replacing the listed files.

4) In bootstrap/app.php, add the middleware to the web group:

use App\Http\Middleware\HandleInertiaRequests;
use Illuminate\Foundation\Configuration\Middleware;

->withMiddleware(function (Middleware $middleware): void {
    $middleware->web(append: [
        HandleInertiaRequests::class,
    ]);
})

If your file already has a withMiddleware callback, add only the $middleware->web(append: [...]) lines inside it. Do not create a second callback.

5) Run:

php artisan optimize:clear
npm run build
composer run dev

6) Open http://127.0.0.1:8000

Notes:
- This phase provides the visual homepage and working Laravel/Inertia rendering.
- Program figures are illustrative placeholders, not verified impact claims.
- Replace placeholder photography with images you own or have licensed.
- The program cards are starter content; database-backed program management comes next.
