svsticky / static-sticky

Sticky's website (svsticky.nl)
https://www.svsticky.nl
MIT License
2 stars 3 forks source link

commented the intro information so it can be reused next year #390

Open sam32123 opened 1 month ago

sam32123 commented 1 month ago

Comment out the important introduction related components, so they can be reused next year, but are not used currently.

It ain't pretty, but it works :)

TobiasDeBruijn commented 1 month ago

Could we do this via contentful perhaps?

stickyPiston commented 1 month ago

Id favour doing to it via contentful too, or let it be done automatically based on the date in the year

sam32123 commented 1 month ago

It favour doing to it via contentful too, or let it be done automatically based on the date in the year

let's look at it in 2 hours!

stickyPiston commented 1 month ago

Now that I've figured out how to access contentful, it seems that we could easily add a checkbox for the intro information that would enable or disable it. And since publishing changes in contentful (should) cause a re-deploy, I definitely think this is the best solution.

SilasPeters commented 1 month ago

Then I would be highly in favor of making this depend on contentfull I suggest we rename this PR and do that instead

stickyPiston commented 3 weeks ago

Unpublishing the intro information currently results in a build error, so i've added a fix so that unpublishing just ignores the intro information and patches the rest of the home page layout. Love to have a quick review on this from someone else, so we can merge this.