Skip to content

Commit

Permalink
Add website banner for gradio 5 (#9635)
Browse files Browse the repository at this point in the history
* add header

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
aliabd and gradio-pr-bot authored Oct 10, 2024
1 parent cbbeebd commit 67e4044
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/empty-ears-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"website": minor
---

feat:Add website banner for gradio 5
6 changes: 3 additions & 3 deletions js/_website/src/lib/components/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
<div class="flex flex-wrap items-center gap-x-4 gap-y-2 flex-grow">
<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 mx-auto">
<strong class="font-semibold">Introducing Gradio Clients</strong>
<strong class="font-semibold">Introducing Gradio 5.0</strong>
</p>
<a
href="https://www.youtube.com/watch?v=44vi31hehw4"
href="https://huggingface.co/blog/gradio-5"
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"
>Watch <span aria-hidden="true">&rarr;</span></a
>Read More <span aria-hidden="true">&rarr;</span></a
>
</div>
</div>
Expand Down

0 comments on commit 67e4044

Please sign in to comment.