fix: temporarily hide LinkedIn links and share button
Remove LinkedIn integration from AuthorCard, ShareButtons, and homepage components while keeping the code commented for potential future restoration
This commit is contained in:
@@ -93,6 +93,7 @@ export default function AuthorCard({ lang, author }: AuthorCardProps) {
|
||||
</a>
|
||||
)}
|
||||
|
||||
{/* LinkedIn link temporarily hidden
|
||||
{authorInfo.linkedin && (
|
||||
<a
|
||||
href={authorInfo.linkedin}
|
||||
@@ -106,6 +107,7 @@ export default function AuthorCard({ lang, author }: AuthorCardProps) {
|
||||
</svg>
|
||||
</a>
|
||||
)}
|
||||
*/}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -29,6 +29,7 @@ export default function ShareButtons({ lang, title, url }: ShareButtonsProps) {
|
||||
),
|
||||
color: 'hover:bg-blue-500/10 hover:text-blue-500'
|
||||
},
|
||||
/* LinkedIn share button temporarily hidden
|
||||
{
|
||||
name: 'LinkedIn',
|
||||
url: `https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(shareUrl)}`,
|
||||
@@ -39,6 +40,7 @@ export default function ShareButtons({ lang, title, url }: ShareButtonsProps) {
|
||||
),
|
||||
color: 'hover:bg-blue-600/10 hover:text-blue-600'
|
||||
},
|
||||
*/
|
||||
{
|
||||
name: 'Facebook',
|
||||
url: `https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(shareUrl)}`,
|
||||
|
||||
Reference in New Issue
Block a user