diff --git a/app/Http/Livewire/School/LecturerLandingPage.php b/app/Http/Livewire/School/LecturerLandingPage.php
index b5aa3d7b..5afbcf2a 100644
--- a/app/Http/Livewire/School/LecturerLandingPage.php
+++ b/app/Http/Livewire/School/LecturerLandingPage.php
@@ -22,24 +22,32 @@ class LecturerLandingPage extends Component
{
return view('livewire.school.lecturer-landing-page', [
'courseEvents' => CourseEvent::query()
+ ->with([
+ 'venue.city',
+ 'course.tags',
+ ])
->where('from', '>=', now())
->whereHas('course', function ($query) {
$query->where('lecturer_id', $this->lecturer->id);
})
->orderBy('from')
->get(),
- 'events' => CourseEvent::query()
+ 'events' => CourseEvent::query()
+ ->with([
+ 'venue',
+ 'course',
+ ])
->where('from', '>=', now())
->whereHas('course', function ($query) {
$query->where('lecturer_id', $this->lecturer->id);
})
->orderBy('from')
->get()
- ->map(fn ($event) => [
- 'id' => $event->id,
- 'startDate' => $event->from,
- 'endDate' => $event->to,
- 'location' => $event->course->name,
+ ->map(fn($event) => [
+ 'id' => $event->id,
+ 'startDate' => $event->from,
+ 'endDate' => $event->to,
+ 'location' => $event->course->name,
'description' => $event->venue->name,
]),
])
diff --git a/resources/lang/de.json b/resources/lang/de.json
index 76ee31d6..c967546a 100644
--- a/resources/lang/de.json
+++ b/resources/lang/de.json
@@ -770,7 +770,7 @@
"City\/Area": "Stadt\/Gegend",
"Published on Nostr": "Veröffentlicht auf Nostr",
"Public Key": "Public Key",
- "Bitcoin Event": "",
+ "Bitcoin Event": "Bitcoin Event",
"Create venue": "Erstelle Veranstaltungsort",
"starts with npub...": "startet mit npub...",
"Are you sure you want to publish this article on Nostr?": "Bitte bestätige, dass du diesen Artikel auf Nostr veröffentlichen möchtest.",
@@ -782,5 +782,8 @@
"Change lightning wallet\/pubkey": "Wechsel Lightning Wallet\/Public Key",
"Now log in with a new wallet": "Logge dich jetzt mit einer neuen Wallet ein",
"You overwrite your user\\'s public key and then have to log in with the wallet, which you now use to scan or log in.": "",
- ":name\\'s Avatar": ""
+ ":name\\'s Avatar": "",
+ "Manage": "Verwalten",
+ "Manage content creators": "Verwalte Content Creator",
+ "Lecturers\/Content Creators": "Dozenten\/Content Creator"
}
diff --git a/resources/lang/en.json b/resources/lang/en.json
index 3035cb4e..f5227c00 100644
--- a/resources/lang/en.json
+++ b/resources/lang/en.json
@@ -778,5 +778,9 @@
"You overwrite your user\\'s public key and then have to log in with the wallet, which you now use to scan or log in.": "",
"You are logged in as:": "",
"Change lightning wallet\/pubkey": "",
- "Now log in with a new wallet": ""
+ "Now log in with a new wallet": "",
+ "Manage": "",
+ "Manage content creators": "",
+ "Participants": "",
+ "Lecturers\/Content Creators": ""
}
\ No newline at end of file
diff --git a/resources/lang/es.json b/resources/lang/es.json
index fd99c1b6..d20b7c4a 100644
--- a/resources/lang/es.json
+++ b/resources/lang/es.json
@@ -778,5 +778,9 @@
"You overwrite your user\\'s public key and then have to log in with the wallet, which you now use to scan or log in.": "",
"You are logged in as:": "",
"Change lightning wallet\/pubkey": "",
- "Now log in with a new wallet": ""
+ "Now log in with a new wallet": "",
+ "Manage": "",
+ "Manage content creators": "",
+ "Participants": "",
+ "Lecturers\/Content Creators": ""
}
\ No newline at end of file
diff --git a/resources/lang/fr.json b/resources/lang/fr.json
index c247a299..fef45638 100644
--- a/resources/lang/fr.json
+++ b/resources/lang/fr.json
@@ -779,5 +779,9 @@
"You overwrite your user\\'s public key and then have to log in with the wallet, which you now use to scan or log in.": "",
"You are logged in as:": "",
"Change lightning wallet\/pubkey": "",
- "Now log in with a new wallet": ""
+ "Now log in with a new wallet": "",
+ "Manage": "",
+ "Manage content creators": "",
+ "Participants": "",
+ "Lecturers\/Content Creators": ""
}
\ No newline at end of file
diff --git a/resources/lang/hr.json b/resources/lang/hr.json
index 212d701c..e9a281f2 100644
--- a/resources/lang/hr.json
+++ b/resources/lang/hr.json
@@ -779,5 +779,9 @@
"You overwrite your user\\'s public key and then have to log in with the wallet, which you now use to scan or log in.": "",
"You are logged in as:": "",
"Change lightning wallet\/pubkey": "",
- "Now log in with a new wallet": ""
+ "Now log in with a new wallet": "",
+ "Manage": "",
+ "Manage content creators": "",
+ "Participants": "",
+ "Lecturers\/Content Creators": ""
}
\ No newline at end of file
diff --git a/resources/lang/it.json b/resources/lang/it.json
index baf56394..f16da3ac 100644
--- a/resources/lang/it.json
+++ b/resources/lang/it.json
@@ -779,5 +779,9 @@
"You overwrite your user\\'s public key and then have to log in with the wallet, which you now use to scan or log in.": "",
"You are logged in as:": "",
"Change lightning wallet\/pubkey": "",
- "Now log in with a new wallet": ""
+ "Now log in with a new wallet": "",
+ "Manage": "",
+ "Manage content creators": "",
+ "Participants": "",
+ "Lecturers\/Content Creators": ""
}
\ No newline at end of file
diff --git a/resources/lang/mk.json b/resources/lang/mk.json
index 854b6f04..d39e1cc8 100644
--- a/resources/lang/mk.json
+++ b/resources/lang/mk.json
@@ -779,5 +779,9 @@
"You overwrite your user\\'s public key and then have to log in with the wallet, which you now use to scan or log in.": "",
"You are logged in as:": "",
"Change lightning wallet\/pubkey": "",
- "Now log in with a new wallet": ""
+ "Now log in with a new wallet": "",
+ "Manage": "",
+ "Manage content creators": "",
+ "Participants": "",
+ "Lecturers\/Content Creators": ""
}
\ No newline at end of file
diff --git a/resources/lang/pl.json b/resources/lang/pl.json
index 298c307f..fce795e5 100644
--- a/resources/lang/pl.json
+++ b/resources/lang/pl.json
@@ -779,5 +779,9 @@
"You overwrite your user\\'s public key and then have to log in with the wallet, which you now use to scan or log in.": "",
"You are logged in as:": "",
"Change lightning wallet\/pubkey": "",
- "Now log in with a new wallet": ""
+ "Now log in with a new wallet": "",
+ "Manage": "",
+ "Manage content creators": "",
+ "Participants": "",
+ "Lecturers\/Content Creators": ""
}
\ No newline at end of file
diff --git a/resources/lang/pt.json b/resources/lang/pt.json
index faa59002..eb2c3c32 100644
--- a/resources/lang/pt.json
+++ b/resources/lang/pt.json
@@ -779,5 +779,9 @@
"You overwrite your user\\'s public key and then have to log in with the wallet, which you now use to scan or log in.": "",
"You are logged in as:": "",
"Change lightning wallet\/pubkey": "",
- "Now log in with a new wallet": ""
+ "Now log in with a new wallet": "",
+ "Manage": "",
+ "Manage content creators": "",
+ "Participants": "",
+ "Lecturers\/Content Creators": ""
}
\ No newline at end of file
diff --git a/resources/lang/sv.json b/resources/lang/sv.json
index 8be8aa83..ceea17fd 100644
--- a/resources/lang/sv.json
+++ b/resources/lang/sv.json
@@ -741,5 +741,9 @@
"You overwrite your user\\'s public key and then have to log in with the wallet, which you now use to scan or log in.": "",
"You are logged in as:": "",
"Change lightning wallet\/pubkey": "",
- "Now log in with a new wallet": ""
+ "Now log in with a new wallet": "",
+ "Manage": "",
+ "Manage content creators": "",
+ "Participants": "",
+ "Lecturers\/Content Creators": ""
}
\ No newline at end of file
diff --git a/resources/lang/tr.json b/resources/lang/tr.json
index 407e6537..80772d56 100644
--- a/resources/lang/tr.json
+++ b/resources/lang/tr.json
@@ -753,5 +753,9 @@
"You overwrite your user\\'s public key and then have to log in with the wallet, which you now use to scan or log in.": "",
"You are logged in as:": "",
"Change lightning wallet\/pubkey": "",
- "Now log in with a new wallet": ""
+ "Now log in with a new wallet": "",
+ "Manage": "",
+ "Manage content creators": "",
+ "Participants": "",
+ "Lecturers\/Content Creators": ""
}
\ No newline at end of file
diff --git a/resources/views/livewire/frontend/header.blade.php b/resources/views/livewire/frontend/header.blade.php
index 39c8e0e6..efb320c4 100644
--- a/resources/views/livewire/frontend/header.blade.php
+++ b/resources/views/livewire/frontend/header.blade.php
@@ -19,766 +19,20 @@