Custom code for redirecting to mobile site

I have the website www.gofind.ai. For mobile I want to design a separate site and get people directed to gofind.ai/mobile page . What JS redirect custom code can I enter?