Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Add LW6 Announcement bar

Terry Sutton8581b8c95b39
diff --git a/apps/www/components/Nav/Announcement.tsx b/apps/www/components/Nav/Announcement.tsx
index cfd46ac631a..e82d3cddc4f 100644
--- a/apps/www/components/Nav/Announcement.tsx
+++ b/apps/www/components/Nav/Announcement.tsx
@@ -58,27 +58,26 @@ const Announcement = () => {
hover:to-green-1100 relative flex
cursor-pointer flex-row
space-x-3
- overflow-hidden bg-gradient-to-r from-green-900
+ overflow-hidden
text-white
"
>
<div
className="
- mx-auto flex items-center justify-center divide-white p-3 text-sm font-medium lg:container lg:divide-x
+ mx-auto flex items-center gap-6 justify-center p-3 text-sm font-medium lg:container
lg:px-16 xl:px-20
"
>
+ <span>{announcement.text}</span>
<span className="item-center flex gap-2 px-3">
{announcement.badge && (
- <div className="bg-brand-400 text-brand-900 py-0.25 rounded px-1.5">
+ <div className="bg-[#2E2E2E] text-white py-0.25 rounded-2xl px-3 py-1 border border-gray-1100 ">
{announcement.badge}
</div>
)}
- <span>{announcement.text}</span>
</span>
<span className="hidden items-center space-x-2 px-3 lg:flex">
<span>{announcement.cta}</span>
- <IconChevronRight size={14} />
</span>
</div>
<div
diff --git a/apps/www/data/Announcement.json b/apps/www/data/Announcement.json
index 5944138270f..1b35ae032f8 100644
--- a/apps/www/data/Announcement.json
+++ b/apps/www/data/Announcement.json
@@ -1,7 +1,7 @@
{
"show": false,
- "text": "Auth UI Launch 🚀",
- "cta": "Vote now",
- "link": "https://www.producthunt.com/posts/pre-built-auth-ui-for-react",
- "badge": "Product Hunt"
+ "text": "Launch Week 6 — December 12th",
+ "cta": "",
+ "link": "https://supabase.com/launch-week",
+ "badge": "Get a reminder"
}
diff --git a/apps/www/styles/index.css b/apps/www/styles/index.css
index 5dd5d9fa95d..334448f2b80 100644
--- a/apps/www/styles/index.css
+++ b/apps/www/styles/index.css
@@ -281,7 +281,7 @@ launch week
}
.launch-week-gradientBg--announcement-bar {
- background-image: url('/images/launchweek/supabase-launch-week-5-bg.jpg');
+ background: radial-gradient(circle, rgba(51, 68, 60, 1) 0%, rgba(0, 0, 0, 1) 100%);
background-color: hsl(0, 0%, 11%);
width: 100%;
clear: both;