The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
group imports
Florian LEFEBVRE38b53614a45b
diff --git a/www/components/Nav/Annoucement.tsx b/www/components/Nav/Annoucement.tsxindex 3df502d2d27..f67e100fcc9 100644--- a/www/components/Nav/Annoucement.tsx+++ b/www/components/Nav/Annoucement.tsx@@ -1,21 +1,21 @@import React from 'react'import { IconArrowRight } from '@supabase/ui'-import data from '~/data/Annoucement.json';+import data from '~/data/Annoucement.json'type A = {- show: boolean;- text: string;+ show: boolean+ text: stringlink: {- text: string;- url: string;+ text: string+ url: string}}-const a: A = data;+const a: A = dataconst Annoucement = () => {- if (!a.show) return (null)+ if (!a.show) return nullreturn (<div className="bg-brand-700 dark:bg-brand-800"><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">diff --git a/www/components/Nav/index.tsx b/www/components/Nav/index.tsxindex 2f73e906b9d..df12bbb19ca 100644--- a/www/components/Nav/index.tsx+++ b/www/components/Nav/index.tsx@@ -2,8 +2,7 @@ import React, { useState } from 'react'import Link from 'next/link'import { useRouter } from 'next/router'-import { Badge } from '@supabase/ui'-import { Button } from '@supabase/ui'+import { Button, Badge } from '@supabase/ui'import FlyOut from '~/components/UI/FlyOut'import Transition from 'lib/Transition'