Optimize frontend index nav.