A CLI for publishing standard.site documents to ATProto sequoia.pub
standard site lexicon cli publishing

feat: Subscribe button #16

closed opened by heaths.dev

It would be great to have another UI component to add to a site to subscribe to a publication, much like on https://leaflet.pub. I was able to create a record in my PDS using goat, but a user-friendly button would be ideal for most users.

Something like,

<button>
<svg width="16" height="16" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" fill="currentColor"></path></svg>
Subscribe with Bluesky
</button>

I see you already have an SVG so I can just use that. I have the start of a component, but sequoia.pub would need to support a callback similar to leaflet.pub. You open to that? I can add that as well.

I like this!! Totally down with having a callback on sequoia.pub, would open up the possibility to create comments without redirecting to bluesky too. Right now sequoia.pub its a static site using a docs framework called vocs (which I would like to keep). Since it's hosted on Cloudflare I believe we can switch from a pages project to a worker project using Hono that serves the static assets. Let me see if I can get a PR open for that.

I'm also excited for this. Still working on getting a knot setup, but ... https://github.com/stevedylandev/sequoia/pull/7

Please don't pass off other people's commits as your own in a PR, at least from what I saw in the GitHub PR.

Completed in PR #25!

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 3
AT URI
at://did:plc:tg3tb5wukiml4xmxml6qm637/sh.tangled.repo.issue/3mfdzzre2in22