@extends('admin.layout') @section('content')

{{ __('All Subdomains') }}

@if (!empty(request()->input('type'))) @endif
@if (count($subdomains) == 0)

{{ __('NO SUBDOMAIN FOUND') }}

@else
@foreach ($subdomains as $subdomain) @endforeach
{{ __('Username') }} {{ __('Subdomain') }} {{ __('Status') }} {{ __('Action') }}
@php $uname = $subdomain->username; $initials = strtoupper(substr($uname, 0, 2)); $bgColors = ['#E0E7FF', '#F3E8FF', '#ECFDF5', '#FEF3C7', '#FFE4E6']; $textColors = ['#4F46E5', '#7C3AED', '#059669', '#D97706', '#E11D48']; $colorIdx = crc32($uname) % 5; @endphp
{{ $initials }} {{ $subdomain->username }}
{{ strtolower($subdomain->username) }}.{{ env('WEBSITE_HOST') }}
@csrf
@endif
@endsection