--- import Logo from "../content/TH.svg"; const routes = ["blog", "tracks"]; --- { routes.map((route) => ( {route .split(" ") .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(" ")} )) }