The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix blog links display (#21419)
Francesco Sansalvadoreccfe49fcbed0
diff --git a/apps/www/lib/mdx/mdxComponents.tsx b/apps/www/lib/mdx/mdxComponents.tsxindex e9a4079bcd4..3dd6c3c15e3 100644--- a/apps/www/lib/mdx/mdxComponents.tsx+++ b/apps/www/lib/mdx/mdxComponents.tsx@@ -43,8 +43,13 @@ const getCaptionAlign = (align?: 'left' | 'center' | 'right') => {}const LinkComponent = (props: PropsWithChildren<HTMLAnchorElement>) => (- <a href={props.href} target={props.target} className="inline-flex">- {props.children} {props.target === '_blank' && <IconArrowUpRight className="w-3" />}+ <a+ href={props.href}+ target={props.target}+ className={cn('inline relative [&_p]:inline', props.target === '_blank' && 'mr-4')}+ >+ {props.children}{' '}+ {props.target === '_blank' && <IconArrowUpRight className="absolute -right-3.5 w-3 top-0" />}</a>)@@ -132,7 +137,6 @@ export default function mdxComponents(type?: 'blog' | 'lp' | undefined) {</figure>),Link: LinkComponent,- a: LinkComponent,code: (props: any) => <InlineCodeTag>{props.children}</InlineCodeTag>,BlogCollapsible: (props: any) => <BlogCollapsible {...props} />,Admonition,