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