myvideogamelist.com/resources/views/pages/account/overview/_details.blade.php

135 lines
4.5 KiB
PHP
Raw Permalink Normal View History

<!--begin::details View-->
<div class="card mb-5 mb-xl-10" id="kt_profile_details_view">
<!--begin::Card header-->
<div class="card-header cursor-pointer">
<!--begin::Card title-->
<div class="card-title m-0">
<h3 class="fw-bolder m-0">{{ __('Profile Details') }}</h3>
</div>
<!--end::Card title-->
<!--begin::Action-->
<a href="{{ theme()->getPageUrl('account/settings') }}" class="btn btn-primary align-self-center">{{ __('Edit Profile') }}</a>
<!--end::Action-->
</div>
<!--begin::Card header-->
<!--begin::Card body-->
<div class="card-body p-9">
<!--begin::Row-->
<div class="row mb-7">
<!--begin::Label-->
<label class="col-lg-4 fw-bold text-muted">{{ __('Full Name') }}</label>
<!--end::Label-->
<!--begin::Col-->
<div class="col-lg-8">
<span class="fw-bolder fs-6 text-dark">{{ auth()->user()->name }}</span>
</div>
<!--end::Col-->
</div>
<!--end::Row-->
<!--begin::Input group-->
<div class="row mb-7">
<!--begin::Label-->
<label class="col-lg-4 fw-bold text-muted">{{ __('Company') }}</label>
<!--end::Label-->
<!--begin::Col-->
<div class="col-lg-8 fv-row">
<span class="fw-bold fs-6">{{ $info->company }}</span>
</div>
<!--end::Col-->
</div>
<!--end::Input group-->
<!--begin::Input group-->
<div class="row mb-7">
<!--begin::Label-->
<label class="col-lg-4 fw-bold text-muted">
{{ __('Contact Phone') }}
<i class="fas fa-exclamation-circle ms-1 fs-7" data-bs-toggle="tooltip" title="Phone number must be active"></i>
</label>
<!--end::Label-->
<!--begin::Col-->
<div class="col-lg-8 d-flex align-items-center">
<span class="fw-bolder fs-6 me-2">{{ $info->phone }}</span>
@if($info->phone)
<span class="badge badge-success">{{ __('Verified') }}</span>
@endif
</div>
<!--end::Col-->
</div>
<!--end::Input group-->
<!--begin::Input group-->
<div class="row mb-7">
<!--begin::Label-->
<label class="col-lg-4 fw-bold text-muted">{{ __('Website') }}</label>
<!--end::Label-->
<!--begin::Col-->
<div class="col-lg-8">
<a href="#" class="fw-bold fs-6 text-dark text-hover-primary">{{ $info->website }}</a>
</div>
<!--end::Col-->
</div>
<!--end::Input group-->
<!--begin::Input group-->
<div class="row mb-7">
<!--begin::Label-->
<label class="col-lg-4 fw-bold text-muted">
{{ __('Country') }}
<i class="fas fa-exclamation-circle ms-1 fs-7" data-bs-toggle="tooltip" title="Country of origination"></i>
</label>
<!--end::Label-->
<!--begin::Col-->
<div class="col-lg-8">
<span class="fw-bolder fs-6 text-dark">
{{ $info->country ? collect(\App\Core\Data::getCountriesList())->get($info->country)['name'] : '-' }}
</span>
</div>
<!--end::Col-->
</div>
<!--end::Input group-->
<!--begin::Input group-->
<div class="row mb-7">
<!--begin::Label-->
<label class="col-lg-4 fw-bold text-muted">{{ __('Communication') }}</label>
<!--end::Label-->
<!--begin::Col-->
<div class="col-lg-8">
<span class="fw-bolder fs-6 text-dark">
{{ implode(', ', array_map('ucwords', array_keys(array_filter($info->communication ?? []) ?? []))) }}
</span>
</div>
<!--end::Col-->
</div>
<!--end::Input group-->
<!--begin::Input group-->
<div class="row mb-10">
<!--begin::Label-->
<label class="col-lg-4 fw-bold text-muted">{{ __('Allow Changes') }}</label>
<!--begin::Label-->
<!--begin::Label-->
<div class="col-lg-8">
<span class="fw-bold fs-6">{{ __('Yes') }}</span>
</div>
<!--begin::Label-->
</div>
<!--end::Input group-->
</div>
<!--end::Card body-->
</div>
<!--end::details View-->