# MGG Website Sitemap

This sitemap reflects the implemented Laravel routes and portal screens for the M Ghaffar Graphics Agency Management System.

## Public Website

| Page | URL | Main Content |
| --- | --- | --- |
| Home | `/` | Announcement bar, navbar, dashboard hero, trusted brands, services, workflow, portfolio, portal previews, pricing, testimonials, FAQ, CTA, footer |
| About Us | `/about-us` | Story, mission and vision, team, values |
| Services | `/services` | Graphic design, social media marketing, Meta ads, website development, video editing, branding |
| Portfolio | `/portfolio` | Published portfolio projects by category |
| Pricing / Plans | `/pricing-plans` | Monthly and custom plans, work limits, plan features |
| Contact Us | `/contact-us` | Contact form and office details |
| Login | `/login` | Admin, client, and designer sign-in |

## Public Form Actions

| Action | URL | Purpose |
| --- | --- | --- |
| Send Contact Message | `POST /contact-us` | Stores a website support/contact message |
| Login | `POST /login` | Authenticates a user and sends them to their role dashboard |
| Logout | `POST /logout` | Ends an authenticated session |

## Admin Portal

Base path: `/admin`

| Area | URL | Features |
| --- | --- | --- |
| Dashboard | `/admin/dashboard` | Client count, active plans, requests, payments, remaining tasks, today work |
| Plus Tracker | `/admin/plus-tracker` | Remaining tasks, requests, monthly work, due work, overdue work, plan usage, designer load |
| Client Management | `/admin/clients` | Add, edit, list, delete clients |
| Designer Management | `/admin/designers` | Add, edit, list, delete designers |
| Service Management | `/admin/services` | Add, edit, list, delete services |
| Plan Management | `/admin/plans` | Add, edit, list, delete plans and plan features |
| Task Management | `/admin/tasks` | Turn client requests into linked tasks, assign designers, manage deadlines, status, notes, and brief files |
| Client Requests | `/admin/requests` | Review and manage submitted requests |
| Payment Management | `/admin/payments` | Review manual payments, transaction IDs, screenshot proof, status, and admin notes |
| Payment Methods | `/admin/payment-methods` | JazzCash, EasyPaisa, Meezan Bank, Bank Transfer, and other methods |
| Portfolio Management | `/admin/portfolio` | Add and manage projects and images |
| Reports | `/admin/reports` | Revenue, request status, task status, designer performance |
| Sidebar Pulse Badges | Admin sidebar | Live counts for open tasks, client requests, pending payments, and unread notifications |
| Notifications | `/admin/notifications` | Admin notices for payment, request, task, and delivery status |
| Settings | `/admin/settings` | Brand, phone, email, address, office hours, demo login toggle |
| Theme Settings | `/admin/settings/theme` | Theme preset and card gradient finish |
| Font Settings | `/admin/settings/fonts` | Global font selection |
| Settings Sections | `/admin/settings/{section}` | Profile, website, brand, payment, user roles, notifications, security, system |

Admin CRUD modules support create, edit, update, and delete routes under their module URL.

## Client Portal

Base path: `/client`

| Area | URL | Features |
| --- | --- | --- |
| Dashboard | `/client/dashboard` | Current plan, work limit, completed work, remaining work, request/payment status |
| My Plan | `/client/my-plan` | Current plan and available plans |
| My Requests | `/client/requests` | Submit request details, deadlines, and files |
| My Work / Designs | `/client/work` | Track assigned and completed work |
| Downloads | `/client/downloads` | Download task submission files |
| Payments | `/client/payments` | Upload manual payment proof and track approval status |
| Messages / Support | `/client/messages` | Send support messages to admin |
| Profile Settings | `/client/profile` | Update name, phone, and password |
| Change Password | `/client/change-password` | Password form from profile settings |

## Designer Portal

Base path: `/designer`

| Area | URL | Features |
| --- | --- | --- |
| Dashboard | `/designer/dashboard` | Assigned, pending, today, revision, and completed task counts |
| My Tasks | `/designer/tasks` | Open assigned task list |
| Task Detail | `/designer/tasks/{task}` | View details and upload submitted work |
| Upload Work | `/designer/upload-work` | Open assigned tasks ready for submission |
| Submitted Work | `/designer/submitted-work` | Review submitted task list |
| Revision Tasks | `/designer/revision-tasks` | Filter tasks needing revision |
| Completed Tasks | `/designer/completed-tasks` | Filter completed/delivered work |
| Messages | `/designer/messages` | Send messages to admin |
| Profile Settings | `/designer/profile` | Update name, phone, and password |
| Change Password | `/designer/change-password` | Password form from profile settings |

## Main User Flow

1. Visitor opens the public website.
2. Visitor reviews services, portfolio, and pricing.
3. Client logs in and submits a request or manual payment proof.
4. Admin approves and assigns work to a designer.
5. Designer uploads submitted work.
6. Client downloads delivered files and tracks status in the portal.

## Preview Test Map

Run:

```powershell
php artisan test
```

Current feature tests cover:

- Public sitemap pages and login page return success.
- Guests are redirected away from protected dashboards.
- Admin can open the admin dashboard.
- Client can open the client dashboard.
- Designer can open the designer dashboard.
