ricardobalk / ricardobalk.nl

My personal website, made with Nuxt 3 (Vue 3), TypeScript & TailwindCSS
https://ricardobalk.nl
ISC License
0 stars 0 forks source link

Refactor filtering functionality #75

Closed ricardobalk closed 1 year ago

ricardobalk commented 4 years ago

Filtering functionality was added in #32, but it needs refactoring.

Files and components

Logic

Stylesheet

Remaining

ricardobalk commented 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.

https://github.com/ricardobalk/ricardobalk.nl/blob/8ed7e0be137e7164c273caeaff18f09907200c32/layouts/blog.vue#L63-L87

The resulting data can be then be fed into other components, etc.