@extends('layouts.sub')

@section('content')
<div id="findIDFormResult" class="container">
    <header>
        <a href="/" type="text/html" rel="noreferrer" referrerpolicy="no-referrer">
            {{ strtoupper(config('app.name')) }}
        </a>
    </header>
    <main>
        <h5>아이디 찾기 결과</h5>
        <p>고객님의 정보와 일치하는 계정은 다음과 같습니다.</p>

        <div class="mb-2">
            <input type="text" name="email" class="form-control text-center" value="{{ $user?->email }}" disabled readonly/>
        </div>

        <div class="mb-3 text-center">
            @if (Route::has('login'))
                <a href="{{ route('login') }}" class="btn btn-primary w-100">확인</a>
            @endif
        </div>

        <hr/>

        <footer>
            Copyright (C) @ {{ date('Y') }} {{ config('company_name') }} Corp. All Rights Reserved.
        </footer>
    </main>
</div>
@endsection

@push('styles')
    <link rel="stylesheet" href="{{ asset('css/auth/findID.css') }}"/>
@endpush
