Skip to content

Commit

Permalink
Add website banner for clients launch (gradio-app#8456)
Browse files Browse the repository at this point in the history
* add banner

* add changeset

* add changeset

* formatting

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
aliabd and gradio-pr-bot authored Jun 4, 2024
1 parent a970589 commit 881f11c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .changeset/short-pets-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"website": patch
---

feat:Add website banner for clients launch
25 changes: 14 additions & 11 deletions js/_website/src/lib/components/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,21 @@
class="relative isolate flex items-center gap-x-6 overflow-hidden bg-gradient-to-r from-white via-yellow-200 to-white px-6 py-2 sm:px-3.5 sm:before:flex-1"
>
<div class="flex flex-wrap items-center gap-x-4 gap-y-2">
<p class="text-md leading-6 text-gray-700">
<strong class="font-semibold"
>Custom Components Gallery<sup class="text-orange-500">NEW</sup
></strong
<div class="flex flex-wrap items-center gap-x-4 gap-y-2 mx-auto">
<p class="text-md leading-6 text-gray-700 text-center">
<strong class="font-semibold">Introducing Gradio Clients</strong><svg
viewBox="0 0 2 2"
class="mx-2 inline h-0.5 w-0.5 fill-current"
aria-hidden="true"><circle cx="1" cy="1" r="1" /></svg
>Join us on Thursday, 9am PST
</p>
<a
href="https://www.youtube.com/watch?v=44vi31hehw4"
target="_blank"
class="mx-auto flex-none rounded-full px-3.5 py-1 text-sm font-semibold text-white bg-gradient-to-br from-orange-300 via-orange-500 to-orange-300 hover:drop-shadow-md"
>Livestream <span aria-hidden="true">&rarr;</span></a
>
</p>
<a
href="/custom-components/gallery"
target="_blank"
class="flex-none rounded-full px-3.5 py-1 text-sm font-semibold text-white bg-gradient-to-br from-orange-300 via-orange-500 to-orange-300 hover:drop-shadow-md"
>Explore <span aria-hidden="true">&rarr;</span></a
>
</div>
</div>
<div class="flex flex-1 justify-end"></div>
</div>
Expand Down

0 comments on commit 881f11c

Please sign in to comment.