# MarkRise Laravel Frontend

This folder is a Laravel Blade conversion of the original React/Vite frontend.

## Run Locally

```bash
cd markrise-laravel
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate --seed
php artisan storage:link
php artisan serve
```

Open `http://127.0.0.1:8000/en` for English or `http://127.0.0.1:8000/ar` for Arabic.

Open the CMS at `http://127.0.0.1:8000/admin`.

Seeded admin login:

```text
Email: admin@themarkrise.com
Password: password
```

Change that password immediately after first login.

## What Was Converted

- React Router pages are now Laravel routes in `routes/web.php`.
- React components are now Blade views in `resources/views`.
- The English and Arabic copy from `LanguageContext.tsx` is now in `lang/en/markrise.php` and `lang/ar/markrise.php`.
- Local image imports were copied to `public/assets`.
- React state and motion effects were replaced with lightweight CSS and vanilla JavaScript in `public/css/app.css` and `public/js/app.js`.

## CMS

Filament manages:

- Page copy in both English and Arabic.
- Services, projects, clients, stats, values, and team members.
- Contact form submissions from the public site.

The frontend falls back to the original static content if the database has not been migrated or seeded yet.
