2023-05-15 19:30:18 +00:00
|
|
|
@extends('template.'.config('settings.template').'.content.master')
|
2023-05-15 19:57:14 +00:00
|
|
|
@section('head')
|
|
|
|
<title>Home | {{config('settings.name')}}</title>
|
|
|
|
<style>
|
|
|
|
#map {
|
2023-05-16 11:42:14 +00:00
|
|
|
height: 80vh;
|
2023-05-15 19:57:14 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
@stop
|
2023-05-15 19:30:18 +00:00
|
|
|
@section('content')
|
2023-05-16 11:42:14 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
<h1>{{config('settings.name')}}</h1>
|
|
|
|
<p>{{config('settings.description')}}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2023-05-16 21:31:39 +00:00
|
|
|
<div class="col-4" id="contents">
|
|
|
|
<div class="card d-none">
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-5">
|
2023-05-17 19:16:49 +00:00
|
|
|
<img data-src="$image" alt="">
|
2023-05-16 21:31:39 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-7">
|
2023-05-17 19:16:49 +00:00
|
|
|
<h3 class="h5">$title</h3>
|
|
|
|
<a data-href="$path">Ansehen</a>
|
2023-05-16 11:42:14 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-05-16 21:31:39 +00:00
|
|
|
</div>
|
2023-05-16 11:42:14 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-8 g-0">
|
|
|
|
<div id="map"></div>
|
2023-05-17 19:16:49 +00:00
|
|
|
<div id="marker-window" class="d-none">
|
|
|
|
<h5 id="firstHeading" class="firstHeading">$title</h5>
|
|
|
|
<div id="bodyContent">
|
|
|
|
<p>$description</p>
|
|
|
|
<a data-href="$path">Details</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-05-16 11:42:14 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-05-16 21:31:39 +00:00
|
|
|
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAKGJCCKvmWZl-L5bBF0uS5BWf0gN4ZkpI&callback=initMap&v=weekly" defer></script>
|
|
|
|
<script src="https://unpkg.com/@googlemaps/markerclusterer/dist/index.min.js"></script>
|
|
|
|
<script>
|
2023-05-17 19:16:49 +00:00
|
|
|
const contentUrl = "{{url('/api/types/locations/contents')}}";
|
|
|
|
const locationField = "location";
|
2023-05-15 18:45:13 +00:00
|
|
|
</script>
|
2023-05-17 19:16:49 +00:00
|
|
|
<script src="{{asset('template/js/maps.js')}}"></script>
|
2023-05-15 19:30:18 +00:00
|
|
|
@stop
|