Replace fixed value with variable in nav component
Close #142