Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update ShareArticleActions.tsx Fixed inaccessible links in blog (#18879)

Rahul Vaniya4302fddba2ec
diff --git a/apps/www/components/Blog/ShareArticleActions.tsx b/apps/www/components/Blog/ShareArticleActions.tsx
index b2dff074b14..c04f435f905 100644
--- a/apps/www/components/Blog/ShareArticleActions.tsx
+++ b/apps/www/components/Blog/ShareArticleActions.tsx
@@ -4,6 +4,7 @@ import { IconLinkedinSolid, IconTwitterX, IconYCombinator } from 'ui'
const ShareArticleActions = ({ title, slug }: { title: string; slug: string }) => (
<div className="mt-4 flex items-center space-x-4">
<Link
+ aria-label="Share on X"
href={`https://twitter.com/share?text=${title}&url=https://supabase.com/blog/${slug}`}
target="_blank"
className="text-foreground-lighter hover:text-foreground"
@@ -12,6 +13,7 @@ const ShareArticleActions = ({ title, slug }: { title: string; slug: string }) =
</Link>
<Link
+ aria-label="Share on Linkedin"
href={`https://www.linkedin.com/shareArticle?url=https://supabase.com/blog/${slug}&title=${title}`}
target="_blank"
className="text-foreground-lighter hover:text-foreground"
@@ -19,6 +21,7 @@ const ShareArticleActions = ({ title, slug }: { title: string; slug: string }) =
<IconLinkedinSolid size={24} />
</Link>
<Link
+ aria-label="Share on Hacker News"
href={`https://news.ycombinator.com/submitlink?u=https://supabase.com/blog/${slug}&t=${title}`}
target="_blank"
className="text-foreground-lighter hover:text-foreground"