Skip to content

Commit

Permalink
Adding Laravel Cloud to news banner
Browse files Browse the repository at this point in the history
  • Loading branch information
andrevalentin committed Aug 28, 2024
1 parent 627ca99 commit 8d4565f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion resources/views/components/header-news-bar.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@php
$news = ['nova', 'forge', 'vapor', 'herd', 'pulse', 'reverb', 'laracon-au'];
// Adding a few more "tickets" for cloud to get chosen in the random array, requested by Hank
$news = ['cloud', 'cloud', 'cloud', 'nova', 'forge', 'vapor', 'herd', 'pulse', 'reverb', 'laracon-au'];
@endphp

<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 h-9">
Expand Down Expand Up @@ -68,6 +69,14 @@
</div>
</template>

<template id="news-cloud">
<div><svg class="w-5 h-5 text-white" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M6.442 2.244a.51.51 0 0 1 .262.076l3.691 2.062a.457.457 0 0 1 .213.225.537.537 0 0 1 .035.212v7.37l2.708-1.514V6.851c0-.098.024-.191.085-.275a.688.688 0 0 1 .224-.185h.001l3.682-2.058a.443.443 0 0 1 .217-.061c.082 0 .155.026.218.061l3.751 2.101a.42.42 0 0 1 .192.203c.033.08.035.16.035.22v4.084a.48.48 0 0 1-.056.246.531.531 0 0 1-.198.187l-.005.003-3.448 1.925v3.811c0 .089-.01.182-.062.268a.548.548 0 0 1-.208.186h-.002l-7.36 4.111a.586.586 0 0 1-.277.078.586.586 0 0 1-.277-.078l-.004-.002-7.339-4.113-.02-.013a.785.785 0 0 1-.15-.11.371.371 0 0 1-.106-.271V4.757c0-.183.117-.302.216-.356l3.718-2.082a.537.537 0 0 1 .264-.075ZM3.735 4.8l2.702-1.513L9.147 4.8l-2.71 1.52L3.735 4.8Zm13.822 3.552L14.849 6.84l2.708-1.513 2.701 1.513-2.701 1.513ZM9.65 5.635l-2.709 1.52v7.103l2.709-1.52V5.636Zm-3.707 1.52L3.23 5.64v11.213l6.422 3.59v-3.026L6.23 15.54l-.008-.005c-.051-.03-.125-.074-.181-.14a.439.439 0 0 1-.098-.295V7.154Zm8.405 3.52V7.673l2.715 1.52v2.99l-2.715-1.508Zm3.7 1.509v-2.99l2.715-1.52v3l-2.715 1.51Zm-7.912 4.392L7.45 15.092l6.4-3.588 2.7 1.522-6.413 3.55Zm.506 3.867v-3.026l6.421-3.567v3.003l-6.421 3.59Z" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="m9.86 21.676-7.34-4.113-.02-.013a.785.785 0 0 1-.15-.11.371.371 0 0 1-.106-.271V4.757c0-.183.117-.302.216-.356l3.718-2.082a.537.537 0 0 1 .264-.075.51.51 0 0 1 .262.076l3.691 2.062a.457.457 0 0 1 .213.225.537.537 0 0 1 .035.212v7.37l2.708-1.514V6.851c0-.098.024-.191.085-.275a.688.688 0 0 1 .224-.185h.001l3.682-2.058a.443.443 0 0 1 .217-.061c.082 0 .155.026.218.061l3.751 2.101a.42.42 0 0 1 .192.203c.033.08.035.16.035.22v4.084a.48.48 0 0 1-.056.246.531.531 0 0 1-.198.187l-.005.003-3.448 1.925v3.811c0 .089-.01.182-.062.268a.548.548 0 0 1-.208.186h-.002l-7.36 4.111a.586.586 0 0 1-.277.078.586.586 0 0 1-.277-.078l-.004-.002Zm8.433-8.231v3.668a.742.742 0 0 1-.097.394.787.787 0 0 1-.295.271H17.9l-.004.003-7.362 4.111-.002.002a.827.827 0 0 1-.392.106.828.828 0 0 1-.391-.106l-.003-.002-.006-.003-7.343-4.116-.024-.014v-.001l-.005-.003a.99.99 0 0 1-.191-.143.615.615 0 0 1-.177-.443V4.757a.65.65 0 0 1 .342-.57l3.716-2.08A.78.78 0 0 1 6.442 2c.15 0 .277.047.383.109l3.688 2.06a.7.7 0 0 1 .32.344c.054.13.053.252.053.303v6.957l2.221-1.24V6.85c0-.14.036-.286.133-.419a.928.928 0 0 1 .3-.253l.002-.001 3.682-2.058a.686.686 0 0 1 .336-.092.69.69 0 0 1 .336.092l3.753 2.101a.663.663 0 0 1 .351.636v4.084c0 .095-.01.23-.088.367a.773.773 0 0 1-.284.275l-.002.001-.009.005-3.324 1.856ZM6.11 15.75l-.012-.007-.005-.003a.898.898 0 0 1-.238-.19.682.682 0 0 1-.155-.452V7.298L3.473 6.055V16.71l5.934 3.317v-2.465L6.11 15.75Zm3.54 1.666v3.026l-6.42-3.59V5.64l2.714 1.514V15.1c0 .116.03.214.098.294.056.067.13.11.18.14l.009.006 3.42 1.878ZM3.736 4.8l2.702 1.52 2.71-1.52-2.71-1.513L3.735 4.8Zm.498 0 2.204-1.234 2.21 1.235-2.21 1.239L4.233 4.8Zm13.323 3.273 2.203-1.234-2.203-1.234-2.207 1.234 2.207 1.234Zm0 .28 2.702-1.514-2.701-1.513-2.708 1.513 2.708 1.513ZM7.187 7.296v6.545l2.22-1.246V6.051l-2.22 1.246Zm-.244-.143v7.104l2.709-1.52V5.636l-2.709 1.52Zm7.651 3.377V8.09l2.227 1.247v2.433l-2.227-1.238Zm2.471 1.653-2.715-1.51v-3l2.715 1.52v2.99Zm.985 0 2.715-1.51v-3l-2.715 1.52v2.99Zm2.471-4.095-2.227 1.247v2.433l2.227-1.238V8.09Zm-10.383 8.208L7.952 15.09l5.898-3.306 2.2 1.24-5.913 3.273Zm6.414-3.271-6.414 3.55-2.687-1.484 6.4-3.588 2.7 1.522Zm-5.908 7.417 6.421-3.59V13.85l-6.421 3.567v3.026Zm6.177-6.178-5.934 3.295v2.467l5.934-3.317v-2.445Z" clip-rule="evenodd"/></svg></div>

<div class="mt-px ml-1">
Join the waitlist for <a href="https://cloud.laravel.com" class="underline">Laravel Cloud</a>, the future of shipping!
</div>
</template>

<template id="news-pulse">
<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 15a4 4 0 004 4h9a5 5 0 10-.1-9.999 5.002 5.002 0 10-9.78 2.096A4.001 4.001 0 003 15z"></path></svg></div>

Expand Down

0 comments on commit 8d4565f

Please sign in to comment.