remove public/index and change routes to point to pages/index