Skip to content

Create submit your business page#4726

Closed
Robertg761 wants to merge 1 commit into
bitcoin-dot-org:masterfrom
Robertg761:codex/submit-business-page
Closed

Create submit your business page#4726
Robertg761 wants to merge 1 commit into
bitcoin-dot-org:masterfrom
Robertg761:codex/submit-business-page

Conversation

@Robertg761
Copy link
Copy Markdown

Summary

  • add a dedicated translated submit-business template for merchants who want free visibility
  • route the Getting Started visibility CTA to the new page
  • add the requested visibility link from the Bitcoin for Businesses page
  • add submit-business URL slugs for all current languages so localized pages do not generate broken links

Notes

I saw #4721 after starting from the issue. This PR is intentionally a fuller implementation: it avoids a hard-coded /en/submit-business link, uses translated strings, adds the business-page link requested in the issue discussion, and uses the current directory/map services already referenced on the Spending Bitcoin page.

Testing

  • ruby -e 'require "yaml"; Dir["_translations/*.yml"].each { |f| YAML.load_file(f) }; puts "yaml ok"'\n- ruby -e 'require "yaml"; missing=[]; Dir["_translations/*.yml"].each do |f| lang=File.basename(f,".yml"); data=YAML.load_file(f).fetch(lang); missing << [lang,"url"] unless data.dig("url","submit-business") == "submit-business"; end; abort(missing.inspect) unless missing.empty?; puts "submit-business route present for #{Dir["_translations/*.yml"].size} languages"'\n- ruby -e 'require "yaml"; en=YAML.load_file("_translations/en.yml")["en"]; %w[title pagetitle summary local-map local-map-text online-search online-search-text business-directory business-directory-text show-bitcoin show-bitcoin-text].each { |k| abort("missing #{k}") unless en["submit-business"][k].is_a?(String) && !en["submit-business"][k].empty? }; puts "submit-business English strings present"'\n- git diff --check\n\nFull bundle install / Jekyll build could not be run locally because this machine has Ruby 2.6.10 while the Gemfile pins Ruby 2.5.8.\n\nCloses Create custom page for "Submit your business" #1583

@Robertg761
Copy link
Copy Markdown
Author

Bounty payout address for this submission, if PR #4726 is merged for issue #1583: 17ovQWiPzWroaDf8yh3kVQkyhT1pBG87fo

@Robertg761 Robertg761 closed this by deleting the head repository May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant