<?php $__env->startSection('css'); ?>
<style>

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

<?php $__env->startSection('content'); ?>
<div class="content">
    <div class="container">
    	<div class="row justify-content-center">
		    <div class="col-lg-4 mt-5">
		        <div class="pb-3">
		            <div class="section card bg-dark shadow-lg">
		                <div class="card-header bg-gradient">
                            <h3 class="card-title text-center">Login</h3>
                        </div>
		                <div class="card-body">
                            <?php if(session('success')): ?>
                            <div class="alert alert-success">
                                <?php echo e(session('success')); ?>

                            </div>
                            <?php endif; ?>

                            <?php if(session('error')): ?>
                            <div class="alert alert-danger">
                                <?php echo e(session('error')); ?>

                            </div>
                            <?php endif; ?>
		                    <form role="form" action="<?php echo e(route('post.login')); ?>" method="POST">
		                        <?php echo csrf_field(); ?>
		                        <div class="form-group mb-2">
		                            <label class="form-label">Username</label>
		                            <div class="input-group">
		                                
    		                            <input type="text" name="username" class="form-control" required autocomplete="off" placeholder="Username">
		                            </div>
		                        </div>
		                        <div class="form-group mb-3">
		                            <label class="form-label">Password</label>
		                            <div class="input-group">
		                                
    		                            <input type="password" name="password" class="form-control" required placeholder="Password">
    		                            
		                            </div>
		                        </div>
                              <div class="g-recaptcha" id="g-recaptcha" name="grecaptcha" data-sitekey="<?php echo e(ENV('CAPTCHA_SITE_KEY')); ?>"></div>
	                            <div class="text-end mt-3">
		                                <button type="submit" name="tombol" value="submit" class="btn btn-primary"><i class="fas fa-sign-in-alt"></i> Login</button>
		                            </div>
		                            <div class="text-end">
		                                <small class="text-muted">
		                                    <i>
		                                        Belum Punya Akun?
        		                                <a href="<?php echo e(route('register')); ?>">Daftar disini</a>
		                                    </i>
		                                </small>
		                            </div>
		                    </form>
		                </div>
		            </div>
		        </div>
		    </div>
		</div>
    </div>
</div>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/nvdstor2/demo4.nvdstoreindonesia.com/system/resources/views/components/admin/login.blade.php ENDPATH**/ ?>