Added company location via Google Maps
This commit is contained in:
parent
1c81f938b7
commit
4c01ac9d6d
@ -9,6 +9,9 @@ component CompanyPage(company *arn.Company, user *arn.User)
|
||||
each link in company.Links
|
||||
li
|
||||
a(href=link.URL, target="_blank", rel="noopener")= link.Title
|
||||
|
||||
if company.Location.Latitude != 0 && company.Location.Longitude != 0
|
||||
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")
|
||||
|
||||
component CompanyTabs(company *arn.Company, user *arn.User)
|
||||
.tabs
|
||||
|
@ -1,3 +1,7 @@
|
||||
.company-description
|
||||
max-width 700px
|
||||
margin 0 auto
|
||||
margin 0 auto
|
||||
|
||||
.company-location
|
||||
width 100%
|
||||
height 300px
|
Loading…
Reference in New Issue
Block a user