Block access on mobile

Does anyone have a solution to block access on mobile? I’ve built an mvp that is optimized well for the web but I haven’t put much time into responsiveness for mobile just yet. I’d like to redirect to a page when a user tries to access the site on mobile.

set every page’s mobile version to the page you want mobiles to go to instead