Add mailto link to organization sidebar's contact
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -120,7 +120,11 @@ export function OrganizationSidebar({
|
|||||||
)}
|
)}
|
||||||
{trustCenter.organization.email && (
|
{trustCenter.organization.email && (
|
||||||
<BusinessInfo label={__("Contact")}>
|
<BusinessInfo label={__("Contact")}>
|
||||||
{trustCenter.organization.email}
|
<a href={`mailto:${trustCenter.organization.email}`}>
|
||||||
|
<span className="text-txt-info hover:underline ">
|
||||||
|
{trustCenter.organization.email}
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
</BusinessInfo>
|
</BusinessInfo>
|
||||||
)}
|
)}
|
||||||
{trustCenter.organization.headquarterAddress && (
|
{trustCenter.organization.headquarterAddress && (
|
||||||
|
|||||||
Reference in New Issue
Block a user