Skip to content

Commit eef0842

Browse files
authored
Merge pull request #3413 from codeeu/dev
Dev
2 parents c93a3d2 + 5071ce2 commit eef0842

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

resources/views/hackathons/index.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class="animation-element move-background duration-[1.5s] absolute z-0 lg:-bottom
152152
<div class="flex flex-col gap-x-2 gap-y-4 tablet:flex-row lg:flex-col 2xl:flex-row">
153153
<a
154154
class="inline-block bg-primary hover:bg-hover-orange rounded-full py-4 px-6 md:px-10 font-semibold text-base w-full md:w-auto text-center text-[#20262C] transition-all duration-300"
155-
target="_blank" href="@if($dynamic && $page && $page->recap_button_link){{ $page->recap_button_link }}@elsehttps://eventornado.com/event/eu-codeweek-hackathon2024#Finals%20-%20EU%20Code%20Week%20Hackathon%202024@endif"
155+
target="_blank" href="{{ ($dynamic && $page && $page->recap_button_link) ? $page->recap_button_link : 'https://eventornado.com/event/eu-codeweek-hackathon2024#Finals%20-%20EU%20Code%20Week%20Hackathon%202024' }}"
156156
>
157157
@if($dynamic && $page && $page->contentForLocale('recap_button_text'))
158158
{{ $page->contentForLocale('recap_button_text') }}
@@ -162,7 +162,7 @@ class="inline-block bg-primary hover:bg-hover-orange rounded-full py-4 px-6 md:p
162162
</a>
163163
<a
164164
class="flex justify-center items-center gap-2 text-[#1C4DA1] border-solid border-2 border-[#1C4DA1] rounded-full py-3 px-8 font-semibold text-lg transition-all duration-300 hover:bg-[#E8EDF6] group"
165-
target="_blank" href="@if($dynamic && $page && $page->toolkit_button_link){{ $page->toolkit_button_link }}@else/docs/C4EU_D2.7 Code Week Event Hackathon Design & Toolkit Final 18.06.2025.pdf@endif"
165+
target="_blank" href="{{ ($dynamic && $page && $page->toolkit_button_link) ? $page->toolkit_button_link : '/docs/C4EU_D2.7 Code Week Event Hackathon Design & Toolkit Final 18.06.2025.pdf' }}"
166166
>
167167
<span>
168168
@if($dynamic && $page && $page->contentForLocale('toolkit_button_text'))

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ class="mb-4 max-w-full"
236236
</p>
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"
239-
href="@if($heroDynamic && $page && $page->hero_cta_link){{ $page->hero_cta_link }}@else#dream-job-resources@endif"
239+
href="{{ ($heroDynamic && $page && $page->hero_cta_link) ? $page->hero_cta_link : '#dream-job-resources' }}"
240240
>
241241
<span>
242242
@if($heroDynamic && $page && $page->contentForLocale('hero_cta_text'))

0 commit comments

Comments
 (0)