How to use Image and Preview in your Nextjs & Strapi Blog

Thanks for writing this tutorial Amir, appreciate it. (We are new to Strapi and just followed this guide)

It would have been more useful for me personally to go into a little bit more detail on the configuration of preview mode.

For example, I see that there is a ‘secret=GwpRUnwb7otnm2InuPeWGYiUNn0TJ8PK’ query in banner.jsx but there is no mention where this secret key is derived from.

How do I turn preview mode on if it is hidden?