@extends('layouts.admin') @section('title', 'Profile') @section('page-title', 'Profile') @section('content')

Profile

Update your personal information, bio and social links.

@csrf @method('PUT')

Avatar

This will be used in your account header.

@php $avatarUrl = $user->avatar_path ? asset('storage/' . $user->avatar_path) : null; @endphp
@if($avatarUrl) {{ $user->full_name }} @else {{ strtoupper(Str::substr($user->first_name, 0, 1) . Str::substr($user->last_name, 0, 1)) }} @endif

PNG or JPG up to 2MB.

@error('first_name')

{{ $message }}

@enderror
@error('last_name')

{{ $message }}

@enderror
@error('bio')

{{ $message }}

@enderror

Social links

These links can be used in your profile areas.

@error('website_url')

{{ $message }}

@enderror
@error('twitter_url')

{{ $message }}

@enderror
@error('facebook_url')

{{ $message }}

@enderror
@error('linkedin_url')

{{ $message }}

@enderror
Save changes
@endsection