Files
squid 3a1bd1f45d
Frontend CI / build (push) Successful in 8h1m33s
BLOG-205 Add social media share buttons (#299)
## Description

Add social media sharing to the post content page.

- Extract a reusable `ShareButton` component that renders an `<a>` when a share URL is provided, or a `<button>` for click-based actions, and takes the icon through a `children` snippet.
- Add share buttons on the post page: LinkedIn, Facebook, X, and Email, plus a native share button (Web Share API) that is shown on mobile only.
- Add share URL builders to `Links` (`EMAIL_SHARE`, `FACEBOOK_SHARE`, `LINKEDIN_SHARE`, `X_SHARE`) and the related labels to `Strings`.
- Move the footer icon labels into `Strings` and add a project skill documenting the frontend strings/links conventions.

## Package Changes

_No response_

## Screenshots

<!-- TODO: add screenshots of the share buttons -->

## Reference

Resolves #205

## Checklist

- [x] A milestone is set
- [x] The related issues has been linked to this branch

---

Generated by Zed coding agent with Deepseek Flash

Reviewed-on: #299
Co-authored-by: SquidSpirit <squid@squidspirit.com>
2026-09-23 03:38:38 +08:00

3 lines
15 B
Plaintext