separating new posts into a separate component