mirror of
https://github.com/status-im/universal-links-handler.git
synced 2025-02-23 16:18:09 +00:00
Merge pull request #5 from status-im/small-tweaks
Updated links and copy
This commit is contained in:
commit
8656ed75ae
@ -21,6 +21,10 @@
|
|||||||
return "https://status.im/success";
|
return "https://status.im/success";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function webURL() {
|
||||||
|
return "https://status.im/";
|
||||||
|
}
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
var appStoreLink = $('.app-store-link');
|
var appStoreLink = $('.app-store-link');
|
||||||
if (isAndroid(navigator.userAgent)) {
|
if (isAndroid(navigator.userAgent)) {
|
||||||
@ -28,7 +32,7 @@
|
|||||||
} else if (isIOS(navigator.userAgent)) {
|
} else if (isIOS(navigator.userAgent)) {
|
||||||
appStoreLink.attr('href', testFlightURL());
|
appStoreLink.attr('href', testFlightURL());
|
||||||
} else {
|
} else {
|
||||||
appStoreLink.attr('href', buildPlayStoreUrl());
|
appStoreLink.attr('href', webURL());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}());
|
}());
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
<head>
|
<head>
|
||||||
<title><%= title %></title>
|
<title><%= title %></title>
|
||||||
|
|
||||||
<meta property="al:ios:url" content="app://get.status.im<%= path %>" />
|
<meta property="al:ios:url" content="status-im:/<%= path %>" />
|
||||||
<meta property="al:ios:app_store_id" content="1178893006" />
|
<meta property="al:ios:app_store_id" content="1178893006" />
|
||||||
<meta property="al:ios:app_name" content="Status — Ethereum. Anywhere" />
|
<meta property="al:ios:app_name" content="Status — Ethereum. Anywhere" />
|
||||||
|
|
||||||
<meta property="al:android:url" content="app://get.status.im<%= path %>" />
|
<meta property="al:android:url" content="status-im:/<%= path %>" />
|
||||||
<meta property="al:android:package" content="im.status.ethereum" />
|
<meta property="al:android:package" content="im.status.ethereum" />
|
||||||
<meta property="al:android:app_name" content="Status — Ethereum. Anywhere" />
|
<meta property="al:android:app_name" content="Status — Ethereum. Anywhere" />
|
||||||
|
|
||||||
@ -16,22 +16,20 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="header">
|
<header class="header">
|
||||||
<a class="logo">
|
<a class="logo" href="https://status.im">
|
||||||
<img src="/images/status-logo-blue-w-text.png" />
|
<img src="/images/status-logo-blue-w-text.png" />
|
||||||
</a>
|
</a>
|
||||||
</header>
|
</header>
|
||||||
<div class="try-it-now">
|
<div class="try-it-now">
|
||||||
<a class='app-store-link' href='#'>
|
<a class='app-store-link' href='#'>
|
||||||
Don't have <strong>Status</strong> yet? Try it now!
|
Download Status!
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<a class="app-store-link">
|
<img src="/images/status-logo-blue.png">
|
||||||
<img src="/images/status-logo-blue.png">
|
|
||||||
</a>
|
|
||||||
<h2><%= title %></h2>
|
<h2><%= title %></h2>
|
||||||
<a class="app-store-link button" href="#">
|
<a class="open-link button" href="status-im:/<%= path %>">
|
||||||
Try Status now
|
Open in Status
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
|
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user