seo updated

This commit is contained in:
Benjamin Takats
2022-12-21 19:17:39 +01:00
parent 7d90c7317d
commit 613ac30692
26 changed files with 194 additions and 20 deletions

View File

@@ -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')
)
]);
}

View File

@@ -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')
)
]);
}
}

View File

@@ -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')
)
]);
}
}

View File

@@ -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')
)
]);

View File

@@ -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')
)
]);
}
}

View File

@@ -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')
)
]);
}

View File

@@ -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')
)
]);
}
}

View File

@@ -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')
)
]);
}
}

View File

@@ -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')
)
]);
}
}

View File

@@ -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')
)
]);
}
}

View File

@@ -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')
)
]);
}

View File

@@ -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')
)
]);
}
}

View File

@@ -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')
)
]);
}
}

View File

@@ -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' => [

View File

@@ -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\": \"": ""
}

View File

@@ -5,7 +5,7 @@ return array (
array (
'' =>
array (
'' => '',
'' => 'Lade',
),
),
);

View File

@@ -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.": ""
}

View File

@@ -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.": ""
}

View File

@@ -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.": ""
}

View File

@@ -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.": ""
}

View File

@@ -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.": ""
}

View File

@@ -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.": ""
}

View File

@@ -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.": ""
}

View File

@@ -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.": ""
}

View File

@@ -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.": ""
}

View File

@@ -4,7 +4,6 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</title>
<link rel="apple-touch-icon" href="/img/apple_touch_icon.png"/>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">