Skip to content

Commit 5a8b5a3

Browse files
authored
Merge pull request #3418 from codeeu/dev
Dev
2 parents 08cf03b + 51223f6 commit 5a8b5a3

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

resources/views/hackathons/index.blade.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@
3232
Hackathons
3333
@endif
3434
</h2>
35-
<p class="text-xl font-normal md:text-2xl leading-8 text-[#333E48] p-0 max-md:max-w-full max-w-[525px]">
35+
<div class="text-xl font-normal md:text-2xl leading-8 text-[#333E48] p-0 max-md:max-w-full max-w-[525px] [&_p]:p-0 [&_p]:m-0 [&_div]:p-0 [&_div]:m-0">
3636
@if($dynamic && $page && $page->contentForLocale('hero_subtitle'))
3737
{!! $page->contentForLocale('hero_subtitle') !!}
3838
@else
3939
Bring your ideas to life!
4040
@endif
41-
</p>
41+
</div>
4242
</div>
4343
<div class="flex z-10 flex-1 justify-center items-center order-0 md:order-2">
4444

@@ -70,21 +70,21 @@ class="absolute top-0 right-0 h-full max-w-[calc(70vw)] object-cover hidden md:b
7070
Hackathons
7171
@endif
7272
</h2>
73-
<p class="text-[#20262C] font-normal text-lg md:text-2xl p-0 mb-6">
73+
<div class="text-[#20262C] font-normal text-lg md:text-2xl p-0 mb-6 [&_p]:p-0 [&_p]:m-0 [&_p]:mb-6 [&_p:last-child]:mb-0 [&_div]:p-0 [&_div]:m-0 [&_div]:mb-6 [&_div:last-child]:mb-0">
7474
@if($dynamic && $page && $page->contentForLocale('intro_paragraph_1'))
7575
{!! $page->contentForLocale('intro_paragraph_1') !!}
7676
@else
7777
A hackathon is an event where participants with diverse skills collaborate to tackle global challenges. Participants form teams to brainstorm, design, and code, aiming to produce a working solution or prototype by the event's conclusion. Beyond fostering innovation and teamwork, EU Code Week hackathons offer a platform for young enthusiasts to learn, showcase their talents, and connect with like-minded peers.
7878
@endif
79-
</p>
80-
<p class="text-[#333E48] font-normal text-[16px] md:text-xl leading-[22px] md:leading-[30px] p-0">
79+
</div>
80+
<div class="text-[#333E48] font-normal text-[16px] md:text-xl leading-[22px] md:leading-[30px] p-0 [&_p]:p-0 [&_p]:m-0 [&_p]:mb-6 [&_p:last-child]:mb-0 [&_div]:p-0 [&_div]:m-0 [&_div]:mb-6 [&_div:last-child]:mb-0">
8181
@if($dynamic && $page && $page->contentForLocale('intro_paragraph_2'))
8282
{!! $page->contentForLocale('intro_paragraph_2') !!}
8383
@else
8484
Adapting the traditional hackathon format, the EU Code Week Hackathons take into consideration the age of the participants and cater to the unique skills, insights, and interests of adolescents.
8585
The aim of the EU Code Week Hackathons is to inspire young people to develop their coding and problem-solving skills by engaging them in collaborative, creative, and innovative projects.
8686
@endif
87-
</p>
87+
</div>
8888
</div>
8989
</div>
9090
<div
@@ -121,34 +121,34 @@ class="animation-element move-background duration-[1.5s] absolute z-0 lg:-bottom
121121
EU Code Week Hackathons 2025-26
122122
@endif
123123
</p>
124-
<p class="text-slate-500 font-normal text-[16px] md:text-xl leading-[22px] md:leading-[30px] p-0 mb-6">
124+
<div class="text-slate-500 font-normal text-[16px] md:text-xl leading-[22px] md:leading-[30px] p-0 mb-6 [&_p]:p-0 [&_p]:m-0 [&_p]:mb-6 [&_p:last-child]:mb-0 [&_div]:p-0 [&_div]:m-0 [&_div]:mb-6 [&_div:last-child]:mb-0">
125125
@if($dynamic && $page && $page->contentForLocale('details_paragraph_1'))
126126
{!! $page->contentForLocale('details_paragraph_1') !!}
127127
@else
128128
EU Code Week Hackathons share a common theme that strengthens connection and belonging among young innovators across Europe. The central theme for the 2025 edition is <strong>From Code to Community: Bridging Digital Skills and Social Impact.</strong></span>.
129129
@endif
130-
</p>
131-
<p class="text-slate-500 font-normal text-[16px] md:text-xl leading-[22px] md:leading-[30px] p-0 mb-6">
130+
</div>
131+
<div class="text-slate-500 font-normal text-[16px] md:text-xl leading-[22px] md:leading-[30px] p-0 mb-6 [&_p]:p-0 [&_p]:m-0 [&_p]:mb-6 [&_p:last-child]:mb-0 [&_div]:p-0 [&_div]:m-0 [&_div]:mb-6 [&_div:last-child]:mb-0">
132132
@if($dynamic && $page && $page->contentForLocale('details_paragraph_2'))
133133
{!! $page->contentForLocale('details_paragraph_2') !!}
134134
@else
135135
The ten national hackathons — <strong><a href="https://codeweek.eu/blog/hackathons-italy/">Italy (Florence)</a>, <a href="https://codeweek.eu/blog/hackathons-italy/">Italy (Turin)</a>, <a href="https://codeweek.eu/blog/greek-hackathon-2025/">Greece</a>, <a href="https://codeweek.eu/blog/eu-code-week-hackathons-croatia/">Croatia</a>, <a href="https://codeweek.eu/blog/eu-code-week-hackathons-ukraine/">Ukraine</a>, Turkey, Spain, Lithuania, <a href="https://codeweek.eu/blog/eu-code-week-hackathons-slovenia/">Slovenia</a>, and France</strong> — mark a vibrant journey of creativity and collaboration. <strong>Italy (Florence)</strong> opened the series with its event in October 2025, while all other national hackathons are taking place <strong>from now until the end of January 2026</strong>. Each event invites teams of young people aged 15 to 19 to learn, innovate, and develop digital solutions that tackle real societal challenges.
136136
@endif
137-
</p>
138-
<p class="text-slate-500 font-normal text-[16px] md:text-xl leading-[22px] md:leading-[30px] p-0 mb-6">
137+
</div>
138+
<div class="text-slate-500 font-normal text-[16px] md:text-xl leading-[22px] md:leading-[30px] p-0 mb-6 [&_p]:p-0 [&_p]:m-0 [&_p]:mb-6 [&_p:last-child]:mb-0 [&_div]:p-0 [&_div]:m-0 [&_div]:mb-6 [&_div:last-child]:mb-0">
139139
@if($dynamic && $page && $page->contentForLocale('details_paragraph_3'))
140140
{!! $page->contentForLocale('details_paragraph_3') !!}
141141
@else
142142
Join us online for the <strong>EU Finals on 11 March 2026</strong>, where all national finalists will present their projects and celebrate their shared achievements. Expect inspiring ideas, expert jury insights, and plenty of positive energy — a celebration of how young people use technology to make a difference.
143143
@endif
144-
</p>
145-
<p class="text-slate-500 font-normal text-[16px] md:text-xl leading-[22px] md:leading-[30px] p-0 mb-6">
144+
</div>
145+
<div class="text-slate-500 font-normal text-[16px] md:text-xl leading-[22px] md:leading-[30px] p-0 mb-6 [&_p]:p-0 [&_p]:m-0 [&_p]:mb-6 [&_p:last-child]:mb-0 [&_div]:p-0 [&_div]:m-0 [&_div]:mb-6 [&_div:last-child]:mb-0">
146146
@if($dynamic && $page && $page->contentForLocale('details_paragraph_4'))
147147
{!! $page->contentForLocale('details_paragraph_4') !!}
148148
@else
149149
Be part of the excitement as we honour the outstanding teams shaping the future of digital innovation!</span>!
150150
@endif
151-
</p>
151+
</div>
152152
<div class="flex flex-col gap-x-2 gap-y-4 tablet:flex-row lg:flex-col 2xl:flex-row">
153153
@if($dynamic && $page && $page->extra_button_link && $page->contentForLocale('extra_button_text'))
154154
<a

