The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Prettify the tabs
Paul Copplestonedfa5f138b977
diff --git a/www/components/AdminAccess/tabs.tsx b/www/components/AdminAccess/tabs.tsxindex 3b365c3ac4b..fee1b66249a 100644--- a/www/components/AdminAccess/tabs.tsx+++ b/www/components/AdminAccess/tabs.tsx@@ -1,9 +1,9 @@-import Button from "components/Button"-import TabMarkup from "data/AdminAccess.json"+import Button from 'components/Button'+import TabMarkup from 'data/AdminAccess.json'-type Props = {- tabId: string,- setTabId: Function,+type Props = {+ tabId: string+ setTabId: Function}function Tabs(props: Props) {@@ -24,7 +24,12 @@ function Tabs(props: Props) {<ahref="#"id="tabTableEditor"- className={"transition w-1/3 lg:w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabTableEditor" ? " border-gray-500 dark:border-white text-gray-600 dark:text-white" : " border-b border-gray-200 dark:border-dark-200 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200")}+ className={+ 'transition w-1/3 lg:w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm' ++ (tabId === 'tabTableEditor'+ ? ' border-gray-500 dark:border-white text-gray-600 dark:text-white'+ : ' border-b border-gray-200 dark:border-dark-400 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200')+ }onClick={(event: any) => handleTabChange(event)}>Table Editor@@ -32,7 +37,12 @@ function Tabs(props: Props) {<ahref="#"id="tabSqlEditor"- className={"transition w-1/3 lg:w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabSqlEditor" ? " border-gray-500 dark:border-white text-gray-600 dark:text-white" : " border-b border-gray-200 dark:border-dark-200 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200")}+ className={+ 'transition w-1/3 lg:w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm' ++ (tabId === 'tabSqlEditor'+ ? ' border-gray-500 dark:border-white text-gray-600 dark:text-white'+ : ' border-b border-gray-200 dark:border-dark-400 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200')+ }onClick={(event: any) => handleTabChange(event)}>SQL Editor@@ -40,7 +50,12 @@ function Tabs(props: Props) {<ahref="#"id="tabAuthRules"- className={"transition w-1/3 lg:w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabAuthRules" ? " border-gray-500 dark:border-white text-gray-600 dark:text-white" : " border-b border-gray-200 dark:border-dark-200 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200")}+ className={+ 'transition w-1/3 lg:w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm' ++ (tabId === 'tabAuthRules'+ ? ' border-gray-500 dark:border-white text-gray-600 dark:text-white'+ : ' border-b border-gray-200 dark:border-dark-400 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200')+ }onClick={(event: any) => handleTabChange(event)}aria-current="page">@@ -65,10 +80,8 @@ function Tabs(props: Props) {{/* @ts-ignore */}<Button className="mt-8" text={TabMarkup[tabId].cta} url={TabMarkup[tabId].url} />-</div></div>-</div></div>)diff --git a/www/components/MadeForDevelopers/index.tsx b/www/components/MadeForDevelopers/index.tsxindex 6f1cbdcab25..1ce3e8bbcd0 100644--- a/www/components/MadeForDevelopers/index.tsx+++ b/www/components/MadeForDevelopers/index.tsx@@ -42,7 +42,7 @@ const MadeForDevelopers = () => {{feature.name}{feature.badge && <Badge className="ml-3 md:ml-0 md:w-20 md:mt-2 xl:ml-3 xl:mt-0 xl:w-auto">{feature.badge}</Badge>}</dt>- <dd className="mt-3 text-base text-gray-500 mb-6 dark:text-dark-100">+ <dd className="mt-3 text-base text-gray-500 mb-6 dark:text-dark-300">{feature.description}</dd><Button type="secondary" text={feature.badge ? "Get notified" : "Explore more"} url="#" />