get base url for component/component