Skip to content

Make an embeddable preact component/web app that generates copy-pastable embeds #127

@osdiab

Description

@osdiab

Once #124 is in, then we can make a preact component that asks for info about the nonprofit, and spits out a copy-pastable embed, which we can ultimately host from embeds.every.org and also potentially the main Every.org site.

Would be nice if this was exported to npm for our main app to consume. eventually we can also just use API calls to pull most of the requisite data from our API, using the nonprofit slug (and just allow things to be overridden by hadn in this component); it might already work as is but need to check that.

Example URL: https://www.every.org/api/nonprofits/MAPS , and we can already use our Partner Search API to get the nonprofit slugs quickly.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions