Skip to content

Commit 3f4fc0d

Browse files
✨ Add prizes section
1 parent 4ad9279 commit 3f4fc0d

File tree

4 files changed

+103
-2
lines changed

4 files changed

+103
-2
lines changed
Binary file not shown.
12.9 KB
Binary file not shown.
Binary file not shown.

resources/views/laracon-us-2025-competition.blade.php

Lines changed: 103 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ class="text-sm text-slate-600 uppercase sm:text-base dark:text-white/60"
117117
})
118118
}
119119
"
120-
class="relative isolate py-10"
120+
class="relative isolate py-7 sm:py-10"
121121
>
122122
<div
123123
x-init="
124124
() => {
125125
Atropos({
126126
el: $el,
127-
activeOffset: 10,
127+
activeOffset: 1,
128128
shadow: false,
129129
highlight: false,
130130
eventsEl: $refs.ticketEvent,
@@ -239,4 +239,105 @@ class="flex items-center justify-center gap-2.5 rounded-2xl bg-zinc-800 px-6 py-
239239
</header>
240240
</div>
241241
</section>
242+
243+
{{-- Prizes --}}
244+
<section class="mx-auto mt-25 max-w-5xl px-5">
245+
{{-- Header --}}
246+
<h2
247+
id="hero-heading"
248+
x-init="
249+
() => {
250+
motion.inView($el, (element) => {
251+
motion.animate(
252+
$el,
253+
{
254+
opacity: [0, 1],
255+
y: [-10, 0],
256+
},
257+
{
258+
duration: 0.7,
259+
ease: motion.easeOut,
260+
},
261+
)
262+
})
263+
}
264+
"
265+
class="text-center text-3xl font-extrabold sm:text-4xl"
266+
>
267+
Prizes
268+
</h2>
269+
270+
{{-- List --}}
271+
<div class="mt-5 flex flex-wrap items-center justify-center gap-5">
272+
<div
273+
class="group relative isolate flex w-full max-w-75 items-center gap-5 overflow-hidden rounded-2xl bg-gradient-to-br from-violet-50 to-violet-300 p-8 dark:bg-gradient-to-bl dark:from-white/10 dark:to-white/2"
274+
>
275+
{{-- Title --}}
276+
<h5
277+
class="text-2xl leading-relaxed font-semibold text-violet-900 transition duration-300 ease-in-out will-change-transform group-hover:translate-x-0.5 dark:text-violet-400"
278+
>
279+
Laracon Ticket
280+
</h5>
281+
282+
{{-- Illustration --}}
283+
<img
284+
src="{{ Vite::asset('resources/images/prizes/3d_purple_tickets.webp') }}"
285+
alt=""
286+
loading="lazy"
287+
class="pointer-events-none h-16 transition duration-300 ease-in-out will-change-transform select-none group-hover:-translate-x-0.5"
288+
/>
289+
290+
{{-- Shiny circle --}}
291+
<div
292+
class="absolute -top-40 -right-40 -z-10 size-80 rounded-full bg-gradient-to-t from-white/5 to-white/50 dark:from-transparent dark:to-violet-500/65 dark:blur-2xl"
293+
></div>
294+
</div>
295+
<div
296+
class="group relative isolate flex w-full max-w-75 items-center gap-5 overflow-hidden rounded-2xl bg-gradient-to-br from-sky-50 to-sky-300 p-8 dark:bg-gradient-to-bl dark:from-white/10 dark:to-white/2"
297+
>
298+
{{-- Title --}}
299+
<h5
300+
class="text-2xl leading-relaxed font-semibold text-sky-900 transition duration-300 ease-in-out will-change-transform group-hover:translate-x-0.5 dark:text-sky-400"
301+
>
302+
NativePHP T-Shirt
303+
</h5>
304+
305+
{{-- Illustration --}}
306+
<img
307+
src="{{ Vite::asset('resources/images/prizes/nativephp_black_shirt.webp') }}"
308+
alt=""
309+
loading="lazy"
310+
class="pointer-events-none -mb-20 h-40 transition duration-300 ease-in-out will-change-transform select-none group-hover:-translate-x-0.5"
311+
/>
312+
313+
{{-- Shiny circle --}}
314+
<div
315+
class="absolute -top-40 -right-40 -z-10 size-80 rounded-full bg-gradient-to-t from-white/5 to-white/50 dark:from-transparent dark:to-sky-500/65 dark:blur-2xl"
316+
></div>
317+
</div>
318+
<div
319+
class="group relative isolate flex w-full max-w-75 items-center gap-5 overflow-hidden rounded-2xl bg-gradient-to-br from-orange-50 to-orange-300 p-8 dark:bg-gradient-to-bl dark:from-white/10 dark:to-white/2"
320+
>
321+
{{-- Title --}}
322+
<h5
323+
class="text-2xl leading-relaxed font-semibold text-orange-900 transition duration-300 ease-in-out will-change-transform group-hover:translate-x-0.5 dark:text-orange-400"
324+
>
325+
NativePHP License
326+
</h5>
327+
328+
{{-- Illustration --}}
329+
<img
330+
src="{{ Vite::asset('resources/images/prizes/3d_license_document.webp') }}"
331+
alt=""
332+
loading="lazy"
333+
class="pointer-events-none h-20 transition duration-300 ease-in-out will-change-transform select-none group-hover:-translate-x-0.5"
334+
/>
335+
336+
{{-- Shiny circle --}}
337+
<div
338+
class="absolute -top-40 -right-40 -z-10 size-80 rounded-full bg-gradient-to-t from-white/5 to-white/50 dark:from-transparent dark:to-orange-500/65 dark:blur-2xl"
339+
></div>
340+
</div>
341+
</div>
342+
</section>
242343
</x-layout>

0 commit comments

Comments
 (0)