# Piramal Seva Setu - Feedback V2 Implementation

Implemented from the client feedback dated 8 Oct:

- Homepage first section replaced by an image carousel/scroller.
- Admin > Homepage Media can upload, hide and delete homepage banners.
- Leadership photographs can be replaced by file upload from Homepage Media.
- Event/gallery photographs can be uploaded directly from Homepage Media and feed the From the Field carousel.
- Leadership photographs now use a contain/centre treatment so the subject is not cropped.
- Manage Activities now accepts file uploads (up to four images) instead of requiring image URLs.
- Activity has a **T-shirt will be provided** switch. The nomination form asks T-shirt size only when enabled.
- Activity has a Google Maps directions URL. Venue + Get Directions are shown on activity discovery cards, dashboard recommendations, My Seva and the detail page.
- Demo activities include sample map links and one T-shirt-enabled activity for easy testing.

## Deployment

This release includes migration `f2b8c6d3a921_feedback_v2_media_activity_fields.py`.

Run:

```bash
source venv/bin/activate
python -m pip install -r requirements.txt
python -m flask db upgrade
python scripts/seed.py
touch tmp/restart.txt
```

Do not replace the live `.env` or `venv/` when deploying the package.

Uploaded images are written under `app/static/uploads/` at runtime. Ensure the web-server user has write permission to `app/static` (or pre-create `app/static/uploads` with suitable permissions).
