<?php $__env->startPush('page_title'); ?>
    Login
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<link rel="stylesheet" href="<?php echo e(asset('static/tree/css/signin.css?v=1.1')); ?>">

<body>
    <div class="signin-wrap" id='app'>
        <img class="logo" style="height: 35px;" src="<?php echo e(asset('assets/images/logoIcon/logo.png')); ?>" alt="">
        

        <form action="" method="post">
            <?php echo csrf_field(); ?>
            <div class="text">
                <h1>welcome to</h1>
                <p>joint investment platform<br>can make money</p>
                <ul>
                    <li>
                        <i class="phoneicon"></i>
                        <em>+234</em>

                        <input type="number" placeholder="enter phone number" maxlength="10"  name="mobile"/>


                        <b class="close right90"></b>

                    </li>
                    <li>
                        <i class="passwordicon"></i>
                        <input id='pwd' type="password" placeholder="Login password"  name="password">


                        <b class="close right90"></b>
                            <b class="eye"></b>

                    </li>
                </ul>
                <p class="retrieve">forgot password?</p>
            </div>

            <button type="submit" style="border: none; margin: 0 auto; display: block; background: transparent;">
                <div class="btn">
                    Sign in
                </div>
            </button>
        </form>


        <p class="retrieve" onclick="onJump('<?php echo e(route('user.login')); ?>')">No account?<b>Register</b> </p>
        <br>
        <br>
        <br>
    </div>

</body>

<script>
    $('.close').click(function() {
        $($(this).siblings('input')[0]).val('')
        $(this).removeClass('active')
    })

    $('.eye').click(function() {
        if ($($(this).siblings('input')[0]).attr('type') == 'password') {
            $($(this).siblings('input')[0]).attr('type', 'text')
            $(this).addClass('active')
        } else {
            $($(this).siblings('input')[0]).attr('type', 'password')
            $(this).removeClass('active')
        }
    })
    $('input').on('input', function($event) {
        if ($($event.target).siblings('.close')[0]) {
            if (!($($($event.target)[0]).val())) {
                $($($event.target).siblings('.close')[0]).removeClass('active')
            } else {
                $($($event.target).siblings('.close')[0]).addClass('active')
            }
        }
    })
    $('input').on('blur', function($event) {
        $($($event.target).siblings('.close')[0]).removeClass('active')
    })
    $('input').on('focus', function($event) {
        if ($($event.target).siblings('.close')[0]) {
            if (($($($event.target)[0]).val())) {
                $($($event.target).siblings('.close')[0]).addClass('active')
            }
        }
    })
</script>


<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.auth', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/AMPPS/www/ipad/core/resources/views/auth/login.blade.php ENDPATH**/ ?>