resources/views/static/dream-jobs-in-digital.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,13 +227,13 @@
227227
class="mb-4 max-w-full"
228228
src="/images/dream-jobs/dream_jobs_logo.svg"
229229
/>
230-
<p class="text-xl md:text-2xl leading-8 text-[#333E48] p-0 max-md:max-w-full max-w-[525px] mb-4">
230+
<div class="text-xl md:text-2xl leading-8 text-[#333E48] p-0 max-md:max-w-full max-w-[525px] mb-4 [&_p]:p-0 [&_p]:m-0 [&_p]:mb-4 [&_p:last-child]:mb-0">
231231
@if($heroDynamic && $page && $page->contentForLocale('hero_intro'))
232232
{!! $page->contentForLocale('hero_intro') !!}
233233
@else
234234
@lang('dream-jobs-in-digital.landing_header')
235235
@endif
236-
</p>
236+
</div>
237237
<a
238238
class="text-nowrap md:w-fit flex justify-center items-center bg-primary hover:bg-hover-orange duration-300 text-[#20262C] rounded-full py-4 px-8 font-semibold text-lg"
239239
href="{{ ($heroDynamic && $page && $page->hero_cta_link) ? $page->hero_cta_link : '#dream-job-resources' }}"
@@ -273,13 +273,13 @@ class="absolute top-0 right-0 h-full max-w-[calc(70vw)] object-cover hidden md:b
273273
@lang('dream-jobs-in-digital.about_title')
274274
@endif
275275
</h2>
276-
<p class="text-[#20262C] font-normal text-[16px] leading-[22px] md:text-xl p-0 mb-6 md:mb-10 max-w-4xl">
276+
<div class="text-[#20262C] font-normal text-[16px] leading-[22px] md:text-xl p-0 mb-6 md:mb-10 max-w-4xl [&_p]:p-0 [&_p]:m-0 [&_p]:mb-6 [&_p:last-child]:mb-0">
277277
@if($aboutDynamic && $page && $page->contentForLocale('about_description'))
278278
{!! $page->contentForLocale('about_description') !!}
279279
@else
280280
@lang('dream-jobs-in-digital.about_description')
281281
@endif
282-
</p>
282+
</div>
283283
<div class="relative">
284284
<img
285285
class="w-full rounded-2xl object-cover object-center h-[calc(80vw-40px)] sm:h-auto"

0 commit comments

Comments
 (0)