extract container to mixin. navbar as template.