Add email link to company page

This commit is contained in:
Jian Yuan Lee 2018-04-24 23:45:50 +01:00
parent f056f0487f
commit beb901ec30

View File

@ -37,6 +37,11 @@ component CompanyPage(company *arn.Company, studioAnime, producedAnime, licensed
Icon("external-link") Icon("external-link")
span= link.Title span= link.Title
if company.Email != ""
a.light-button.mountable(href="mailto:" + company.Email, data-mountable-type="company-link")
Icon("envelope")
span Email
a.light-button.mountable(href="/api" + company.Link(), target="_blank", data-mountable-type="company-link") a.light-button.mountable(href="/api" + company.Link(), target="_blank", data-mountable-type="company-link")
Icon("code") Icon("code")
span API span API