The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
clean up auth images
Isaiah Hamiltonb26c24c557c2
diff --git a/www/data/auth.json b/www/data/auth.jsonnew file mode 100644index 00000000000..6650a951a7c--- /dev/null+++ b/www/data/auth.json@@ -0,0 +1,54 @@+[+ {+ "path": "/images/product/auth/apple-icon.svg",+ "alt": "apple auth login icon"+ },+ {+ "path": "/images/product/auth/bitbucket-icon.svg",+ "alt": "bitbucket auth login icon"+ },+ {+ "path": "/images/product/auth/discord-icon.svg",+ "alt": "discord auth login icon"+ },+ {+ "path": "/images/product/auth/facebook-icon.svg",+ "alt": "facebook auth login icon"+ },+ {+ "path": "/images/product/auth/gitlab-icon.svg",+ "alt": "gitlab auth login icon"+ },+ {+ "path": "/images/product/auth/google-icon.svg",+ "alt": "google auth login icon"+ },+ {+ "path": "/images/product/auth/messagebird-icon.svg",+ "alt": "messagebird auth login icon"+ },+ {+ "path": "/images/product/auth/microsoft-icon.svg",+ "alt": "microsoft auth login icon"+ },+ {+ "path": "/images/product/auth/slack-icon.svg",+ "alt": "slack auth login icon"+ },+ {+ "path": "/images/product/auth/spotify-icon.svg",+ "alt": "spotify auth login icon"+ },+ {+ "path": "/images/product/auth/twitch-icon.svg",+ "alt": "twitch auth login icon"+ },+ {+ "path": "/images/product/auth/twitter-icon.svg",+ "alt": "twitter auth login icon"+ },+ {+ "path": "/images/product/auth/twilio-icon.svg",+ "alt": "twilio auth login icon"+ }+]\ No newline at end of filediff --git a/www/pages/auth/Auth.tsx b/www/pages/auth/Auth.tsxindex 690d4c66f3f..71d82a28877 100644--- a/www/pages/auth/Auth.tsx+++ b/www/pages/auth/Auth.tsx@@ -28,6 +28,7 @@ import SectionContainer from '~/components/Layouts/SectionContainer'import APISection from '~/components/Sections/APISection'import GithubExamples from '~/components/Sections/GithubExamples'import ProductHeader from '~/components/Sections/ProductHeader'+import AuthProviders from '~/data/auth.json'type Props = {darkMode: boolean@@ -107,18 +108,6 @@ function AuthPage(props: Props) {<div className="mb-10 lg:mb-0 col-span-12 lg:col-span-3"><p className="mb-4"><div className="flex items-center flex-wrap xl:w-64">- <img- className="mb-2 mr-2"- src={`${basePath}/images/product/auth/google-icon.svg`}- width={21}- alt="google auth login icon"- />- <img- className="mb-2 mr-2"- src={`${basePath}/images/product/auth/facebook-icon.svg`}- width={21}- alt="facebook auth login icon"- /><div className="mb-2 mr-2"><svgxmlns="http://www.w3.org/2000/svg"@@ -132,72 +121,16 @@ function AuthPage(props: Props) {/></svg></div>- <img- className="mb-2 mr-2"- src={`${basePath}/images/product/auth/gitlab-icon.svg`}- width={21}- alt="gitlab auth login icon"- />- <img- className="mb-2 mr-2"- src={`${basePath}/images/product/auth/bitbucket-icon.svg`}- width={21}- alt="bitbucket auth login icon"- />- <img- className="mb-2 mr-2"- src={`${basePath}/images/product/auth/twitter-icon.svg`}- width={21}- alt="twitter auth login icon"- />- <img- className="mb-2 mr-2"- src={`${basePath}/images/product/auth/apple-icon.svg`}- width={21}- alt="apple auth login icon"- />- <img- className="mb-2 mr-2"- src={`${basePath}/images/product/auth/discord-icon.svg`}- width={21}- alt="discord auth login icon"- />- <img- className="mb-2 mr-2"- src={`${basePath}/images/product/auth/microsoft-icon.svg`}- width={21}- alt="microsoft auth login icon"- />- <img- className="mb-2 mr-2"- src={`${basePath}/images/product/auth/messagebird-icon.svg`}- width={21}- alt="messagebird auth login icon"- />- <img- className="mb-2 mr-2"- src={`${basePath}/images/product/auth/twilio-icon.svg`}- width={21}- alt="twilio auth login icon"- />- <img- className="mb-2 mr-2"- src={`${basePath}/images/product/auth/twitch-icon.svg`}- width={21}- alt="twitch auth login icon"- />- <img- className="mb-2 mr-2"- src={`${basePath}/images/product/auth/spotify-icon.svg`}- width={21}- alt="spotify auth login icon"- />- <img- className="mb-2 mr-2"- src={`${basePath}/images/product/auth/slack-icon.svg`}- width={21}- alt="slack auth login icon"- />+ {AuthProviders.map((auth) => {+ return (+ <img+ className="mb-2 mr-2"+ src={`${basePath}${auth.path}`}+ width={21}+ alt={auth.alt}+ />+ )+ })}</div></p><Typography.Title level={4}>All the social providers</Typography.Title>