mirror of
https://github.com/status-im/universal-links-handler.git
synced 2025-02-24 08:38:18 +00:00
changes: - Makes the Open in Status button trigger redirectToAppOrStore() JS method on click - redirectToAppOrStore() redirects to a status-im:// deep link and Play/App store after 500 ms - The redirect to Play Store includes the referrer URL argument with additional arguments - The additional arguments include out, invite, and cid, necessary for starter packs Signed-off-by: Jakub Sokołowski <jakub@status.im>
25 lines
883 B
Plaintext
25 lines
883 B
Plaintext
<section class="join-content p-b-160 p-t-160 text-center">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<h3 id="header" class="break-word"><%- headerName %></h3>
|
|
<%if (locals.qrUri) { %>
|
|
<img class="qr-code" src="<%= qrUri %>" />
|
|
<% } %>
|
|
<div class="row">
|
|
<div class="col-md-6 ml-auto mr-auto text-center">
|
|
<div class="copy">
|
|
<div class="inner" id="copy-target"><%= mainTarget %></div>
|
|
<a href="#" data-clipboard-target="#copy-target">Copy</a>
|
|
</div>
|
|
<button href="status-im:/<%= path %>" onclick="return redirectToAppOrStore();" class="btn btn-purple-fill">Open in Status</button>
|
|
<div class="info">
|
|
<%- info %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|