/gatsby-starter-web-monetization-theme-portfolio

Starter for a photography portfolio site using Gatsby Theme Web Monetization

Primary LanguageJavaScriptMIT LicenseMIT

Gatsby Theme Web Monetization — Portfolio Site Example

Usage example of gatsby-theme-web-monetization for a photography site, which includes importing and modifying components.

🔗 Demo

🛠 Step-by-step post on how I add the theme to this site

Deploy to Netlify


❓ How to use

  1. Clone this repository to make a new site from this example
    • …or use the Gatsby CLI, gatsby new my-monetized-site https://github.com/ekafyi/gatsby-starter-web-monetization-theme-portfolio
    • …or use the Netlify deploy button above
  2. Add your payment pointer in gatsby-config.js
  3. Add your content in content
  4. ??
  5. Profit

Head to the themes’ documentation for more information about their usage:

⚠️ Warning

This example serves as an MVP which aims to demonstrates how the Web Monetization API works.

Wrapping your “exclusive” (monetized-only) content in the IfWebMonetized component is not secure. The content still gets sent, just not rendered; it will be easy for tech-savvy visitors to find it. Don’t use it for sensitive data, and consider using serverless/cloud functions for better security.

Also, make sure your source code (eg. Github repository) is set to private. 😬