diff --git a/web/package.json b/web/package.json index c0d8d14..2c700ae 100644 --- a/web/package.json +++ b/web/package.json @@ -13,6 +13,7 @@ "@vueuse/core": "^10.11.0", "axios": "^1.7.2", "lucide-vue-next": "^0.402.0", + "minisearch": "^7.0.0", "roboto-fontface": "*", "vue": "^3.4.21", "vuetify": "^3.5.8" diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml index 858c496..0738946 100644 --- a/web/pnpm-lock.yaml +++ b/web/pnpm-lock.yaml @@ -23,6 +23,9 @@ importers: lucide-vue-next: specifier: ^0.402.0 version: 0.402.0(vue@3.4.31(typescript@5.5.3)) + minisearch: + specifier: ^7.0.0 + version: 7.0.0 roboto-fontface: specifier: '*' version: 0.10.0 @@ -594,6 +597,9 @@ packages: resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} engines: {node: '>=16 || 14 >=14.17'} + minisearch@7.0.0: + resolution: {integrity: sha512-0OIJ3hUE+YBJNruDCqbTMFmk/IoB1CpZzuGfl11khFIel66ew9UoLF/+gfq3bdyrneqr3P7BTjFZApUbmk+9Dg==} + ms@2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} @@ -1279,6 +1285,8 @@ snapshots: dependencies: brace-expansion: 2.0.1 + minisearch@7.0.0: {} + ms@2.1.2: {} muggle-string@0.4.1: {} diff --git a/web/src/components/CategoryContainer.vue b/web/src/components/CategoryContainer.vue index 7dc5064..b58055f 100644 --- a/web/src/components/CategoryContainer.vue +++ b/web/src/components/CategoryContainer.vue @@ -1,7 +1,60 @@