@extends('admin.master') @section('title', trans('general.dashboard')) @section('content')

@lang('general.dashboard')

{{ App\Models\User::count() }}

@lang('admin.index.total-users')

@lang('general.user-manage')

{{ App\Models\Player::count() }}

@lang('admin.index.total-players')

@lang('general.player-manage')

{{ App\Models\Texture::count() }}

@lang('admin.index.total-textures')

@php $size = DB::table('textures')->sum('size') ?: 0; @endphp

{{ $size > 1024 ? round($size / 1024, 1).'MB' : $size.'KB' }}

@lang('admin.index.disk-usage')

@lang('admin.index.overview')

@endsection