diff --git a/app/Http/Livewire/BitcoinEvent/BitcoinEventTable.php b/app/Http/Livewire/BitcoinEvent/BitcoinEventTable.php index 9db8a253..32bfd500 100644 --- a/app/Http/Livewire/BitcoinEvent/BitcoinEventTable.php +++ b/app/Http/Livewire/BitcoinEvent/BitcoinEventTable.php @@ -5,6 +5,7 @@ namespace App\Http\Livewire\BitcoinEvent; use App\Models\BitcoinEvent; use App\Models\Country; use Livewire\Component; +use RalphJSmit\Laravel\SEO\Support\SEOData; class BitcoinEventTable extends Component { @@ -50,6 +51,12 @@ class BitcoinEventTable extends Component 'location' => $event->title, 'description' => $event->description, ]), + ])->layout('layouts.app', [ + 'SEOData' => new SEOData( + title: __('Bitcoin Events'), + description: __('Search out a Bitcoin Event'), + image: asset('img/screenshot.png') + ) ]); } diff --git a/app/Http/Livewire/BookCase/BookCaseTable.php b/app/Http/Livewire/BookCase/BookCaseTable.php index 953d318a..35b7d768 100644 --- a/app/Http/Livewire/BookCase/BookCaseTable.php +++ b/app/Http/Livewire/BookCase/BookCaseTable.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 BookCaseTable extends Component { @@ -32,6 +33,12 @@ class BookCaseTable extends Component 'countries' => Country::query() ->select(['code', 'name']) ->get(), + ])->layout('layouts.app', [ + 'SEOData' => new SEOData( + title: __('Bookcases'), + description: __('Search out a public bookcase'), + image: asset('img/screenshot.png') + ) ]); } } diff --git a/app/Http/Livewire/BookCase/CityTable.php b/app/Http/Livewire/BookCase/CityTable.php index 1ce97f49..173955f1 100644 --- a/app/Http/Livewire/BookCase/CityTable.php +++ b/app/Http/Livewire/BookCase/CityTable.php @@ -4,6 +4,7 @@ namespace App\Http\Livewire\BookCase; use App\Models\Country; use Livewire\Component; +use RalphJSmit\Laravel\SEO\Support\SEOData; class CityTable extends Component { @@ -11,6 +12,12 @@ class CityTable extends Component public function render() { - return view('livewire.book-case.city-table'); + return view('livewire.book-case.city-table')->layout('layouts.app', [ + 'SEOData' => new SEOData( + title: __('Bookcases'), + description: __('Search out a public bookcase'), + image: asset('img/screenshot.png') + ) + ]); } } diff --git a/app/Http/Livewire/Frontend/Welcome.php b/app/Http/Livewire/Frontend/Welcome.php index 756f0ad8..baaba33c 100644 --- a/app/Http/Livewire/Frontend/Welcome.php +++ b/app/Http/Livewire/Frontend/Welcome.php @@ -44,6 +44,8 @@ class Welcome extends Component 'countries' => Country::get(), ])->layout('layouts.guest', [ 'SEOData' => new SEOData( + title: __('Welcome'), + description: __('Welcome to the portal of the Einundzwanzig Community.'), image: asset('img/screenshot.png') ) ]); diff --git a/app/Http/Livewire/Library/LibraryTable.php b/app/Http/Livewire/Library/LibraryTable.php index 486ce7bb..24bbdf39 100644 --- a/app/Http/Livewire/Library/LibraryTable.php +++ b/app/Http/Livewire/Library/LibraryTable.php @@ -3,8 +3,8 @@ namespace App\Http\Livewire\Library; use App\Models\Country; -use App\Models\Podcast; use Livewire\Component; +use RalphJSmit\Laravel\SEO\Support\SEOData; class LibraryTable extends Component { @@ -41,6 +41,12 @@ class LibraryTable extends Component return view('livewire.library.library-table', [ 'libraries' => $tabs, + ])->layout('layouts.app', [ + 'SEOData' => new SEOData( + title: __('Library'), + description: __('Here you can find all content that are available in the library.'), + image: asset('img/screenshot.png') + ) ]); } } diff --git a/app/Http/Livewire/Meetup/MeetupEventTable.php b/app/Http/Livewire/Meetup/MeetupEventTable.php index 5d4a6867..ba2df272 100644 --- a/app/Http/Livewire/Meetup/MeetupEventTable.php +++ b/app/Http/Livewire/Meetup/MeetupEventTable.php @@ -5,6 +5,7 @@ namespace App\Http\Livewire\Meetup; use App\Models\Country; use App\Models\MeetupEvent; use Livewire\Component; +use RalphJSmit\Laravel\SEO\Support\SEOData; use WireUi\Traits\Actions; class MeetupEventTable extends Component @@ -55,6 +56,12 @@ class MeetupEventTable extends Component 'location' => $event->location, 'description' => $event->description, ]), + ])->layout('layouts.app', [ + 'SEOData' => new SEOData( + title: __('Meetup dates'), + description: __('List of all meetup dates'), + image: asset('img/screenshot.png') + ) ]); } diff --git a/app/Http/Livewire/Meetup/MeetupTable.php b/app/Http/Livewire/Meetup/MeetupTable.php index e4dc4427..17203793 100644 --- a/app/Http/Livewire/Meetup/MeetupTable.php +++ b/app/Http/Livewire/Meetup/MeetupTable.php @@ -5,6 +5,7 @@ namespace App\Http\Livewire\Meetup; use App\Models\Country; use App\Models\Meetup; use Livewire\Component; +use RalphJSmit\Laravel\SEO\Support\SEOData; class MeetupTable extends Component { @@ -39,6 +40,12 @@ class MeetupTable extends Component 'name' => $meetup->name, 'coords' => [$meetup->city->latitude, $meetup->city->longitude], ]), + ])->layout('layouts.app', [ + 'SEOData' => new SEOData( + title: __('Meetups'), + description: __('Bitcoiner Meetups are a great way to meet other Bitcoiners in your area. You can learn from each other, share ideas, and have fun!'), + image: asset('img/screenshot.png') + ) ]); } } diff --git a/app/Http/Livewire/Meetup/WorldMap.php b/app/Http/Livewire/Meetup/WorldMap.php index 2f03abcb..f6af3d52 100644 --- a/app/Http/Livewire/Meetup/WorldMap.php +++ b/app/Http/Livewire/Meetup/WorldMap.php @@ -5,6 +5,7 @@ namespace App\Http\Livewire\Meetup; use App\Models\Country; use App\Models\Meetup; use Livewire\Component; +use RalphJSmit\Laravel\SEO\Support\SEOData; class WorldMap extends Component { @@ -38,6 +39,11 @@ class WorldMap extends Component 'name' => $meetup->name, 'coords' => [$meetup->city->latitude, $meetup->city->longitude], ]), + ])->layout('layouts.app', [ + 'SEOData' => new SEOData( + title: __('World map of meetups'), + image: asset('img/screenshot.png') + ) ]); } } diff --git a/app/Http/Livewire/School/CityTable.php b/app/Http/Livewire/School/CityTable.php index 96eab351..59ae56b0 100644 --- a/app/Http/Livewire/School/CityTable.php +++ b/app/Http/Livewire/School/CityTable.php @@ -4,6 +4,7 @@ namespace App\Http\Livewire\School; use App\Models\Country; use Livewire\Component; +use RalphJSmit\Laravel\SEO\Support\SEOData; class CityTable extends Component { @@ -11,6 +12,12 @@ class CityTable extends Component public function render() { - return view('livewire.school.city-table'); + return view('livewire.school.city-table')->layout('layouts.app', [ + 'SEOData' => new SEOData( + title: __('Courses'), + description: __('Choose your city, search for courses in the surrounding area and select a topic that suits you.'), + image: asset('img/screenshot.png') + ) + ]); } } diff --git a/app/Http/Livewire/School/CouseTable.php b/app/Http/Livewire/School/CouseTable.php index 3a11af9e..9f7e72e6 100644 --- a/app/Http/Livewire/School/CouseTable.php +++ b/app/Http/Livewire/School/CouseTable.php @@ -4,6 +4,7 @@ namespace App\Http\Livewire\School; use App\Models\Country; use Livewire\Component; +use RalphJSmit\Laravel\SEO\Support\SEOData; class CouseTable extends Component { @@ -11,6 +12,12 @@ class CouseTable extends Component public function render() { - return view('livewire.school.couse-table'); + return view('livewire.school.couse-table')->layout('layouts.app', [ + 'SEOData' => new SEOData( + title: __('Courses'), + description: __('Choose your city, search for courses in the surrounding area and select a topic that suits you.'), + image: asset('img/screenshot.png') + ) + ]); } } diff --git a/app/Http/Livewire/School/EventTable.php b/app/Http/Livewire/School/EventTable.php index 32cfa959..4720de9f 100644 --- a/app/Http/Livewire/School/EventTable.php +++ b/app/Http/Livewire/School/EventTable.php @@ -5,6 +5,7 @@ namespace App\Http\Livewire\School; use App\Models\Country; use App\Models\CourseEvent; use Livewire\Component; +use RalphJSmit\Laravel\SEO\Support\SEOData; class EventTable extends Component { @@ -48,6 +49,12 @@ class EventTable extends Component 'location' => $event->course->name, 'description' => $event->venue->name, ]), + ])->layout('layouts.app', [ + 'SEOData' => new SEOData( + title: __('Dates'), + description: __('Dates for courses about Bitcoin.'), + image: asset('img/screenshot.png') + ) ]); } diff --git a/app/Http/Livewire/School/LecturerTable.php b/app/Http/Livewire/School/LecturerTable.php index a0b16a55..6b2baeaf 100644 --- a/app/Http/Livewire/School/LecturerTable.php +++ b/app/Http/Livewire/School/LecturerTable.php @@ -4,6 +4,7 @@ namespace App\Http\Livewire\School; use App\Models\Country; use Livewire\Component; +use RalphJSmit\Laravel\SEO\Support\SEOData; class LecturerTable extends Component { @@ -11,6 +12,12 @@ class LecturerTable extends Component public function render() { - return view('livewire.school.lecturer-table'); + return view('livewire.school.lecturer-table')->layout('layouts.app', [ + 'SEOData' => new SEOData( + title: __('Lecturers'), + description: __('Lecturers in the surrounding area.'), + image: asset('img/screenshot.png') + ) + ]); } } diff --git a/app/Http/Livewire/School/VenueTable.php b/app/Http/Livewire/School/VenueTable.php index c584fb01..55de2738 100644 --- a/app/Http/Livewire/School/VenueTable.php +++ b/app/Http/Livewire/School/VenueTable.php @@ -4,6 +4,7 @@ namespace App\Http\Livewire\School; use App\Models\Country; use Livewire\Component; +use RalphJSmit\Laravel\SEO\Support\SEOData; class VenueTable extends Component { @@ -11,6 +12,12 @@ class VenueTable extends Component public function render() { - return view('livewire.school.venue-table'); + return view('livewire.school.venue-table')->layout('layouts.app', [ + 'SEOData' => new SEOData( + title: __('Venues'), + description: __('Venues in the surrounding area.'), + image: asset('img/screenshot.png') + ) + ]); } } diff --git a/config/seo.php b/config/seo.php index a773fb05..1c92d66b 100644 --- a/config/seo.php +++ b/config/seo.php @@ -75,7 +75,7 @@ return [ * Use this setting to provide a suffix that will be added after the title on each page. * If you don't want a suffix, you should specify an empty string. */ - 'suffix' => '', + 'suffix' => ' - Einundzwanzig Portal', /** * Use this setting to provide a custom title for the homepage. We will not use the suffix on the homepage, @@ -91,7 +91,7 @@ return [ * where we don't have a description set via an associated ->seo model or via * the ->getDynamicSEOData() method. */ - 'fallback' => null, + 'fallback' => 'Toximalist infotainment for bullish bitcoiners.', ], 'image' => [ diff --git a/resources/lang/de.json b/resources/lang/de.json index b45572bb..2cc55cec 100644 --- a/resources/lang/de.json +++ b/resources/lang/de.json @@ -609,5 +609,15 @@ "All": "", "N\/A": "", "Add tags...": "", - "Add tag...": "" + "Add tag...": "", + "Search out a Bitcoin Event": "Suche nach einem Bitcoin-Ereignis", + "Welcome": "Willkommen", + "Welcome to the portal of the Einundzwanzig Community.": "Willkommen auf dem Portal der Einundzwanzig Community.", + "Here you can find all content that are available in the library.": "Hier findest du alle Inhalte, die in der Bibliothek verfügbar sind.", + "List of all meetup dates": "Liste aller Meetup-Termine", + "World map of meetups": "Weltkarte der Meetups", + "Dates for courses about Bitcoin.": "Termine für Kurse zum Thema Bitcoin.", + "Lecturers in the surrounding area.": "Dozenten in der Umgebung.", + "Venues in the surrounding area.": "Veranstaltungsorte in der Umgebung.", + "nova-spatie-permissions::lang.display_names\": \"": "" } \ No newline at end of file diff --git a/resources/lang/de/Loading.php b/resources/lang/de/Loading.php index 85e9cebd..f685cf04 100644 --- a/resources/lang/de/Loading.php +++ b/resources/lang/de/Loading.php @@ -5,7 +5,7 @@ return array ( array ( '' => array ( - '' => '', + '' => 'Lade', ), ), ); diff --git a/resources/lang/en.json b/resources/lang/en.json index 5b9b9788..871c80ba 100644 --- a/resources/lang/en.json +++ b/resources/lang/en.json @@ -602,5 +602,14 @@ "All": "", "N\/A": "", "Add tags...": "", - "Add tag...": "" + "Add tag...": "", + "Search out a Bitcoin Event": "", + "Welcome": "", + "Welcome to the portal of the Einundzwanzig Community.": "", + "Here you can find all content that are available in the library.": "", + "List of all meetup dates": "", + "World map of meetups": "", + "Dates for courses about Bitcoin.": "", + "Lecturers in the surrounding area.": "", + "Venues in the surrounding area.": "" } \ No newline at end of file diff --git a/resources/lang/es.json b/resources/lang/es.json index ce099ae3..ab7704c3 100644 --- a/resources/lang/es.json +++ b/resources/lang/es.json @@ -601,5 +601,14 @@ "All": "", "N\/A": "", "Add tags...": "", - "Add tag...": "" + "Add tag...": "", + "Search out a Bitcoin Event": "", + "Welcome": "", + "Welcome to the portal of the Einundzwanzig Community.": "", + "Here you can find all content that are available in the library.": "", + "List of all meetup dates": "", + "World map of meetups": "", + "Dates for courses about Bitcoin.": "", + "Lecturers in the surrounding area.": "", + "Venues in the surrounding area.": "" } \ No newline at end of file diff --git a/resources/lang/fr.json b/resources/lang/fr.json index 36af415b..262b404e 100644 --- a/resources/lang/fr.json +++ b/resources/lang/fr.json @@ -601,5 +601,14 @@ "All": "", "N\/A": "", "Add tags...": "", - "Add tag...": "" + "Add tag...": "", + "Search out a Bitcoin Event": "", + "Welcome": "", + "Welcome to the portal of the Einundzwanzig Community.": "", + "Here you can find all content that are available in the library.": "", + "List of all meetup dates": "", + "World map of meetups": "", + "Dates for courses about Bitcoin.": "", + "Lecturers in the surrounding area.": "", + "Venues in the surrounding area.": "" } \ No newline at end of file diff --git a/resources/lang/hr.json b/resources/lang/hr.json index e0548e5b..cb8c51c3 100644 --- a/resources/lang/hr.json +++ b/resources/lang/hr.json @@ -601,5 +601,14 @@ "All": "", "N\/A": "", "Add tags...": "", - "Add tag...": "" + "Add tag...": "", + "Search out a Bitcoin Event": "", + "Welcome": "", + "Welcome to the portal of the Einundzwanzig Community.": "", + "Here you can find all content that are available in the library.": "", + "List of all meetup dates": "", + "World map of meetups": "", + "Dates for courses about Bitcoin.": "", + "Lecturers in the surrounding area.": "", + "Venues in the surrounding area.": "" } \ No newline at end of file diff --git a/resources/lang/it.json b/resources/lang/it.json index 7ec29222..c0f36b8a 100644 --- a/resources/lang/it.json +++ b/resources/lang/it.json @@ -601,5 +601,14 @@ "All": "", "N\/A": "", "Add tags...": "", - "Add tag...": "" + "Add tag...": "", + "Search out a Bitcoin Event": "", + "Welcome": "", + "Welcome to the portal of the Einundzwanzig Community.": "", + "Here you can find all content that are available in the library.": "", + "List of all meetup dates": "", + "World map of meetups": "", + "Dates for courses about Bitcoin.": "", + "Lecturers in the surrounding area.": "", + "Venues in the surrounding area.": "" } \ No newline at end of file diff --git a/resources/lang/mk.json b/resources/lang/mk.json index c192833d..190ed293 100644 --- a/resources/lang/mk.json +++ b/resources/lang/mk.json @@ -601,5 +601,14 @@ "All": "", "N\/A": "", "Add tags...": "", - "Add tag...": "" + "Add tag...": "", + "Search out a Bitcoin Event": "", + "Welcome": "", + "Welcome to the portal of the Einundzwanzig Community.": "", + "Here you can find all content that are available in the library.": "", + "List of all meetup dates": "", + "World map of meetups": "", + "Dates for courses about Bitcoin.": "", + "Lecturers in the surrounding area.": "", + "Venues in the surrounding area.": "" } \ No newline at end of file diff --git a/resources/lang/pl.json b/resources/lang/pl.json index 7372244a..d2d47a0b 100644 --- a/resources/lang/pl.json +++ b/resources/lang/pl.json @@ -601,5 +601,14 @@ "All": "", "N\/A": "", "Add tags...": "", - "Add tag...": "" + "Add tag...": "", + "Search out a Bitcoin Event": "", + "Welcome": "", + "Welcome to the portal of the Einundzwanzig Community.": "", + "Here you can find all content that are available in the library.": "", + "List of all meetup dates": "", + "World map of meetups": "", + "Dates for courses about Bitcoin.": "", + "Lecturers in the surrounding area.": "", + "Venues in the surrounding area.": "" } \ No newline at end of file diff --git a/resources/lang/pt.json b/resources/lang/pt.json index d8263ab7..9487b713 100644 --- a/resources/lang/pt.json +++ b/resources/lang/pt.json @@ -601,5 +601,14 @@ "All": "", "N\/A": "", "Add tags...": "", - "Add tag...": "" + "Add tag...": "", + "Search out a Bitcoin Event": "", + "Welcome": "", + "Welcome to the portal of the Einundzwanzig Community.": "", + "Here you can find all content that are available in the library.": "", + "List of all meetup dates": "", + "World map of meetups": "", + "Dates for courses about Bitcoin.": "", + "Lecturers in the surrounding area.": "", + "Venues in the surrounding area.": "" } \ No newline at end of file diff --git a/resources/lang/tr.json b/resources/lang/tr.json index cf907c29..f73608e0 100644 --- a/resources/lang/tr.json +++ b/resources/lang/tr.json @@ -575,5 +575,14 @@ "N\/A": "", "Hello!": "", "Add tags...": "", - "Add tag...": "" + "Add tag...": "", + "Search out a Bitcoin Event": "", + "Welcome": "", + "Welcome to the portal of the Einundzwanzig Community.": "", + "Here you can find all content that are available in the library.": "", + "List of all meetup dates": "", + "World map of meetups": "", + "Dates for courses about Bitcoin.": "", + "Lecturers in the surrounding area.": "", + "Venues in the surrounding area.": "" } \ No newline at end of file diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 300df7e2..baf2fe52 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -4,7 +4,6 @@ - {{ config('app.name', 'Laravel') }}