diff --git a/resources/views/hackathons/index.blade.php b/resources/views/hackathons/index.blade.php index 658389653..a7f7432f9 100644 --- a/resources/views/hackathons/index.blade.php +++ b/resources/views/hackathons/index.blade.php @@ -165,32 +165,47 @@ class="inline-block bg-primary hover:bg-hover-orange rounded-full py-4 px-6 md:p {{ $page->contentForLocale('extra_button_text') }} @endif - - @if($dynamic && $page && $page->contentForLocale('recap_button_text')) - {{ $page->contentForLocale('recap_button_text') }} - @else - Hackathons Final 2024 Recap + + @if($dynamic) + @if($page && $page->recap_button_link && $page->contentForLocale('recap_button_text')) + + {{ $page->contentForLocale('recap_button_text') }} + + @endif + + @if($page && $page->toolkit_button_link && $page->contentForLocale('toolkit_button_text')) + + {{ $page->contentForLocale('toolkit_button_text') }} +
+ + +
+
@endif - - - - @if($dynamic && $page && $page->contentForLocale('toolkit_button_text')) - {{ $page->contentForLocale('toolkit_button_text') }} - @else - Hackathon 2025 Toolkit - @endif - -
- - -
-
+ @else + + Hackathons Final 2024 Recap + + + Hackathon 2025 Toolkit +
+ + +
+
+ @endif