modularized navbar