diff --git a/app/Classes/StatusUser.php b/app/Classes/StatusUser.php index b93d915..63c9e8c 100644 --- a/app/Classes/StatusUser.php +++ b/app/Classes/StatusUser.php @@ -4,6 +4,8 @@ namespace App\Classes; +use App\Models\Employer; + class StatusUser { public static function Status() { diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index 82fa045..146ca8f 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -48,7 +48,11 @@ @guest Я ищу сотрудника @else - Я ищу сотрудника + @if (Auth()->user()->is_lookin) + Я ищу сотрудника + @else + Я ищу сотрудника + @endif @endguest