mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
add darkMode
This commit is contained in:
@@ -11,6 +11,10 @@ class CountryMap extends Component
|
||||
{
|
||||
public Country $country;
|
||||
|
||||
public bool $darkMode = false;
|
||||
|
||||
protected $queryString = ['darkMode' => ['except' => false]];
|
||||
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.meetup.embed.country-map', [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="h-full bg-white">
|
||||
<div class="h-full {{ $darkMode ? 'bg-21gray' : 'bg-white' }}">
|
||||
@php
|
||||
$focus = '';
|
||||
$map = $country->code . '_merc';
|
||||
|
||||
Reference in New Issue
Block a user