Text and URL adjustments, handle more website URLs

master
Skylar Ittner 12 months ago
parent 89df54c1fe
commit 8e64fdfe62

@ -229,6 +229,8 @@ function initCordova() {
switch (link.path) {
case "/":
break;
case "/app":
break;
case "/track":
if (link.fragment) {
router.navigate("/track/" + link.fragment);
@ -253,21 +255,32 @@ function initCordova() {
router.navigate("/telegram");
break;
case "/das":
router.navigate("/dropandsend");
router.navigate("/das");
break;
case "/das/map":
router.navigate("/dropandsend");
router.navigate("/das");
break;
case "/das/pickup":
if (link.fragment) {
sendPickupCode(link.fragment);
} else {
router.navigate("/dropandsend");
router.navigate("/das");
}
break;
case "/das/account":
router.navigate("/account");
break;
case "/mobile":
case "/mobile/":
router.navigate("/mobile");
break;
case "/postalpoint":
case "/postalpoint/":
router.navigate("/postalpoint");
break;
case "/money":
router.navigate("/moneyorder");
break;
default:
openBrowser(link.url);
break;

@ -160,7 +160,7 @@
<i class="fa-regular fa-qrcode"></i> Scan the Pickup Code to alert us there's a package to send.
</li>
<li>
<i class="fa-duotone fa-receipt"></i> Wait for an emailed receipt from us with the tracking code. Your credit card is automatically billed for the cost of shipping.
<i class="fa-duotone fa-receipt"></i> Wait for an emailed receipt from us with the tracking code. Your credit card is automatically billed for the cost of shipping plus a small pickup fee.
</li>
</ul>
</div>

@ -23,7 +23,7 @@
<div class="row justify-content-center">
{{#each pages}}
<div class="col-100 small-50 large-33 no-margin-vertical">
<div class="card hapticbtn pointercursor" onclick="router.navigate('{{href}}');">
<div class="card hapticbtn pointercursor margin-half" onclick="router.navigate('{{href}}');">
<div class="card-content text-align-center padding">
<h1 class="no-margin"><i class="{{icon}}"></i></h1>
<br />

@ -162,7 +162,7 @@ var routes = [
title: "Send a Package",
href: "/send",
icon: "fa-duotone fa-box-alt",
text: "Find a drop box or schedule a pickup."
text: "Find locations or request a pickup."
},
{
title: "Notarize a Document",
@ -171,10 +171,10 @@ var routes = [
text: "Book a mobile notary visit."
},
{
title: "Write a Telegram",
href: "/telegram",
icon: "fa-duotone fa-typewriter",
text: "Send a hand-delivered telegram anywhere in the Helena area."
title: "My Account",
href: "/account",
icon: "fa-duotone fa-user-circle",
text: "View receipts, get account number, update payment method, and more."
},
{
title: "Shop for Supplies",
@ -182,18 +182,18 @@ var routes = [
icon: "fa-duotone fa-shopping-cart",
text: "Get boxes, labels, and shipping supplies delivered to your door."
},
{
title: "Write a Telegram",
href: "/telegram",
icon: "fa-duotone fa-typewriter",
text: "Send a hand-delivered telegram anywhere in the Helena area."
},
{
title: "Money Services",
href: "/money",
icon: "fa-duotone fa-money-bill-wave",
text: "Manage money orders and cryptocurrency."
},
{
title: "My Account",
href: "/account",
icon: "fa-duotone fa-user-circle",
text: "View receipts, get account number, update payment method, and more."
},
}
]
})
}, {});
@ -213,25 +213,31 @@ var routes = [
// text: "Send USPS Flat Rate packages from your phone. Printer optional."
// },
{
title: "From a Drop Box",
href: "/dropandsend",
title: "Shipping Kiosk",
href: "/postalpoint",
icon: "fa-duotone fa-shop",
text: "Stop by a PostalPoint kiosk at a local business, put your package on the scale, and print postage."
},
{
title: "Drop Box",
href: "/das",
icon: "fa-duotone fa-box-alt",
text: "Bring your package to a Drop and Send drop box or kiosk and we'll ship it for you. No postage or appointment needed."
text: "Just drop your package into a Drop and Send drop box. We'll add postage for you and charge your account."
},
{
title: "Request a Pickup",
title: "Pickup",
href: "/pickup",
icon: "fa-duotone fa-home",
text: "Leave your package on your porch and we'll pick it up and ship it for you. No postage or appointment needed."
},
{
title: "Visit Us",
href: "/trailer",
title: "Mobile Shipping Center",
href: "/mobile",
icon: "fa-duotone fa-caravan",
text: "Our Mobile Shipping Center roams the Helena area like a food truck for mail. Find dates and places here."
},
{
title: "By Appointment",
title: "Appointment",
href: "/appointment/shipping",
icon: "fa-duotone fa-calendar-alt",
text: "A courier will come to you on your schedule. No account required."
@ -374,7 +380,7 @@ var routes = [
]
},
{
path: '/dropandsend',
path: '/das',
name: 'dropandsend',
content: compiledPages.dropandsend(),
on: {
@ -455,7 +461,7 @@ var routes = [
}
},
{
path: '/trailer',
path: '/mobile',
name: 'trailer',
async: function ( {resolve, reject}) {
app.dialog.preloader("Checking the schedule...");

Loading…
Cancel
Save