From 7344a305834f96b0e6a62adbc379dac5a733ae0b Mon Sep 17 00:00:00 2001 From: Daniel McGee <134719124+mcgeeandme@users.noreply.github.com> Date: Wed, 17 Jun 2026 20:01:42 -0400 Subject: [PATCH] Add Deflock Store to "hang signs" linkon the website (#116) * Add the store code from agora.markets Uploads a stylesheet and store code to popluate the deflock store hosted by agora.markets * fix store --------- Co-authored-by: Will Freeman --- webapp/bun.lock | 3 + webapp/src/App.vue | 2 +- webapp/src/views/Store.vue | 546 ++++++++++++++++++++++++------------- 3 files changed, 353 insertions(+), 198 deletions(-) diff --git a/webapp/bun.lock b/webapp/bun.lock index 2928984..256070a 100644 --- a/webapp/bun.lock +++ b/webapp/bun.lock @@ -14,6 +14,7 @@ "pinia": "^2.3.0", "vue": "^3.4.29", "vue-router": "^4.3.3", + "vue-turnstile": "^1.0.11", "vuetify": "^3.7.2", }, "devDependencies": { @@ -344,6 +345,8 @@ "vue-tsc": ["vue-tsc@2.2.12", "", { "dependencies": { "@volar/typescript": "2.4.15", "@vue/language-core": "2.2.12" }, "peerDependencies": { "typescript": ">=5.0.0" }, "bin": "bin/vue-tsc.js" }, "sha512-P7OP77b2h/Pmk+lZdJ0YWs+5tJ6J2+uOQPo7tlBnY44QqQSPYvS0qVT4wqDJgwrZaLe47etJLLQRFia71GYITw=="], + "vue-turnstile": ["vue-turnstile@1.0.11", "", { "peerDependencies": { "vue": "^3.2.45" } }, "sha512-iaTBoZ5oUqtNRto6bmbn6FQvW0h/sK7mPUJc1Qn4em+cELXN59U2FQTcpWfKssV3OY6lEZzmCpcn/zrb7htK3A=="], + "vuetify": ["vuetify@3.11.2", "", { "peerDependencies": { "typescript": ">=4.7", "vite-plugin-vuetify": ">=2.1.0", "vue": "^3.5.0", "webpack-plugin-vuetify": ">=3.1.0" }, "optionalPeers": ["vite-plugin-vuetify", "webpack-plugin-vuetify"] }, "sha512-1lL0qN6JIdbx6xGYpo6dnx378EfC0t4EotPJdP4go8ThmIdRO3xLva1ALxhxi5lSYTht4R9OVk9miVnwVfDx3A=="], "which": ["which@3.0.1", "", { "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "bin/which.js" } }, "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg=="], diff --git a/webapp/src/App.vue b/webapp/src/App.vue index c5f9c01..ead38f3 100644 --- a/webapp/src/App.vue +++ b/webapp/src/App.vue @@ -42,7 +42,7 @@ const items = [ const contributeItems = [ { title: 'Submit Cameras', icon: 'mdi-map-marker-plus', to: '/report' }, - { title: 'Hang Signs', icon: 'mdi-sign-direction', to: '/store' }, + { title: 'Store', icon: 'mdi-shopping', to: '/store' }, { title: 'Public Records', icon: 'mdi-file-document', to: '/foia' }, { title: 'City Council', icon: 'mdi-account-voice', to: '/council' }, ] diff --git a/webapp/src/views/Store.vue b/webapp/src/views/Store.vue index e1d3181..d24ec15 100644 --- a/webapp/src/views/Store.vue +++ b/webapp/src/views/Store.vue @@ -2,20 +2,65 @@ - -
- -

Loading printables...

+ +

Shop

+

Physical goods shipped to your door.

+ + +
+ + ALL + + + + + + + +
+ + +
+
+
+ + + + +
+ +

Loading printables...

- Failed to load printables: {{ error }} -

Printables

-

- Signs, stickers, zines, and more! -

- - -
- - - - - - - - -
+

Signs, stickers, zines, and more!

+ + + + + + + + + - - -
- - - -
+ + + + - -

- {{ printable.title }} -

+

{{ printable.title }}

- {{ getTypeIcon(printable.type) }} {{ deCamel(printable.type) }} - -
+ +
mdi-account by {{ printable.author }} - - - \ No newline at end of file + \ No newline at end of file