Skip to content

Commit

Permalink
feat: add ryan banner support
Browse files Browse the repository at this point in the history
  • Loading branch information
ginifizz committed Apr 10, 2024
1 parent 07bead8 commit 218e9ce
Show file tree
Hide file tree
Showing 3 changed files with 854 additions and 0 deletions.
22 changes: 22 additions & 0 deletions layouts/partials/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,28 @@
border-gray-300
{{ end }} left-0 z-30 w-full top-0 group"
>
{{ if .IsHome }}
<a
class="bg-white lg:bg-purple-dark overflow-hidden border-b-2 border-b-green z-50 to-[#000] text-purple-dark font-bold h-16 lg:h-20 w-full text-center relative align-center flex items-center justify-center"
href="https://www.gofundme.com/f/support-ryans-brain-cancer-battle"
rel="noopener noreferrer"
target="_blank"
>
<div class="w-full lg:w-auto max-w-8xl relative flex flex-row items-center px-8 py-2 rounded-md gap-4 bg-white">
<div class="text-left flex-1">
<p class="text-sm lg:text-lg">
Ryan Weaver, long-time contributor to the PHP ecosystem, needs our help!
</p>
<p class="hidden lg:block text-sm font-light">
Please consider making a donation now to support him.
</p>
</div>
<button class="rounded-3xl bg-green text-purple px-4 py-2 mr-8 lg:mr-0 inline-block text-sm relative uppercase">
Donate
</button>
</div>
</a>
{{ end }}
<div
class="h-16 p-4 mx-auto flex flex-row items-center justify-end max-w-8xl"
>
Expand Down
Loading

0 comments on commit 218e9ce

Please sign in to comment.