Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@apollosproject/apollos-embeds
Advanced tools
Apollo React Embeds are pre-built components that can be easily added to third-party websites, such as Webflow. These components provide a convenient way to integrate features such as authentication, a feature feed, and a banner widget, and ensure a consistent look and feel across all digital products.
Follow the steps below to deploy your apollos-embeds:
package.json
file.npm run build:widget
to build the new version of the widget.npm publish
. Note that you need to be a member of the apollosproject organization to publish.The JS file used to embed these widgets is hosted on GitHub and picked up by jsdelivr.com automatically, as long as the repository is public.
That's it! Your updated version of the apollos-embeds will be available for use.
⚠️ React needs to be imported in every file it is used, otherwise the js build file will error when you embed it in your website.
Copy the following script tags into your Webflow website. In your Dashboard, you should see the tab 'Custom Code'. Scroll to the bottom and paste the following script tags in the Footer Code block: html
<link href="https://cdn.jsdelivr.net/npm/@apollosproject/apollos-embeds@0.0.7/widget/index.css" rel="stylesheet"/>
<script src="https://cdn.jsdelivr.net/npm/@apollosproject/apollos-embeds@0.0.7/widget/index.js"></script>
⚠️ As new versions of the embeds are published, you will have to update the version number in your script tags. So, the 0.0.7 part of the URLs will increment.
Under the design section of your Webflow website, you need to add a div for each embed you want on your site. Currently, there are two embeds available - 'Auth' and 'FeatureFeed'. You will probably need both of these embeds, so make two divs.
apollos-widget
Class:Add the class apollos-widget
to both of those divs. This is necessary for the embeds to function properly.
To control which embed shows up in which div and what church content is displayed, we use 'data-attributes' or 'Custom attributes' in Webflow.
For the 'Auth' embed, add data-type="Auth"
and data-church=[INSERT_CHURCH_SLUG_HERE]
as custom attributes. Here's an example for Bayside:
<div class="apollos-widget" data-type="Auth" data-church="bayside"> </div>
For the 'FeatureFeed' embed, which displays the church's content, add data-type="FeatureFeed"
and data-church=[INSERT_CHURCH_SLUG_HERE]
as custom attributes. Here's an example for Bayside:
<div class="apollos-widget" data-type="FeatureFeed" data-church="bayside"> </div>
⚠️ Make sure to replace [INSERT_CHURCH_SLUG_HERE] with your church's unique identifier, or 'slug'.
data-type |
---|
Auth |
FeatureFeed |
data-church |
---|
apollos_demo |
bayside |
cedar_creek |
celebration |
chase_oaks |
christ_fellowship |
city_first |
community_christian |
crossings_community_church |
crossroads_kids_club |
crossroads_tv |
default |
eastview |
eleven22 |
fairhaven |
fake |
fake_dag_church |
fellowship_greenville |
fellowship_nwa |
hope_in_real_life |
king_of_kings |
lcbc |
liquid_church |
newspring |
oakcliff |
real_life |
river_valley |
try_grace |
willow_creek |
woodmen |
ymca_gc |
FAQs
Apollos React embed widgets
The npm package @apollosproject/apollos-embeds receives a total of 97 weekly downloads. As such, @apollosproject/apollos-embeds popularity was classified as not popular.
We found that @apollosproject/apollos-embeds demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.