Skip to content

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

chore: update announcement banner

Jonathan Summers-Muirb4c5cbe89831
diff --git a/apps/www/components/Nav/Announcement.tsx b/apps/www/components/Nav/Announcement.tsx
index 6003924b8e7..252a09750ff 100644
--- a/apps/www/components/Nav/Announcement.tsx
+++ b/apps/www/components/Nav/Announcement.tsx
@@ -42,12 +42,14 @@ const Announcement = () => {
<div
onClick={handleLink}
className="
+ launch-week-gradientBg--anouncement-bar
to-green-1000
hover:from-green-1000
hover:to-green-1100 relative flex
cursor-pointer flex-row
space-x-3
- bg-gradient-to-r from-green-900 text-white
+ overflow-hidden bg-gradient-to-r from-green-900
+ text-white
"
>
<div
diff --git a/apps/www/styles/index.css b/apps/www/styles/index.css
index cfb0f189dbb..9d6f84a282c 100644
--- a/apps/www/styles/index.css
+++ b/apps/www/styles/index.css
@@ -285,6 +285,28 @@ launch week
}
}
+.launch-week-gradientBg--anouncement-bar {
+ background-image: url('/images/launchweek/supabase-launch-week-5-bg.jpg');
+ background-color: hsl(0, 0%, 11%);
+ width: 100%;
+ clear: both;
+ background-position: bottom;
+ background-position-y: -820px;
+ background-size: 1929px 1170px;
+ background-repeat: no-repeat;
+}
+
+.dark .launch-week-gradientBg--anouncement-bar {
+ background-image: url('/images/launchweek/supabase-launch-week-5-bg.jpg');
+ background-color: #1c1c1c;
+}
+
+@media screen and (min-width: 1032px) {
+ .launch-week-gradientBg--anouncement-bar {
+ background-position-y: -780px;
+ }
+}
+
.video-container {
position: relative;
width: 100%;