Add 'Submit Your Business' page for merchants#4610
Add 'Submit Your Business' page for merchants#4610refined-element wants to merge 2 commits intobitcoin-dot-org:masterfrom
Conversation
Create a dedicated page for businesses wanting to list themselves in Bitcoin directories, including: - Coinmap, BTC Map, BitcoinWide, and AcceptedHere directory links - Tips for creating effective listings - Benefits of accepting Bitcoin Also updates the "visibility" link on getting-started page to point to the new submit-your-business page. Addresses bounty bitcoin-dot-org#1583 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR creates a dedicated "Submit Your Business" page that helps merchants list their business in Bitcoin directories, replacing the external link previously used in the getting-started page. The implementation addresses issue #1583 by providing a centralized resource on bitcoin.org for merchant visibility.
Changes:
- Added a new page template with cards for four major Bitcoin directories (Coinmap, BTC Map, BitcoinWide, AcceptedHere)
- Added all necessary English translations for the new page content
- Updated the getting-started page to link to the new submit-your-business page instead of spend-bitcoin
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| _templates/submit-your-business.html | New page template with directory submission links, tips for merchants, and benefits of accepting Bitcoin |
| _translations/en.yml | Added all translation keys for the new page and URL mapping for submit-your-business |
| _templates/getting-started.html | Updated the "visibility" section link to point to the new submit-your-business page |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
_templates/submit-your-business.html
Outdated
| <h2 id="bitcoinwide">{% translate bitcoinwide %}</h2> | ||
| <p>{% translate bitcoinwidetext %}</p> | ||
| <div> | ||
| <a class="btn-bright" href="https://bitcoinwide.com/submit" target="_blank" rel="noopener">{% translate bitcoinwidebut %}</a> |
There was a problem hiding this comment.
The use of target="_blank" for external links is inconsistent with the existing codebase conventions. In the getting-started.html template, external links to bitcoin.it wiki (lines 104, 117) don't use target="_blank". While adding rel="noopener" is a security best practice, the use of target="_blank" itself should match the established pattern in similar contexts. Consider removing target="_blank" from these links to maintain consistency, or ensure this deviation is intentional and documented.
_templates/submit-your-business.html
Outdated
| <h2 id="acceptedhere">{% translate acceptedhere %}</h2> | ||
| <p>{% translate acceptedheretext %}</p> | ||
| <div> | ||
| <a class="btn-bright" href="https://www.acceptedhere.io/submit-listing/" target="_blank" rel="noopener">{% translate acceptedherebut %}</a> |
There was a problem hiding this comment.
The use of target="_blank" for external links is inconsistent with the existing codebase conventions. In the getting-started.html template, external links to bitcoin.it wiki (lines 104, 117) don't use target="_blank". While adding rel="noopener" is a security best practice, the use of target="_blank" itself should match the established pattern in similar contexts. Consider removing target="_blank" from these links to maintain consistency, or ensure this deviation is intentional and documented.
_templates/submit-your-business.html
Outdated
| <h2 id="coinmap">{% translate coinmap %}</h2> | ||
| <p>{% translate coinmaptext %}</p> | ||
| <div> | ||
| <a class="btn-bright" href="https://coinmap.org/add/" target="_blank" rel="noopener">{% translate coinmapbut %}</a> |
There was a problem hiding this comment.
The use of target="_blank" for external links is inconsistent with the existing codebase conventions. In the getting-started.html template, external links to bitcoin.it wiki (lines 104, 117) don't use target="_blank". While adding rel="noopener" is a security best practice, the use of target="_blank" itself should match the established pattern in similar contexts. Consider removing target="_blank" from these links to maintain consistency, or ensure this deviation is intentional and documented.
_templates/submit-your-business.html
Outdated
| <h2 id="btcmap">{% translate btcmap %}</h2> | ||
| <p>{% translate btcmaptext %}</p> | ||
| <div> | ||
| <a class="btn-bright" href="https://btcmap.org/add-location" target="_blank" rel="noopener">{% translate btcmapbut %}</a> |
There was a problem hiding this comment.
The use of target="_blank" for external links is inconsistent with the existing codebase conventions. In the getting-started.html template, external links to bitcoin.it wiki (lines 104, 117) don't use target="_blank". While adding rel="noopener" is a security best practice, the use of target="_blank" itself should match the established pattern in similar contexts. Consider removing target="_blank" from these links to maintain consistency, or ensure this deviation is intentional and documented.
Address review feedback: other pages in the codebase don't use target="_blank" for external links, so removing it here to maintain consistency. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Summary
This PR creates a dedicated "Submit Your Business" page that helps merchants list their business in Bitcoin directories. This addresses the issue of directing users to external sites by providing a centralized resource on bitcoin.org.
Changes:
New template:
_templates/submit-your-business.htmlUpdated translations:
_translations/en.ymlsubmit-your-businessUpdated getting-started:
_templates/getting-started.htmlAddresses
This PR addresses bounty #1583: "Create custom page for 'Submit your business'"
#1583
Payment Address
Bitcoin address for bounty payment:
bc1qax8d6etvphms3tqqc7hy52vas4af7ezv4msvqd🤖 Generated with Claude Code