From 75e12f43a4dfcdd3e14e95c2ab68cc4b8cb074f0 Mon Sep 17 00:00:00 2001 From: Will Freeman Date: Fri, 27 Dec 2024 15:13:30 -0700 Subject: [PATCH] more cleanup --- webapp/src/components/DFCode.vue | 4 + webapp/src/components/OSMTagSelector.vue | 12 +- webapp/src/views/Donate.vue | 10 +- webapp/src/views/Landing.vue | 14 +- webapp/src/views/WhatIsAnALPRView.vue | 190 ++++++++++++++--------- 5 files changed, 147 insertions(+), 83 deletions(-) diff --git a/webapp/src/components/DFCode.vue b/webapp/src/components/DFCode.vue index 82e97d0..c318e0e 100644 --- a/webapp/src/components/DFCode.vue +++ b/webapp/src/components/DFCode.vue @@ -46,6 +46,10 @@ code { overflow-x: scroll; } +code { + white-space: nowrap; +} + .copy-button { position: absolute; right: 0; diff --git a/webapp/src/components/OSMTagSelector.vue b/webapp/src/components/OSMTagSelector.vue index c9f54f0..b9ba9b0 100644 --- a/webapp/src/components/OSMTagSelector.vue +++ b/webapp/src/components/OSMTagSelector.vue @@ -14,6 +14,8 @@ hide-details > (Police Dept/Owner)
operator:wikidata=(WikiData ID)
- - - Please provide additional details about the ALPR. - @@ -87,6 +80,7 @@ const alprBrands: WikidataItem[] = [ name: '(brand goes here)', nickname: 'Other', wikidata: '(wikidata goes here)', + exampleImage: '/other-1.jpeg', } ]; const selectedBrand: Ref = ref(alprBrands[0]); diff --git a/webapp/src/views/Donate.vue b/webapp/src/views/Donate.vue index d730860..f4f9c89 100644 --- a/webapp/src/views/Donate.vue +++ b/webapp/src/views/Donate.vue @@ -18,8 +18,12 @@

Want to see your name here? Become a sponsor, and your name will appear on this page!

+ - + + + + @@ -63,6 +67,7 @@ interface Sponsor { } const sponsors: Ref = ref([]); +const isLoadingSponsors = ref(true); onMounted(() => { getSponsors() @@ -71,6 +76,9 @@ onMounted(() => { }) .catch((error) => { console.error(error); + }) + .finally(() => { + isLoadingSponsors.value = false; }); }); diff --git a/webapp/src/views/Landing.vue b/webapp/src/views/Landing.vue index ada307c..f727a49 100644 --- a/webapp/src/views/Landing.vue +++ b/webapp/src/views/Landing.vue @@ -28,6 +28,14 @@ + +

What is an ALPR

+

+ Automated License Plate Readers (ALPRs) are cameras that capture images of all passing license plates, storing details like the car's location, date, and time. These cameras collect data on millions of vehicles—regardless of whether the driver is suspected of a crime. While these systems can be useful for tracking stolen cars or wanted individuals, they are mostly used to track the movements of innocent people. +

+ + +

The Dangers of ALPRs

ALPRs are a threat to your privacy and civil liberties. They can be used to track your movements and profile you, and even stalk you. Learn more about the dangers of ALPRs and how you can protect yourself. @@ -69,9 +77,9 @@ - + mdi-book-open-page-variant - See All Dangers + Read More @@ -113,7 +121,7 @@ } .map-section { - background: url('/deflock-screenshot.webp') no-repeat center center; + background: url('/deflock-screenshot.webp') no-repeat right center; background-size: cover; color: white; padding: 100px 0; diff --git a/webapp/src/views/WhatIsAnALPRView.vue b/webapp/src/views/WhatIsAnALPRView.vue index 6ec28e7..5d88ff5 100644 --- a/webapp/src/views/WhatIsAnALPRView.vue +++ b/webapp/src/views/WhatIsAnALPRView.vue @@ -1,10 +1,11 @@