diff --git a/www/routes.js b/www/routes.js
index 86e6367..0ec4237 100644
--- a/www/routes.js
+++ b/www/routes.js
@@ -15,10 +15,10 @@ var routes = [
context: {
pages: [
{
- title: "Schedule Pickup",
+ title: "Book Appointment",
href: "/appointment",
icon: "fad fa-calendar-alt",
- text: "Request a curbside courier to mail and ship your items."
+ text: "Get mailing, shipping, and notary services on your schedule anywhere in the Helena area."
},
{
title: "Track Package",
@@ -59,18 +59,45 @@ var routes = [
path: '/appointment',
name: 'appointment',
async: function (routeTo, routeFrom, resolve, reject) {
- var url = SETTINGS.appointmenturl;
- if ($("#app").hasClass("theme-dark")) {
- url = SETTINGS.appointmenturl_darkmode;
- }
resolve({
templateUrl: './pages/appointment.html'
}, {
context: {
- url: url
+ services: [
+ {
+ title: "Package Pickup",
+ text: "A courier will come to you and ship your mail, packages, etc.",
+ icon: "fad fa-hand-holding-box",
+ serviceid: 19
+ },
+ {
+ title: "Mobile Notary",
+ text: "A notary public will come to you and notarize your documents.",
+ icon: "fad fa-file-signature",
+ serviceid: 21
+ }
+ ]
}
});
- }
+ },
+ routes: [
+ {
+ path: "/:serviceId",
+ async: function (routeTo, routeFrom, resolve, reject) {
+ var url = SETTINGS.appointmenturl;
+ if ($("#app").hasClass("theme-dark")) {
+ url = SETTINGS.appointmenturl_darkmode;
+ }
+ resolve({
+ templateUrl: './pages/appointment.html'
+ }, {
+ context: {
+ url: url + "&service=" + routeTo.params.serviceId
+ }
+ });
+ }
+ }
+ ]
},
{
path: '/track',
diff --git a/www/settings.js b/www/settings.js
index 3c3a5f4..4841018 100644
--- a/www/settings.js
+++ b/www/settings.js
@@ -12,8 +12,8 @@ var SETTINGS = {
loyalty: "https://helena.express/loyalty.php"
},
stripe_pubkey: "pk_live_RgpadCo1LIIkfyUsY47VhUq6",
- appointmenturl: "https://appointments.netsyms.com/index.php?service=19&hlnexp=1&embed=1&only=1",
- appointmenturl_darkmode: "https://appointments.netsyms.com/index.php?service=19&hlnexp=1&embed=1&only=1&theme=darkly",
+ appointmenturl: "https://appointments.netsyms.com/index.php?hlnexp=1&embed=1&only=1&theme=darkly",
+ appointmenturl_darkmode: "https://appointments.netsyms.com/index.php?hlnexp=1&embed=1&only=1&theme=darkly",
branding: {
apptitle: "Helena Express",
company: "Helena Express",