The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
typography fixes
Jonathan Summers-Muir67842b2360b1
diff --git a/www/components/Carousels/SplitCodeBlockCarousel.tsx b/www/components/Carousels/SplitCodeBlockCarousel.tsxindex be804aebbb9..ee4e7cb1197 100644--- a/www/components/Carousels/SplitCodeBlockCarousel.tsx+++ b/www/components/Carousels/SplitCodeBlockCarousel.tsx@@ -60,13 +60,14 @@ function SplitCodeBlockCarousel(props: SplitCodeBlockCarousel) {)return (- <div className="col-span-12 lg:col-span-6 lg:col-start-7 sbui-tabs--alt">+ <div className="col-span-12 lg:col-span-6 lg:col-start-7 sbui-tabs--alt space-y-2"><Tabsscrollable// @ts-ignoreactiveId={apiSwiperActiveIndex.toString()}// @ts-ignoreonChange={(id: string) => handleApiSwiperNavChange(Number(id))}+ type="pills">{props.content.map((extension, i) => {return (@@ -76,78 +77,73 @@ function SplitCodeBlockCarousel(props: SplitCodeBlockCarousel) {)})}</Tabs>- <div className="border border-gray-100 dark:border-gray-600 rounded-md bg-scale-300 overflow-hidden">++ <Swiper+ // @ts-ignore+ onSwiper={setApiSwiper}+ style={{ zIndex: 0 }}+ initialSlide={apiSwiperActiveIndex}+ spaceBetween={0}+ slidesPerView={1}+ speed={300}+ autoHeight={true}+ allowTouchMove={false}+ >+ {props.content.map((extension, i) => {+ return (+ <SwiperSlide key={i}>+ <CodeBlock key={i} lang={extension.lang}>+ {extension.code}+ </CodeBlock>+ </SwiperSlide>+ )+ })}+ </Swiper>++ <div className="overflow-hidden p-8 bg-scale-100 dark:bg-scale-300 rounded-md border border-scale-500"><Swiper// @ts-ignore- onSwiper={setApiSwiper}+ onSwiper={setSwiperDetails}style={{ zIndex: 0 }}- initialSlide={apiSwiperActiveIndex}+ initialSlide={0}spaceBetween={0}slidesPerView={1}+ direction="horizontal"+ // style={{ overflow: 'hidden' }}speed={300}- autoHeight={true}allowTouchMove={false}>{props.content.map((extension, i) => {return (<SwiperSlide key={i}>- <CodeBlock key={i} lang={extension.lang}>- {extension.code}- </CodeBlock>+ <p>+ <span className="block text-lg text-scale-1200 dark:text-white mb-4">+ {extension.detail_title}+ </span>+ </p>+ <p className="p block mb-6">{extension.detail_text}</p>+ <Space className="justify-between">+ {extension.url && (+ <Link href={extension.url} as={extension.url}>+ <a className="ml-px">+ <Button as="a" type="default">+ View documentation+ </Button>+ </a>+ </Link>+ )}+ <div>+ <p className="p mr-4">{extension.badges_label}</p>+ {extension.badges &&+ extension.badges.map((badge, i) => {+ return <Badge key={badge}>{badge}</Badge>+ })}+ </div>+ </Space></SwiperSlide>)})}</Swiper>-- <div className="overflow-hidden p-8 bg-scale-300 rounded-md border border-t-none border-t-0 border-gray-600">- <Swiper- // @ts-ignore- onSwiper={setSwiperDetails}- style={{ zIndex: 0 }}- initialSlide={0}- spaceBetween={0}- slidesPerView={1}- direction="horizontal"- // style={{ overflow: 'hidden' }}- speed={300}- allowTouchMove={false}- >- {props.content.map((extension, i) => {- return (- <SwiperSlide key={i}>- <div className="">- <p>- <span className="block text-lg text-scale-1200 dark:text-white mb-4">- {extension.detail_title}- </span>- </p>- <p className="block mb-6">- <p>{extension.detail_text}</p>- </p>- <Space className="justify-between">- {extension.url && (- <Link href={extension.url} as={extension.url}>- <a className="ml-px">- <Button as="a" type="default">- View documentation- </Button>- </a>- </Link>- )}- <div>- <p className="mr-4">{extension.badges_label}</p>- {extension.badges &&- extension.badges.map((badge, i) => {- return <Badge key={badge}>{badge}</Badge>- })}- </div>- </Space>- </div>- </SwiperSlide>- )- })}- </Swiper>- </div></div></div>)diff --git a/www/components/CodeBlock/CodeBlock.module.css b/www/components/CodeBlock/CodeBlock.module.cssindex 22e3916caf0..91af93b19cc 100644--- a/www/components/CodeBlock/CodeBlock.module.css+++ b/www/components/CodeBlock/CodeBlock.module.css@@ -1,6 +1,6 @@.code-block {- @apply rounded-lg;- @apply border border-scale-600;+ @apply rounded-lg overflow-hidden;+ @apply border border-scale-500;}.code-block::before {diff --git a/www/components/CodeBlock/CodeBlock.tsx b/www/components/CodeBlock/CodeBlock.tsxindex c18b804d6be..bacdd853ae3 100644--- a/www/components/CodeBlock/CodeBlock.tsx+++ b/www/components/CodeBlock/CodeBlock.tsx@@ -66,7 +66,7 @@ function CodeBlock(props: Props) {{!props.hideCopy && props.children ? (<div className="absolute right-2 top-2 dark"><CopyToClipboard text={props.children}>- <Button type="outline" className="dark:bg-dark-800" icon={<IconCopy />}>+ <Button type="default" icon={<IconCopy />}>Copy</Button></CopyToClipboard>diff --git a/www/pages/auth/Auth.tsx b/www/pages/auth/Auth.tsxindex 8b82f31d131..eda48cfc38e 100644--- a/www/pages/auth/Auth.tsx+++ b/www/pages/auth/Auth.tsx@@ -128,40 +128,30 @@ function AuthPage() {})}</div></p>- <h4>All the social providers</h4>- <p>- <p className="text-base">- Enable social logins with the click of a button. Google, Facebook, GitHub, Azure,- Gitlab, Twitter, Discord, and many more.- </p>+ <h4 className="h4">All the social providers</h4>+ <p className="p text-base">+ Enable social logins with the click of a button. Google, Facebook, GitHub, Azure,+ Gitlab, Twitter, Discord, and many more.</p></div><div className="mb-10 lg:mb-0 col-span-12 lg:col-span-3 lg:col-start-5">- <p>- <p className="mb-4">- <IconLink />- </p>+ <p className="p mb-4">+ <IconLink /></p>- <h4>Fully integrated</h4>- <p>- <p className="text-base">- Incredibly simple Auth, without a single external authentication service. Built-in- Authentication, Authorization, and User Management.- </p>+ <h4 className="h4">Fully integrated</h4>+ <p className="p text-base">+ Incredibly simple Auth, without a single external authentication service. Built-in+ Authentication, Authorization, and User Management.</p></div><div className="col-span-12 lg:col-span-3 lg:col-start-9">- <p>- <p className="mb-4">- <IconShield />- </p>+ <p className="p mb-4">+ <IconShield /></p>- <h4>Own your data</h4>- <p>- <p className="text-base">- User data stored in your Supabase database so you never have to worry about 3rd- party privacy issues. Host your data in 8 different locations.- </p>+ <h4 className="h4">Own your data</h4>+ <p className="p text-base">+ User data stored in your Supabase database so you never have to worry about 3rd+ party privacy issues. Host your data in 8 different locations.</p></div></div>@@ -253,10 +243,10 @@ function AuthPage() {</div></SectionContainer>- <SectionContainer>+ {/* <SectionContainer><div className="grid grid-cols-12 lg:gap-16"><div className="order-last col-span-12 lg:order-first lg:col-span-6 mt-8 lg:mt-0">- {/* <AuthComponentExample /> */}+ <AuthComponentExample /></div><div className="col-span-12 lg:col-span-6 lg:col-start-7 xl:col-span-4 xl:col-start-8"><div className="mb-4 flex items-center space-x-2">@@ -308,7 +298,7 @@ function AuthPage() {</div></div></div>- </SectionContainer>+ </SectionContainer> */}<CTABanner /></DefaultLayout></>