Closed ricardobalk closed 1 year ago
This one can be closed. With my new Nuxt 3 website, the filtering functionality has been re-designed and built from scratch. Thanks to Nuxt Content, we can now use MongoDB-like queries to filter out content, such as blog posts and projects, based on their metadata.
The resulting data can be then be fed into other components, etc.
Filtering functionality was added in #32, but it needs refactoring.
Files and components
.ts
) file.import { ElementFilter } from '...'
becomes possible.Logic
article[category]
.article[category="Software Development"]
).Stylesheet
Remaining
container
should be removed at https://github.com/ricardobalk/www/blob/dfdb12ef6e2b7b66f0003f5ac743ac189c796538/src/.vuepress/theme/components/ElementFilter.vue#L2