Files
Naser Mansour 4258b5d2e7 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>
2026-09-28 00:03:43 +03:00

2.7 KiB

id, title, status, date, parent
id title status date parent
19 19 Nablus Workshop Form - Remove Logo, Shrink Flyer Further Done 2026-09-28 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):

    <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

  • 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)
  • The flyer <img> tag's class attribute contains max-h-40 and does not contain max-h-64
  • Visiting /forms/nablus-workshop still returns HTTP 200
  • 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.