Improved accessibility

This commit is contained in:
2018-11-21 15:43:32 +09:00
parent 2dc0d9e7c0
commit fecc09eee2
4 changed files with 10 additions and 9 deletions

View File

@ -15,7 +15,7 @@ component CompanyPage(company *arn.Company, studioAnime, producedAnime, licensed
.company-sidebar
if company.Location.Latitude != 0 && company.Location.Longitude != 0
h3.mountable Location
iframe.company-location.mountable(src="https://www.google.com/maps/embed/v1/place?q=" + fmt.Sprint(company.Location.Latitude) + "," + fmt.Sprint(company.Location.Longitude) + "&key=AIzaSyAsx6fhqRGaMLTixIJMIZBU4Mg6HJmvQf0", importance="low")
iframe.company-location.mountable(src="https://www.google.com/maps/embed/v1/place?q=" + fmt.Sprint(company.Location.Latitude) + "," + fmt.Sprint(company.Location.Longitude) + "&key=AIzaSyAsx6fhqRGaMLTixIJMIZBU4Mg6HJmvQf0", importance="low", title=company.Name.English + " location map")
if len(closeCompanies) > 0
h3.mountable Within 1 km radius