Working navigation pil classes based on current Route URL