move style component to views/parts.