Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincrozat committed Nov 22, 2023
1 parent 450cf25 commit a6b225e
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions resources/views/components/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,27 +55,19 @@
>
<div class="flex flex-col min-h-screen">
@if (! request()->routeIs('dummy-store.*', 'media-kit', 'openings.*', 'pouest', 'sponsors'))
@if ($randomOpening)
<a wire:navigate.hover href="{{ route('openings.show', $randomOpening) }}" class="block text-sm text-indigo-700 bg-gradient-to-r from-indigo-50 to-indigo-50/50">
<div class="container py-3 text-center sm:max-w-[420px]">
<p><strong class="font-medium">New position at {{ $randomOpening->company }}</strong>: {{ lcfirst($randomOpening->title) }}.&nbsp;
<a href="https://larajobs.com?utm_source=benjamincrozat&utm_medium=banner&utm_campaign=benjamincrozat" target="_blank" rel="noopener" class="block text-sm text-indigo-700 bg-gradient-to-r from-indigo-50 to-indigo-50/50">
<div class="container flex items-center justify-center gap-4 py-3 sm:max-w-[420px]">
<div>
“Looking for your dream job? I recommend <span class="font-medium underline">LaraJobs</span>.”
</div>
</a>
@else
<a href="https://larajobs.com?utm_source=benjamincrozat&utm_medium=banner&utm_campaign=benjamincrozat" target="_blank" rel="noopener" class="block text-sm text-indigo-700 bg-gradient-to-r from-indigo-50 to-indigo-50/50">
<div class="container flex items-center justify-center gap-4 py-3 sm:max-w-[420px]">
<div>
“Looking for your dream job? I recommend <span class="font-medium underline">LaraJobs</span>.”
</div>

<img loading="lazy" src="https://www.gravatar.com/avatar/d58b99650fe5d74abeb9d9dad5da55ad?s=84" alt="Benjamin Crozat" class="rounded-full w-[32px] md:w-[34px] h-[32px] md:h-[34px]" />
</div>
</a>

<div class="container mt-4 text-center">
“Black Friday deals end soon, so go <a wire:navigate.hover href="https://benjamincrozat.com/best-black-friday-deals-2023" class="font-medium underline">check them out</a>!”
<img loading="lazy" src="https://www.gravatar.com/avatar/d58b99650fe5d74abeb9d9dad5da55ad?s=84" alt="Benjamin Crozat" class="rounded-full w-[32px] md:w-[34px] h-[32px] md:h-[34px]" />
</div>
@endif
</a>

<div class="container mt-4 text-center">
“Black Friday deals end soon, so go <a wire:navigate.hover href="https://benjamincrozat.com/best-black-friday-deals-2023" class="font-medium underline">check them out</a>!”
</div>
@endif

<div class="h-px bg-indigo-50"></div>
Expand Down

0 comments on commit a6b225e

Please sign in to comment.