@extends('Component.layout') @section('title', 'Settings - Iqra Teacher') @section('breadcrumb', 'Settings') @section('content')
{{-- Page Header --}}

Settings

Manage your teacher account and profile details.

Back to Dashboard
{{-- Alerts --}} @if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
@endif {{-- Settings Grid --}}
{{-- Left Tab Menu --}}
Settings Menu
@php $tabIcons = [ 'profile' => '', 'qrcode' => '', ]; $tabLabels = [ 'profile' => 'My Profile', 'qrcode' => 'QR Code Generator', ]; @endphp @foreach($allowedTabs as $tab) @endforeach
{{-- Right Content Panels --}}
{{-- ===== PROFILE TAB ===== --}}
{{ strtoupper(substr($user->name, 0, 1)) }}

{{ $user->name }}

{{ $user->email }}

Teacher Account
@csrf
{{-- ===== QR CODE TAB ===== --}}

QR Code Generator

Generate QR codes for student IDs, attendance links, forms, and more.

@csrf
@foreach([['Text / URL','url'],['Student ID','student'],['Attendance','attendance'],['Class Link','class']] as $type) @endforeach
@if(session('qr_url'))
Generated QR Code
QR Code

{{ session('qr_text') }}

Download
@else

QR Preview

Enter content and click Generate

@endif
{{-- end right --}}
{{-- end grid --}}
@endsection