@extends('layouts.app') @section('title', 'Settings') @section('page-title', 'Settings') @section('content')
{{-- ─── Profile Info ───────────────────────────────────── --}}
{{ strtoupper(substr($user->name, 0, 2)) }}
{{ $user->name }}
{{ $user->email }}

Role Administrator
Joined {{ $user->created_at->format('M Y') }}
{{-- ─── Change Password ─────────────────────────────────── --}}
Change Password

Use a strong password with at least 8 characters

@csrf @method('PUT')
@error('current_password')
{{ $message }}
@enderror
@error('password')
{{ $message }}
@enderror
{{-- Password strength indicator --}}
{{-- ─── API Info ──────────────────────────────────── --}}
ESP32 API Reference

Endpoints your device should use

GET Config
{{ url('/api/device') }}
POST Heartbeat
{{ url('/api/device/heartbeat') }}
@endsection @push('scripts') @endpush