16 lines
454 B
Plaintext

component CompanyPage(company *arn.Company, user *arn.User)
CompanyTabs(company, user)
h1= company.Name.English
.company-description
div!= markdown.Render(company.Description)
ul
each link in company.Links
li
a(href=link.URL, target="_blank", rel="noopener")= link.Title
component CompanyTabs(company *arn.Company, user *arn.User)
.tabs
Tab("Company", "building", company.Link())
Tab("Edit", "pencil", company.Link() + "/edit")