@extends('layouts.app') @section('content')

Dashboard

@if (session('status'))
{{ session('status') }}
@endif You are logged in!
Card Title

Manage user profile

@can('admin')

Add a department that is not existing

@endcan
@can('admin')

Add a faculty that is not existing

Create a Staff designation

@endcan {{-- @if (count($userProfile) < 1) I have one record! @elseif (count($userProfile) > 1)
Home
{{$userProfile->title.' '.$userProfile->last_name.', '.$userProfile->first_name}}
@if (File::exists(public_path('files/profile_images/'.$userProfile->image_url))) @else @endif
@isset($userProfile->CV_url) @endisset
DEPARTMENT: {{$userProfile->department}}
FACULTY: {{$userProfile->faculty}}
DESIGNATION: {{$userProfile->designation}}
EMAIL: {{$userProfile->email}}
PHONE: {{$userProfile->phone}}
Click here to download {{$userProfile->title.' '.$userProfile->last_name.' '.$userProfile->first_name}}'s CV file_download
@endif--}} @endsection