Skip to content

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

apply review

Florian LEFEBVREf350e8974e91
diff --git a/www/components/Nav/Annoucement.tsx b/www/components/Nav/Annoucement.tsx
index b0b24201372..263b16fc396 100644
--- a/www/components/Nav/Annoucement.tsx
+++ b/www/components/Nav/Annoucement.tsx
@@ -1,6 +1,6 @@
import React from 'react'
-import { annoucement } from '~/data/Annoucement'
+import annoucement from '~/data/Annoucement.json'
const Annoucement = () => {
if (!annoucement.show) return null
diff --git a/www/data/Annoucement.json b/www/data/Annoucement.json
new file mode 100644
index 00000000000..288f93ea887
--- /dev/null
+++ b/www/data/Annoucement.json
@@ -0,0 +1,5 @@
+{
+ "show": true,
+ "text": "We just raised a $30 million Series A... Discover more about it here!",
+ "link": "https://techcrunch.com/2021/09/09/supabase-raises-30m-for-its-open-source-insta-backend/"
+}
diff --git a/www/data/Annoucement.ts b/www/data/Annoucement.ts
deleted file mode 100644
index c4c61ec06ae..00000000000
--- a/www/data/Annoucement.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-type Annoucement = {
- show: boolean
- text: string
- link: string
-}
-
-export const annoucement: Annoucement = {
- show: true,
- text: 'We just raised a $30 million Series A... Discover more about it here!',
- link: 'https://techcrunch.com/2021/09/09/supabase-raises-30m-for-its-open-source-insta-backend/',
-}