Skip to content

Commit

Permalink
appstore redirect page, meta fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
FloppiTuna committed Oct 10, 2023
1 parent 9b2f5bb commit 2b208a7
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions appredirect.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<head>
<title>Redirecting to the App Store...</title>
</head>
<body>
<marquee><div id="visibleText"></div></marquee>
<noscript>
<h1>Sorry...</h1>
<p>We couldn't automatically redirect you to your device's app store page for Edforma.</p>
<ul>

<li><a href="https://apps.apple.com/us/app/edforma/id1639822575?itsct=apps_box_badge&amp;itscg=30200">
<p>Go to the iOS App Store page.</p>
</a></li>

<li><a href='https://play.google.com/store/apps/details?id=app.edforma.edforma&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'>
<p>Go to the Google Play Store page.</p>
</a></li>
</ul>
</noscript>
<script>
let bodyText = document.getElementById('visibleText');
if (navigator.userAgent.match(/Android/i)) {
bodyText.innerHTML = 'Redirecting to the Play Store...';
document.location.href = 'https://play.google.com/store/apps/details?id=app.edforma.edforma&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1';
} else if (navigator.userAgent.match(/iPhone|iPad|iPod/i)) {
bodyText.innerHTML = 'Redirecting to the App Store...';
document.location.href = 'https://apps.apple.com/us/app/edforma/id1639822575?itsct=apps_box_badge&amp;itscg=30200';
}
</script>
</body>
</html>
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="" />
<meta name="description" content="Your mobile Conroe ISD companion." />
<meta name="author" content="" />
<title>Edforma</title>
<!-- Favicon-->
Expand Down

0 comments on commit 2b208a7

Please sign in to comment.