Remove logo and shrink flyer further on Nablus workshop form
Logo image removed entirely from the registration page per Naser's request; flyer capped to max-h-40 (was max-h-64). Pure markup/styling change, no logic — 7/7 existing tests unchanged and passing. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
---
|
||||
id: 19
|
||||
title: 19 Nablus Workshop Form - Remove Logo, Shrink Flyer Further
|
||||
status: Done
|
||||
date: 2026-09-28
|
||||
parent: null
|
||||
---
|
||||
|
||||
## Description
|
||||
|
||||
Follow-up to task 18. Naser wants the logo removed entirely from the Nablus workshop registration
|
||||
page, and the flyer image made smaller still. Pure styling/markup change, no logic involved.
|
||||
|
||||
**File to modify:** `resources/views/livewire/pages/forms/nablus-workshop.blade.php`
|
||||
|
||||
Current markup (as of task 18):
|
||||
|
||||
```blade
|
||||
<img
|
||||
src="{{ asset('images/workshop-nablus-flyer.jpeg') }}"
|
||||
alt="ورشة متخصصة: القانون، التسويق الرقمي، وإدارة المتاجر الإلكترونية"
|
||||
class="max-h-64 w-auto mx-auto rounded-lg shadow-[0_2px_8px_rgba(0,0,0,0.1)]"
|
||||
/>
|
||||
|
||||
<div class="bg-white rounded-lg p-6" style="box-shadow: 0 2px 8px rgba(0,0,0,0.1)">
|
||||
<img src="{{ asset('images/logo.png') }}" alt="LIBRA for Rights" class="h-10 w-auto object-contain mb-4" />
|
||||
|
||||
<h1 class="text-2xl font-bold mb-2" style="color: #2D322A">تسجيل في ورشة عمل ريادايات نابلس</h1>
|
||||
```
|
||||
|
||||
1. **Delete the logo `<img>` tag entirely** — the line
|
||||
`<img src="{{ asset('images/logo.png') }}" alt="LIBRA for Rights" class="h-10 w-auto object-contain mb-4" />`
|
||||
is removed completely, nothing replaces it. The `<h1>` immediately after becomes the first
|
||||
element inside the white card div.
|
||||
2. **Shrink the flyer image further** — change its class from `max-h-64 w-auto mx-auto
|
||||
rounded-lg shadow-[0_2px_8px_rgba(0,0,0,0.1)]` to `max-h-40 w-auto mx-auto rounded-lg
|
||||
shadow-[0_2px_8px_rgba(0,0,0,0.1)]` (only the height cap changes, `max-h-64` → `max-h-40`;
|
||||
everything else in that class string stays the same).
|
||||
|
||||
No other part of the file changes — routing, validation, mail-sending, and all other markup are
|
||||
untouched.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [x] `resources/views/livewire/pages/forms/nablus-workshop.blade.php` contains no `<img>` tag
|
||||
referencing `images/logo.png` (verify: `rg "images/logo.png" resources/views/livewire/pages/forms/nablus-workshop.blade.php` returns no match)
|
||||
- [x] The flyer `<img>` tag's class attribute contains `max-h-40` and does not contain `max-h-64`
|
||||
- [x] Visiting `/forms/nablus-workshop` still returns HTTP 200
|
||||
- [x] The existing test suite for this page (`tests/Feature/Public/NablusWorkshopRegistrationTest.php`)
|
||||
still passes unchanged — this is a styling/markup-only change, it must not alter any of that
|
||||
test's assertions (none of that file's assertions reference the logo image, so removing it
|
||||
should not require any test changes; confirm this is true before treating a resulting
|
||||
failure as pre-existing/unrelated)
|
||||
|
||||
## Sub-tasks
|
||||
|
||||
None.
|
||||
@@ -2,6 +2,7 @@
|
||||
**Last synced:** 2026-09-27 — all rows marked Done at Naser's instruction (live in production ~1 year)
|
||||
**Last synced:** 2026-09-27 — added tasks 17, 17-1, 17-2 (Nablus workshop registration form, PRD v1.3)
|
||||
**Last synced:** 2026-09-27 — 17-2 QA passed (7/7 tests), parent 17 Done; full-suite regression gate: 1723 passed / 69 pre-existing unrelated failures
|
||||
**Last synced:** 2026-09-28 — 19 QA passed (logo removed, flyer max-h-40 confirmed, 7/7 tests), Done
|
||||
|
||||
| ID | Title | Status |
|
||||
|----|-------|--------|
|
||||
@@ -127,3 +128,4 @@
|
||||
| 17-1 | 17-1 Registration mailable and email template | Done |
|
||||
| 17-2 | 17-2 Standalone registration page, form, and submit wiring | Done |
|
||||
| 18 | 18 Nablus Workshop Form - Image Sizing Fix | Done |
|
||||
| 19 | 19 Nablus Workshop Form - Remove Logo, Shrink Flyer Further | Done |
|
||||
|
||||
Reference in New Issue
Block a user