diff --git a/config/app.php b/config/app.php
index f8008d4..ef76a7e 100644
--- a/config/app.php
+++ b/config/app.php
@@ -58,8 +58,6 @@ return [
'asset_url' => env('ASSET_URL'),
- 'trip' => env('TRIP'),
-
/*
|--------------------------------------------------------------------------
| Application Timezone
diff --git a/public/css/app.css b/public/css/app.css
index d699dce..341e02c 100644
--- a/public/css/app.css
+++ b/public/css/app.css
@@ -24,7 +24,7 @@
}
#map {
- height: 400px;
+ min-height: 800px;
grid-column-start: 1;
grid-column-end: 3;
}
@@ -44,8 +44,6 @@ details h2 {
}
#map {
- height: auto;
- min-height: 800px;
grid-column-end: 2;
}
diff --git a/resources/views/tracker.blade.php b/resources/views/tracker.blade.php
index ed9757d..8cdb23a 100644
--- a/resources/views/tracker.blade.php
+++ b/resources/views/tracker.blade.php
@@ -12,10 +12,10 @@
-
+
-
+
Where in the World is Ben?
@@ -32,8 +32,8 @@
@foreach($trip->checkins as $checkin)
- -
-
+ -
+
{{ $checkin->title ?? "[No title]" }}
{{ $checkin->date }}
{{ $checkin->note ?? "[No note]" }}
@@ -71,18 +71,8 @@
checkinMarkers[{{ $checkin->id }}] = marker;
@endforeach
- function toggleCheckin(isOpen, checkinId) {
- if (isOpen) {
- var checkins = document.querySelectorAll('details');
-
- checkinMarkers[checkinId].openPopup();
-
- checkins.forEach(checkin => {
- if (checkin.id != checkinId && checkin.open) checkin.open = false;
- });
- } else {
- checkinMarkers[checkinId].closePopup();
- }
+ function openCheckin(checkinId) {
+ checkinMarkers[checkinId].openPopup();
}
diff --git a/routes/web.php b/routes/web.php
index f563875..c7aedef 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -20,7 +20,7 @@ Route::get('/', function () {
'timeout' => 3.0
]);
- $response = $client->get('trip/'.config('app.trip').'/user/zmld8ko6qy7d9j3xvq10/json');
+ $response = $client->get('trip/q0mwldvenxq09p2x18nj/user/zmld8ko6qy7d9j3xvq10/json');
if ($response->getStatusCode() == 200) {
$data = json_decode($response->getBody());