mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-13 06:56:48 +00:00
vector maps coordinates added
This commit is contained in:
@@ -43,20 +43,22 @@
|
||||
</label>
|
||||
</div>
|
||||
|
||||
{{--<div class="flex items-center justify-end mt-4">
|
||||
@if(app()->environment('local'))
|
||||
<div class="flex items-center justify-end mt-4">
|
||||
|
||||
@if (Route::has('password.request'))
|
||||
<a class="underline text-sm text-gray-600 hover:text-gray-900"
|
||||
href="{{ route('password.request') }}">
|
||||
{{ __('Forgot your password?') }}
|
||||
</a>
|
||||
@endif
|
||||
@if (Route::has('password.request'))
|
||||
<a class="underline text-sm text-gray-600 hover:text-gray-900"
|
||||
href="{{ route('password.request') }}">
|
||||
{{ __('Forgot your password?') }}
|
||||
</a>
|
||||
@endif
|
||||
|
||||
<x-jet-button class="ml-4">
|
||||
{{ __('Log in') }}
|
||||
</x-jet-button>
|
||||
<x-jet-button class="ml-4">
|
||||
{{ __('Log in') }}
|
||||
</x-jet-button>
|
||||
|
||||
</div>--}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="flex items-center justify-left mt-4">
|
||||
<x-button href="{{ route('auth.ln') }}" primary icon="lightning-bolt">LNURL-Auth</x-button>
|
||||
|
||||
@@ -37,17 +37,19 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{--<div class="flex items-center justify-end mt-4">
|
||||
@if(app()->environment('local'))
|
||||
<div class="flex items-center justify-end mt-4">
|
||||
|
||||
<x-button icon="login" secondary class="ml-4" wire:click="switchToEmailLogin">
|
||||
{{ __('E-Mail login') }}
|
||||
</x-button>
|
||||
<x-button icon="login" secondary class="ml-4" wire:click="switchToEmailLogin">
|
||||
{{ __('E-Mail login') }}
|
||||
</x-button>
|
||||
|
||||
<x-button icon="at-symbol" primary class="ml-4" wire:click="switchToEmailSignup">
|
||||
{{ __('E-Mail Registrierung') }}
|
||||
</x-button>
|
||||
<x-button icon="at-symbol" primary class="ml-4" wire:click="switchToEmailSignup">
|
||||
{{ __('E-Mail Registrierung') }}
|
||||
</x-button>
|
||||
|
||||
</div>--}}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div wire:poll="checkAuth" wire:key="checkAuth"></div>
|
||||
</x-jet-authentication-card>
|
||||
|
||||
@@ -7,14 +7,20 @@
|
||||
class="w-full flex justify-center"
|
||||
x-data="{
|
||||
init() {
|
||||
let markers = [{name: 'VAK', coords: [50.0091294, 9.0371812], status: 'closed', offsets: [0, 2]}];
|
||||
let markers = {{ Js::from($markers) }};
|
||||
console.log(markers);
|
||||
|
||||
$('#map').vectorMap({
|
||||
zoomButtons : false,
|
||||
zoomOnScroll: false,
|
||||
zoomOnScroll: true,
|
||||
map: '{{ $country->code }}_merc',
|
||||
backgroundColor: 'transparent',
|
||||
// markers: markers.map(function(h){ return {name: h.name, latLng: h.coords} }),
|
||||
markers: markers.map(function(h){ return {name: h.name, latLng: h.coords} }),
|
||||
markerStyle: {
|
||||
initial: {
|
||||
image: '{{ asset('img/btc.png') }}',
|
||||
}
|
||||
},
|
||||
regionStyle: {
|
||||
initial: {
|
||||
fill: '#151515'
|
||||
|
||||
Reference in New Issue
Block a user