frontend

  • How to redirect to subpage in Nextjs 14 with static build

    Before we start: Please not that this solution isn’t perfect but works in some cases. Imagine you want to host your webpage on AWS with S3 and cloudfront distirbution. Your page is written in Nextjs. You have two paths defining different languages eg. /pl , /enso your urls should looks like: Your app folder can…

    Read More

  • SwiperJS 11 with Next 13

    Have you met Swiper.js? It’s a really good slider/carousel for the web. However, for React developers, a new version (^11) of Swiper is going to drop support for React components. Swiper React components will likely be removed in future versions. It is recommended to migrate to Swiper Element instead. Swiper React Documentation Swiper Element supports…

    Read More