From 458906b46ece404cc00be4b269192aec5bb476cd Mon Sep 17 00:00:00 2001 From: Will Freeman Date: Sun, 9 Nov 2025 19:27:04 -0700 Subject: [PATCH 1/2] add app docs with cms --- webapp/src/router/index.ts | 8 + webapp/src/views/DeflockApp.vue | 33 +- webapp/src/views/DeflockAppDocs.vue | 785 ++++++++++++++++++++++++++++ webapp/src/views/ReportChoose.vue | 107 ++-- 4 files changed, 844 insertions(+), 89 deletions(-) create mode 100644 webapp/src/views/DeflockAppDocs.vue diff --git a/webapp/src/router/index.ts b/webapp/src/router/index.ts index a555de1..66770c1 100644 --- a/webapp/src/router/index.ts +++ b/webapp/src/router/index.ts @@ -86,6 +86,14 @@ const router = createRouter({ title: 'App | DeFlock' } }, + { + path: '/app/docs', + name: 'app-docs', + component: () => import('../views/DeflockAppDocs.vue'), + meta: { + title: 'App User Guide | DeFlock' + } + }, { path: '/contact', name: 'contact', diff --git a/webapp/src/views/DeflockApp.vue b/webapp/src/views/DeflockApp.vue index 0e55471..1c8f50a 100644 --- a/webapp/src/views/DeflockApp.vue +++ b/webapp/src/views/DeflockApp.vue @@ -22,10 +22,8 @@ prepend-icon="mdi-apple" :href="appLinks.ios" target="_blank" - :disabled="!appLinks.ios" > - Download for iOS - iOS Coming Soon + Download for iOS - Get on Android - Android Coming Soon + Get on Android - View Mobile App Guide + Read the User Guide @@ -176,7 +171,9 @@ {{ principle.title }} -

{{ principle.description }}

+

+ +

@@ -201,10 +198,8 @@ prepend-icon="mdi-apple" :href="appLinks.ios" target="_blank" - :disabled="!appLinks.ios" > - Download for iPhone - iOS Coming Soon + Download for iPhone - Get on Android - Android Coming Soon + Get on Android

Free download • No ads • Privacy focused

@@ -267,7 +260,7 @@ interface PrivacyPrinciple { const appLinks = { android: 'https://play.google.com/store/apps/details?id=me.deflock.deflockapp', - ios: undefined, + ios: 'https://apps.apple.com/us/app/deflock-me/id6752760780', } // App features @@ -390,7 +383,7 @@ const privacyPrinciples: PrivacyPrinciple[] = [ { id: 6, title: 'Open Source Transparency', - description: 'Our code is open source and available for review. You can verify our privacy commitments by examining the source code yourself.' + description: 'Our code is open source and available for review. You can verify our privacy commitments by examining the source code yourself.' } ]; diff --git a/webapp/src/views/DeflockAppDocs.vue b/webapp/src/views/DeflockAppDocs.vue new file mode 100644 index 0000000..016b9e2 --- /dev/null +++ b/webapp/src/views/DeflockAppDocs.vue @@ -0,0 +1,785 @@ + + + + + \ No newline at end of file diff --git a/webapp/src/views/ReportChoose.vue b/webapp/src/views/ReportChoose.vue index a71ea3a..6a7a061 100644 --- a/webapp/src/views/ReportChoose.vue +++ b/webapp/src/views/ReportChoose.vue @@ -28,6 +28,44 @@ + +
+ + + + DeFlock App + + + for iOS and Android + + + + + + +

The DeFlock App provides a simple mobile interface that's easy to use while walking around.

+
+ + + + Download App + + + +
+
+
+ - - -
- - - - DeFlock App - - - for iOS and Android - - - - - - -

The DeFlock App provides a simple mobile interface that's easy to use while walking around.

-
- - - - Download App - - - -
- - -
- - Coming Soon - -
-
-
@@ -138,24 +125,6 @@ import ALPRVerificationDialog from '@/components/ALPRVerificationDialog.vue'; position: relative; } -.card-disabled { - opacity: 0.7; - pointer-events: none; - cursor: not-allowed; -} - -.coming-soon-banner { - position: absolute; - top: 15px; - right: 15px; - z-index: 10; -} - -.coming-soon-chip { - box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); - font-weight: 600; -} - /* Ensure the banner shows above card content */ .app-card-container .v-card { position: relative; From d9a3c08b20392511da7abdd693e22bee41f317f8 Mon Sep 17 00:00:00 2001 From: Will Freeman Date: Sun, 9 Nov 2025 19:30:15 -0700 Subject: [PATCH 2/2] netlify spa fix --- webapp/public/_redirects | 1 + 1 file changed, 1 insertion(+) create mode 100644 webapp/public/_redirects diff --git a/webapp/public/_redirects b/webapp/public/_redirects new file mode 100644 index 0000000..ad37e2c --- /dev/null +++ b/webapp/public/_redirects @@ -0,0 +1 @@ +/* /index.html 200