Skip to content

Fix broken LinkedIn share and Copy Link buttons - #310

Open
h30s wants to merge 2 commits into
OpenScienceLabs:mainfrom
h30s:fix-share-buttons
Open

h30s wants to merge 2 commits into
OpenScienceLabs:mainfrom
h30s:fix-share-buttons

Conversation

@h30s

@h30s h30s commented Sep 21, 2026

Copy link
Copy Markdown

Resolves #305

This PR fixes the LinkedIn share and Copy Link buttons on blog posts and the blog list:

  • Point LinkedIn share buttons to the LinkedIn sharing endpoint (https://www.linkedin.com/sharing/share-offsite/?url=...) with target="_blank".
  • Add a click handler for the Copy Link (.link_yank) buttons to copy the post URL to the clipboard and display visual feedback ("Copied!" tooltip).
  • Add automated tests to verify the markup and copy interactions.

@netlify

netlify Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for opensciencelabsweb ready!

Name Link
🔨 Latest commit fdd5cb0
🔍 Latest deploy log https://app.netlify.com/projects/opensciencelabsweb/deploys/6ab1732ee7bf470009e81a1f
😎 Deploy Preview https://deploy-preview-310--opensciencelabsweb.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@h30s
h30s force-pushed the fix-share-buttons branch 3 times, most recently from fc20716 to ada4b3f Compare September 21, 2026 18:00
@h30s
h30s force-pushed the fix-share-buttons branch from ada4b3f to 69dcabf Compare September 21, 2026 18:04

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix broken "Share on LinkedIn" and "Copy Link" buttons on blog posts and blog list

1 participant