diff --git a/pages/company/company.pixy b/pages/company/company.pixy index 2d9abb50..8ea73979 100644 --- a/pages/company/company.pixy +++ b/pages/company/company.pixy @@ -3,26 +3,26 @@ component CompanyPage(company *arn.Company, user *arn.User) .company-page .company-header - h1.company-name= company.Name.English + h1.company-name.mountable= company.Name.English - .company-description + .company-description.mountable div!= markdown.Render(company.Description) - h3 Anime - - .company-anime + h3.mountable Anime + + .company-anime.mountable each anime in company.Anime() a.company-anime-item.ajax(href=anime.Link(), title=anime.Title.ByUser(user)) img.company-anime-item-image.lazy(data-src=anime.Image("small"), data-webp="true", alt=anime.Title.ByUser(user)) .company-sidebar if company.Location.Latitude != 0 && company.Location.Longitude != 0 - h3 Location - iframe.company-location.lazy(data-src="https://www.google.com/maps/embed/v1/place?q=" + toString(company.Location.Latitude) + "," + toString(company.Location.Longitude) + "&key=AIzaSyAsx6fhqRGaMLTixIJMIZBU4Mg6HJmvQf0") + h3.mountable Location + iframe.company-location.mountable(src="https://www.google.com/maps/embed/v1/place?q=" + toString(company.Location.Latitude) + "," + toString(company.Location.Longitude) + "&key=AIzaSyAsx6fhqRGaMLTixIJMIZBU4Mg6HJmvQf0") if len(company.Links) > 0 - h3 Links - ul + h3.mountable Links + ul.mountable each link in company.Links li a(href=link.URL, target="_blank", rel="noopener")= link.Title