Next.js and SEO friendly routing

I have integrated Algolia search in my Next.js application.
I want an application to have SEO friendly routing with Algolia and Next.js.
I think this project has good SEO friendly routing.

But unfortunately, this is CSR(Client Side Rendering) not SSR.
Is there anyone who can help me or give me any advice on this side?

Thanks,