From 3ca38afebbf19e4f751a1c41a057a43cb6be709f Mon Sep 17 00:00:00 2001 From: Ryan Salazar Date: Fri, 22 May 2026 05:17:19 +0000 Subject: [PATCH] homepage industry news: add LinkedIn/X/Facebook/Reddit/WhatsApp/Email share row under Read More on every article card --- src/app/home-page/components/ArticleFeed.tsx | 49 ++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/src/app/home-page/components/ArticleFeed.tsx b/src/app/home-page/components/ArticleFeed.tsx index 8e83a05..b7d1ba9 100644 --- a/src/app/home-page/components/ArticleFeed.tsx +++ b/src/app/home-page/components/ArticleFeed.tsx @@ -703,6 +703,55 @@ export default function ArticleFeed() { Read More... + + {/* Inline social share row */} + {(() => { + const shareUrl = `https://broadcastbeat.com${articleHref.startsWith('/') ? articleHref : `/articles/${article?.slug}`}`; + const shareTitle = article?.title || ''; + return ( +
+ Share: + e.stopPropagation()} + className="flex items-center justify-center w-6 h-6 rounded-sm text-[#666] hover:text-[#0a66c2] hover:bg-[#1a1a1a] transition-colors"> + + + e.stopPropagation()} + className="flex items-center justify-center w-6 h-6 rounded-sm text-[#666] hover:text-white hover:bg-[#1a1a1a] transition-colors"> + + + e.stopPropagation()} + className="flex items-center justify-center w-6 h-6 rounded-sm text-[#666] hover:text-[#1877f2] hover:bg-[#1a1a1a] transition-colors"> + + + e.stopPropagation()} + className="flex items-center justify-center w-6 h-6 rounded-sm text-[#666] hover:text-[#ff4500] hover:bg-[#1a1a1a] transition-colors"> + + + e.stopPropagation()} + className="flex items-center justify-center w-6 h-6 rounded-sm text-[#666] hover:text-[#25d366] hover:bg-[#1a1a1a] transition-colors"> + + + e.stopPropagation()} + className="flex items-center justify-center w-6 h-6 rounded-sm text-[#666] hover:text-[#3b82f6] hover:bg-[#1a1a1a] transition-colors"> + + +
+ ); + })()} {inFeedAd && (