Point to a page when there is no results

Using “get_template_part()” has very specific formatting requirements.

https://developer.wordpress.org/reference/functions/get_template_part/

To alter your example:

get_template_part( 'template-parts/content', 'page' );

would work, if your .php file was located at “template-parts/content-page.php”

tech