Add banner for 4.0 livestream to website (#6097)

* add banner

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
Ali Abdalla 2023-10-25 21:54:01 -07:00 committed by GitHub
parent 5524e59057
commit 439efa39dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
"website": minor
---
feat:Add banner for 4.0 livestream to website

View File

@ -11,6 +11,18 @@
// $: selected_version === version && is_versioned && goto("/guides/quickstart");
</script>
<!-- 4.0 Launch BANNER -->
<div 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">What's New in Gradio 4.0</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 Tuesday, 9am PST
</p>
<a href="https://www.youtube.com/watch?v=5MgmKBCOpvU" 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">Livestream <span aria-hidden="true">&rarr;</span></a>
</div>
<div class="flex flex-1 justify-end">
</div>
</div>
<div
class="container mx-auto flex flex-wrap justify-between flex-row relative items-center px-4 py-5 gap-6 text-lg z-50"
>