Skip to content

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

Adds Discord announcement

Paul Copplestone5b7e485a194a
diff --git a/www/components/Nav/Annoucement.tsx b/www/components/Nav/Annoucement.tsx
index f67e100fcc9..00bdce7368d 100644
--- a/www/components/Nav/Annoucement.tsx
+++ b/www/components/Nav/Annoucement.tsx
@@ -17,12 +17,12 @@ const a: A = data
const Annoucement = () => {
if (!a.show) return null
return (
- <div className="bg-brand-700 dark:bg-brand-800">
+ <div className="bg-indigo-400 dark:bg-indigo-400">
<div className="flex items-center justify-center py-2 mx-auto space-x-2 text-white lg:container lg:px-16 xl:px-20 text-sm md:text-base">
<span>{a.text}</span>
<a
href={a.link.url}
- className="inline-flex items-center px-2 py-1 space-x-1 text-xs transition-colors bg-white rounded-full text-brand-800 dark:hover:text-brand-800 hover:text-brand-800 hover:bg-opacity-90"
+ className="inline-flex items-center px-2 py-1 space-x-1 text-xs transition-colors bg-indigo-900 rounded text-white dark:hover:text-indigo-100 hover:text-indigo-800 hover:bg-opacity-90"
>
{a.link.text} <IconArrowRight size="tiny" />
</a>
diff --git a/www/data/Annoucement.json b/www/data/Annoucement.json
index a271e0c547b..ba7979cfe3a 100644
--- a/www/data/Annoucement.json
+++ b/www/data/Annoucement.json
@@ -1,8 +1,8 @@
{
- "show": false,
- "text": "We have released the April recap!",
+ "show": true,
+ "text": "We're now on Discord!",
"link": {
- "url": "https://supabase.io/blog/2021/05/03/supabase-beta-april-2021",
- "text": "Read more"
+ "url": "http://discord.supabase.com",
+ "text": "Join"
}
}