fix(locations): use overlay div for wave pattern (opacity 0.18) like DinoTickets
Some checks are pending
CI / Type Check (push) Waiting to run
CI / Lint (push) Waiting to run
CI / Unit Tests (push) Waiting to run
Deploy / Build & Push Image (push) Waiting to run
Deploy / Deploy to VPS (push) Blocked by required conditions

backgroundImage on inline style rendered same-color paths invisible;
absolute overlay div with opacity matches proven DinoTickets pattern.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vadym Samoilenko 2026-06-10 17:22:23 +01:00
parent 85cdad2e45
commit 0cb4f9e5dc

View file

@ -124,14 +124,19 @@ export default async function LocationsPage() {
{/* Text */}
<div
className="flex flex-1 flex-col justify-center gap-4 p-10"
style={{
backgroundColor: color,
backgroundImage: `url('/images/figma/card-wave-green.svg')`,
backgroundSize: '280px auto',
backgroundRepeat: 'repeat',
}}
className="relative flex flex-1 flex-col justify-center gap-4 p-10"
style={{ backgroundColor: color }}
>
<div
aria-hidden="true"
className="pointer-events-none absolute inset-0"
style={{
backgroundImage: `url('/images/figma/card-wave-green.svg')`,
backgroundSize: '280px auto',
backgroundRepeat: 'repeat',
opacity: 0.18,
}}
/>
{loc.tagline && (
<p
className="text-[16px] font-medium text-[#fdcf54] uppercase"