<?php $__env->startSection('site_title', formatTitle([__('API'), config('settings.title')])); ?>

<?php echo $__env->make('shared.breadcrumbs', ['breadcrumbs' => [
    ['url' => route('dashboard'), 'title' => __('Home')],
    ['url' => route('account'), 'title' => __('Account')],
    ['title' => __('API')]
]], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<h1 class="h2 mb-3 d-inline-block"><?php echo e(__('API')); ?></h1>

<div class="card border-0 shadow-sm">
    <div class="card-header align-items-center">
        <div class="row">
            <div class="col"><div class="font-weight-medium py-1"><?php echo e(__('API')); ?></div></div>
        </div>
    </div>
    <div class="card-body">
        <?php echo $__env->make('shared.message', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

        <div class="form-group">
            <label for="i-api-token"><?php echo e(__('API key')); ?></label>
            <div class="input-group">
                <input type="text" id="i-api-token" class="form-control" value="<?php echo e($user->api_token); ?>" readonly>
                <div class="input-group-append">
                    <div class="btn btn-primary" data-tooltip-copy="true" title="<?php echo e(__('Copy')); ?>" data-text-copy="<?php echo e(__('Copy')); ?>" data-text-copied="<?php echo e(__('Copied')); ?>" data-clipboard="true" data-clipboard-target="#i-api-token"><?php echo e(__('Copy')); ?></div>
                </div>
            </div>
        </div>

        <button type="button" class="btn btn-danger" data-toggle="modal" data-target="#modal" data-action="<?php echo e(route('account.api')); ?>" data-button="btn btn-danger" data-title="<?php echo e(__('Regenerate')); ?>" data-text="<?php echo e(__('Are you sure you want to regenerate your API key?')); ?>"><?php echo e(__('Regenerate')); ?></button>
    </div>
</div><?php /**PATH /home/mixfitco/domains/webrankmonitor.com/public_html/resources/views/account/api.blade.php ENDPATH**/ ?>