1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-16 10:31:41 +04:00

Monorepo structure, remove Gulp, new build process (#2116)

This commit is contained in:
Paweł Kuna
2025-02-01 21:05:00 +01:00
committed by GitHub
parent ce98145fb2
commit eaa7f81604
2071 changed files with 1543 additions and 5560 deletions
+31
View File
@@ -0,0 +1,31 @@
---
layout: default
page-libs: [google-maps]
layout-wrapper-full: true
layout-sidebar: true
layout-hide-topbar: true
page-menu: base.map-fullsize
permalink: map-fullsize.html
---
{% assign map-id = 'google' %}
<div class="map flex-fill" id="map-{{ map-id }}"></div>
{% capture_global scripts %}
<script>
// @formatter:off
let map;
{% if environment == 'development' %}window.tabler_map = window.tabler_map || {};{% endif %}
document.addEventListener("DOMContentLoaded", function() {
map = new google.maps.Map(document.getElementById("map-{{ map-id }}"), {
center: { lat: -34.397, lng: 150.644 },
zoom: 8,
});
{% if environment == 'development' %}window.tabler_map["map-{{ map-id }}"] = map;{% endif %}
});
// @formatter:on
</script>
{% endcapture_global %}