-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add template popup and sidebar result options Update css (vars, hover) Clean and re-order functions Fix provider no dependency Fix marker svg color on all providers
- Loading branch information
Showing
23 changed files
with
607 additions
and
642 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
import TemplateSidebar from 'components/sidebar/templates/sidebar' | ||
import locationSvg from 'shared/assets/svgs/location.svg' | ||
|
||
export default function TemplateMap() { | ||
return ` | ||
<div class="storelocator"> | ||
${TemplateSidebar()} | ||
<div id="sl-map" class="sl-map sl-active"></div> | ||
<button class="sl-geolocButton"> | ||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> | ||
<path d="M176 256c0-44.2 35.8-80 80-80s80 35.8 80 80-35.8 80-80 80-80-35.8-80-80zM256 0c17.7 0 32 14.33 32 32v34.65C368.4 80.14 431.9 143.6 445.3 224H480c17.7 0 32 14.3 32 32s-14.3 32-32 32h-34.7c-13.4 80.4-76.9 143.9-157.3 157.3V480c0 17.7-14.3 32-32 32s-32-14.3-32-32v-34.7C143.6 431.9 80.14 368.4 66.65 288H32c-17.67 0-32-14.3-32-32s14.33-32 32-32h34.65C80.14 143.6 143.6 80.14 224 66.65V32c0-17.67 14.3-32 32-32zM128 256c0 70.7 57.3 128 128 128s128-57.3 128-128-57.3-128-128-128-128 57.3-128 128z" /> | ||
</svg> | ||
</button> | ||
<button class="sl-geolocButton">${locationSvg}</button> | ||
</div> | ||
` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
:root { | ||
--offsetSidebar: 15px; | ||
--breakpointModile: 767px; | ||
--widthFormSearch: 350px; | ||
--heightFormSearch: 161px; | ||
--colorDetailStore: #000; | ||
--colorMobileNav: #b9b8b8; | ||
--grey: #b9b8b8; | ||
|
||
.storelocator { | ||
--sl-markerSearchColor: #107a8b; | ||
--sl-markerGeolocationColor: #1da1f2; | ||
--sl-colorSecondary: #b9b8b8; | ||
--sl-transition: 0.25s ease; | ||
|
||
--sl-blue: #1da1f2; | ||
} | ||
|
||
@custom-media --media-tablet only screen and (min-width: 750px); |
Oops, something went wrong.