diff --git a/app/Http/Livewire/BookCase/Heatmap.php b/app/Http/Livewire/BookCase/Heatmap.php index fc9085b2..d98fcc50 100644 --- a/app/Http/Livewire/BookCase/Heatmap.php +++ b/app/Http/Livewire/BookCase/Heatmap.php @@ -4,6 +4,7 @@ namespace App\Http\Livewire\BookCase; use App\Models\BookCase; use Livewire\Component; +use RalphJSmit\Laravel\SEO\Support\SEOData; class Heatmap extends Component { @@ -20,6 +21,12 @@ class Heatmap extends Component return view('livewire.book-case.heatmap', [ 'heatmap_data' => $data->toArray(), + ])->layout('layouts.app', [ + 'SEOData' => new SEOData( + title: __('Heatmap of Bookcases'), + description: __('On this map you can see the success and spread of the Bitcoin books.'), + image: asset('img/heatmap_bookcases.png'), + ) ]); } } diff --git a/app/Http/Livewire/BookCase/WorldMap.php b/app/Http/Livewire/BookCase/WorldMap.php index e164563e..674f01fd 100644 --- a/app/Http/Livewire/BookCase/WorldMap.php +++ b/app/Http/Livewire/BookCase/WorldMap.php @@ -5,6 +5,7 @@ namespace App\Http\Livewire\BookCase; use App\Models\BookCase; use App\Models\Country; use Livewire\Component; +use RalphJSmit\Laravel\SEO\Support\SEOData; class WorldMap extends Component { @@ -32,6 +33,12 @@ class WorldMap extends Component 'op' => $bookCase->orange_pills_count, ]) ->toArray(), + ])->layout('layouts.app', [ + 'SEOData' => new SEOData( + title: __('World Map of Bookcases'), + description: __('On this map you can see bookcases that have been orange pilled. You can also click on a marker to go to the search result.'), + image: asset('img/world_map_bookcases.png') + ) ]); } } diff --git a/public/img/heatmap_bookcases.png b/public/img/heatmap_bookcases.png new file mode 100644 index 00000000..48e89dfe Binary files /dev/null and b/public/img/heatmap_bookcases.png differ diff --git a/public/img/world_map_bookcases.png b/public/img/world_map_bookcases.png new file mode 100644 index 00000000..1c5f5cbb Binary files /dev/null and b/public/img/world_map_bookcases.png differ