Add link to button

This commit is contained in:
Adw8 2024-10-30 17:19:59 +05:30
parent e75398ecb2
commit 4d123ad33f

View File

@ -92,9 +92,13 @@ const Id = () => {
Open repo
</Button>
</Link>
<Button {...buttonSize} className="h-11 transition-colors">
Go to app
</Button>
{(project.deployments.length > 0) &&
<Link to={`https://${project.name.toLowerCase()}.${project.deployments[0].deployer.baseDomain}`}>
<Button {...buttonSize} className="h-11 transition-colors">
Go to app
</Button>
</Link>
}
</div>
</div>
<WavyBorder />