kriskuiper / cmd-digital-playground

Final assignment of the minor Web Development
https://cmd-digital-playground.now.sh
MIT License
6 stars 0 forks source link

Hotfix/modular content #121

Closed kriskuiper closed 4 years ago

kriskuiper commented 4 years ago

Description

This PR reverts back to using if-statements in the modular content to make importing components more explicit. Also it allows us to use include instead of macro's all the time which makes it that we had to pass data around in places you wouldn't want to..

We have to come up with an ideal solution later but for now this fixes a lot of our problems.

Testing

The website should still work as expected.

To do after merging this PR (optional)

Find a better way to import components inside modular-content.

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/kriskuiper/cmd-digital-playground/iz5z4cczz ✅ Preview: https://cmd-digital-playground-git-hotfix-modular-content.kriskuiper.now.sh