yarn update

This commit is contained in:
Benjamin Takats
2023-01-17 12:58:58 +01:00
parent acb18564be
commit ed24fe6616
3 changed files with 255 additions and 246 deletions

View File

@@ -75,7 +75,7 @@
@if($modal)
<div class="space-y-4 mt-16 flex flex-col justify-center min-h-[600px]">
<div>
<div class="bg-amber-800 p-4 rounded">
<div class="mt-6 flow-root">
<ul role="list" class="-my-5 divide-y divide-gray-200">
<li class="py-5">

View File

@@ -39,36 +39,36 @@
wire:ignore
class="w-full flex justify-center"
x-data="{
init() {
let markers = {{ Js::from($markers) }};
init() {
let markers = {{ Js::from($markers) }};
$('#map').vectorMap({
{{ $focus }}
zoomButtons : false,
zoomOnScroll: true,
map: '{{ $map }}',
backgroundColor: 'transparent',
markers: markers.map(function(h){ return {name: h.name, latLng: h.coords} }),
onMarkerClick: function(event, index) {
$wire.call('filterByMarker', markers[index].id)
},
markerStyle: {
initial: {
image: '{{ asset('img/btc.png') }}',
$('#map').vectorMap({
{{ $focus }}
zoomButtons : false,
zoomOnScroll: true,
map: '{{ $map }}',
backgroundColor: 'transparent',
markers: markers.map(function(h){ return {name: h.name, latLng: h.coords} }),
onMarkerClick: function(event, index) {
$wire.call('filterByMarker', markers[index].id)
},
markerStyle: {
initial: {
image: '{{ asset('img/btc.png') }}',
}
},
regionStyle: {
initial: {
fill: '#151515'
},
hover: {
'fill-opacity': 1,
cursor: 'default'
},
}
},
regionStyle: {
initial: {
fill: '#151515'
},
hover: {
'fill-opacity': 1,
cursor: 'default'
},
}
});
}
}"
});
}
}"
>
<div id="map" style="width: 100%;" class="h-[200px] sm:h-[400px] my-4 sm:my-0"></div>
</div>