like [...pathname] in next.js
like [...pathname] in next.js