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>{{$content->title}} | {{config('settings.name')}}</title>
|
|
|
|
<style>
|
|
|
|
#map {
|
2023-05-16 11:42:14 +00:00
|
|
|
height: 500px;
|
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">
|
|
|
|
<a href="{{url('/')}}"> ← Back</a>
|
|
|
|
<h1>{{$content->title}}</h1>
|
|
|
|
</div>
|
2023-06-30 19:10:54 +00:00
|
|
|
|
|
|
|
<div class="col-12 col-md-4">
|
|
|
|
<img src="{{$content->image}}" class="img-fluid rounded" alt="Bild {{$content->title}}">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="col-12 col-md-8">
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12">
|
|
|
|
{{$content->beschreibung}}
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12">
|
|
|
|
<h4>Bilder</h4>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-3"></div>
|
2023-05-16 11:42:14 +00:00
|
|
|
</div>
|
2023-06-30 19:10:54 +00:00
|
|
|
|
|
|
|
|
2023-05-16 11:42:14 +00:00
|
|
|
<div class="row">
|
|
|
|
<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-15 19:57:14 +00:00
|
|
|
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAKGJCCKvmWZl-L5bBF0uS5BWf0gN4ZkpI&callback=initMap&v=weekly" defer></script>
|
|
|
|
<script>
|
2023-05-17 19:16:49 +00:00
|
|
|
const contentUrl = "{{url('/api/contents/'.$content->id)}}";
|
2023-06-20 18:34:36 +00:00
|
|
|
const locationField = "{{$_location_field}}";
|
|
|
|
let item = {!! json_encode($content)!!};
|
2023-05-18 17:14:55 +00:00
|
|
|
</script>
|
2023-06-20 18:34:36 +00:00
|
|
|
<script src="{{storage('assets/content/script.js')}}"></script>
|
2023-05-15 19:57:14 +00:00
|
|
|
@stop
|