Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Oct 11, 2023
1 parent 4c0e630 commit 24e1ff9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion resources/views/components/header-news-bar.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
$news = Illuminate\Support\Arr::random(['herd', 'nova', 'forge', 'vapor', 'merch', 'laracon']);
$news = Illuminate\Support\Arr::random(['nova', 'forge', 'vapor', 'merch', 'laracon', 'laracon-eu']);
?>

<div class="hidden lg:flex items-center justify-center bg-gradient-to-b from-red-500 to-red-600 p-2 text-center text-white text-sm">
Expand All @@ -26,6 +26,13 @@
See you down under! Tickets are now available for <a href="https://laracon.au" class="underline">Laracon AU</a>.
</div>

@elseif ($news === 'laracon-eu')
<div><svg class="w-5 h-5 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg></div>

<div class="mt-px ml-1">
Let's go to Europe! Tickets are now available for <a href="https://laracon.eu" class="underline">Laracon EU</a>.
</div>

@elseif ($news === 'forge')
<div><svg class="w-5 h-5 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path></svg></div>

Expand Down

0 comments on commit 24e1ff9

Please sign in to comment.