This bit does work in the header but not in the footer, where it returns both not being main-page or 52, ie: in the header i have the correct linked/notlinked text appearing, in the footer, both are linked…
<?php if (!is_page('main-page')) { ?>
<a href="<?php echo bloginfo('wpurl'); ?>">see selected projects</a>
<?php } else { ?>
see selected projects
<?php } ?>
<?php if (!is_page('52')) { ?>
/ <a href="<?php echo bloginfo('wpurl'); ?>/view-all-projects">see all projects</a>
<?php } else { ?>
/ see all projects
<?php } ?>