mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-16 22:00:23 +00:00
website: point the testing-water Reserve link at the interest form
testing-water "Reserve now" now links to the testing-the-waters indication-of-interest form (reserveUrl). The crowdfunding-full "Invest" CTA keeps the Wefunder placeholder (wefunderUrl) until that page is live. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
fabe89f0cb
commit
55e685cc0f
@@ -98,7 +98,9 @@ module.exports = function (ty) {
|
||||
// Home first-section variant: "default" | "testing-water" | "crowdfunding-full".
|
||||
// Selects which hero index.html renders; "default" = the current site, untouched.
|
||||
ty.addGlobalData("homeHero", "default")
|
||||
// TODO: replace with the live SimpleX campaign URL once the Wefunder page exists.
|
||||
// testing-water "Reserve now" -> the testing-the-waters interest form
|
||||
ty.addGlobalData("reserveUrl", "https://simplexchat.typeform.com/crowdfunding")
|
||||
// crowdfunding-full "Invest" CTA -- placeholder until the Wefunder campaign page is live
|
||||
ty.addGlobalData("wefunderUrl", "https://wefunder.com/")
|
||||
|
||||
ty.addShortcode("cfg", (name) => globalConfig[name])
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
{%- if homeHero == 'testing-water' -%}
|
||||
<div class="cf-reserve">
|
||||
<p class="cf-reserve-h">{{ "index-hero-cf-reserve-h" | i18n({}, lang) | safe }}
|
||||
<a class="gradient-text" href="{{ wefunderUrl }}" target="_blank" rel="noopener">{{ "index-hero-cf-reserve-cta" | i18n({}, lang) | safe }}</a>
|
||||
<a class="gradient-text" href="{{ reserveUrl }}" target="_blank" rel="noopener">{{ "index-hero-cf-reserve-cta" | i18n({}, lang) | safe }}</a>
|
||||
</p>
|
||||
<p class="cf-disclaimer">{{ "index-hero-cf-disclaimer" | i18n({}, lang) | safe }}</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user