I want to build a simple portfolio site for a writer where on her “work” page, people can filter based on a category such as “travel” or “design” to show relevant articles.
I’m planning on probably not using CMS for this, even though that makes sense, since the code may be exported or the client doesn’t want to pay the higher fee for a CMS site.
So my plan was to just have different duplicates of the list of articles, and use an animation to hide/show the appropriate one when the the filter button is pressed.
I’ve done this kind of thing before, but what if I wanted to have a link from the homepage to click “travel” or “design”. Is it possible to load a new page and then have a certain animation triggered based on the link that was pressed on the alternative page?
Alternatively if there is a better way to do this I’d be happy to hear… One option would obviously be to to just have different pages for each filter category “design”, “travel” “all”. But that would require the whole page reloading when a filter is pressed, which didn’t seem great either.
Thanks for any help!