Convert home component to JSX