vevcom / projectNext

Project Next is Omegas new website coming soon
MIT License
7 stars 0 forks source link

Refactor/special images and cms #200

Closed JohanHjelsethStorstad closed 6 months ago

JohanHjelsethStorstad commented 6 months ago

This PR is meant to implement the special pattern on cms and images in the same way as for imageCollections. This PR removes:

This PR changes:

This PR adds:

JohanHjelsethStorstad commented 6 months ago

I will suggest people try to look around the whole project before merging, as the PR changes infrastructure that affects every single page.

JohanHjelsethStorstad commented 6 months ago

Earlier there were many more images that were "special", but since you can change the image on frontpage (Cms_image) I think it makes no sense to have kappemann be special. I will at a late stage give CmsImages visibility (or permissions), so a csImage can't point to any image. I guess It does not make sense to have logos as special either, bu in a way I sort of feels that it does make sense, I anyway need a default committee logo in the next PR, so we can look at logos then