--- interface Props { codeUrl?: string; projectUrl?: string; } const { codeUrl, projectUrl } = Astro.props; --- { codeUrl ? ( check out the code ) : null } { projectUrl ? ( launch project ) : null }