diff --git a/resources/css/app.css b/resources/css/app.css index c9f2723..b98058c 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -285,7 +285,7 @@ body { max-height: 45vh; margin-top: 1em; display: block; - background-color: white; + background-color: black; border: 2px solid var(--dark, #020202); } diff --git a/resources/views/partials/checkins-list.blade.php b/resources/views/partials/checkins-list.blade.php index eb9d24f..e4a5bea 100644 --- a/resources/views/partials/checkins-list.blade.php +++ b/resources/views/partials/checkins-list.blade.php @@ -6,14 +6,14 @@ if (preg_match("/\[\[([^\]]+)\]\]/", $checkin->note, $filepath)) { if (preg_match("/\.webm/", $filepath[1])) { $hasEmbed = 'videos'; - $trip_slug = preg_replace( '/[^A-Za-z0-9-]+/', '-', strtolower( $trip->name ) ); + $trip_slug = preg_replace( '/[^A-Za-z0-9-]+/', '-', strtolower( $trip->name ) ); if (file_exists(public_path() . "/" . $trip_slug . "/" . $hasEmbed . "/" . $filepath[1])) { $path = "/" . $trip_slug . "/" .$hasEmbed . "/" . $filepath[1]; - $embed = ''; if (isset($email)) { $embed .= '

If your email client doesn\'t support video embeds, here is a link to the file instead.

'; } @@ -23,14 +23,14 @@ } } elseif (preg_match("/\.ogg/", $filepath[1])) { $hasEmbed = 'audio'; - $trip_slug = preg_replace( '/[^A-Za-z0-9-]+/', '-', strtolower( $trip->name ) ); + $trip_slug = preg_replace( '/[^A-Za-z0-9-]+/', '-', strtolower( $trip->name ) ); if (file_exists(public_path() . "/" . $trip_slug . "/" . $hasEmbed . "/" . $filepath[1])) { $path = "/" . $trip_slug . "/" .$hasEmbed . "/" . $filepath[1]; - $embed = ''; if (isset($email)) { $embed .= '

If your email client doesn\' support audio embeds, here is a link to the file instead.

'; } @@ -47,14 +47,14 @@

{!! $checkin->title ?? "Untitled" !!} @if($checkin->image_url) - 🖼️ + 🖼️ @endif @if($hasEmbed) @if($hasEmbed === 'videos') - 📹 + 📹 @endif @if($hasEmbed === 'audio') - 🔈 + 🔈 @endif @endif diff --git a/resources/views/tracker.blade.php b/resources/views/tracker.blade.php index b4939c0..4bd328b 100644 --- a/resources/views/tracker.blade.php +++ b/resources/views/tracker.blade.php @@ -127,13 +127,13 @@ $embed = null; if (preg_match("/\[\[([^\]]+)\]\]/", $checkin->note, $filepath)) { if (preg_match("/\.webm/", $filepath[1])) { - $embed = '