mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
nova linsk changed
This commit is contained in:
@@ -74,7 +74,7 @@ class NovaServiceProvider extends NovaApplicationServiceProvider
|
|||||||
{
|
{
|
||||||
Gate::define('viewNova', function ($user) {
|
Gate::define('viewNova', function ($user) {
|
||||||
return in_array($user->email, [
|
return in_array($user->email, [
|
||||||
//
|
'admin@einundzwanzig.space'
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<!-- Navigation Links -->
|
<!-- Navigation Links -->
|
||||||
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
|
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
|
||||||
<x-jet-nav-link href="/nova/resources/courses/new" target="_blank">
|
<x-jet-nav-link href="/nova" target="_blank">
|
||||||
{{ __('Kurs eintragen') }}
|
{{ __('Kurs eintragen') }}
|
||||||
</x-jet-nav-link>
|
</x-jet-nav-link>
|
||||||
<x-jet-nav-link href="{{ route('profile.show') }}" :active="request()->routeIs('profile.show')">
|
<x-jet-nav-link href="{{ route('profile.show') }}" :active="request()->routeIs('profile.show')">
|
||||||
|
|||||||
Reference in New Issue
Block a user