<?php
use App\Models\Setting;
use App\Models\CustomScript;
use App\Models\Contacts;
use Illuminate\Support\Carbon;

$customScripts = CustomScript::all();
$setting = Setting::first();
$contacts = Contacts::first();
$cf_error = Carbon::now()->format("Y-m-d H:i:s");
?>
<html lang="id-ID">
<head>
  <title><?php echo e($setting->after_nama_web); ?></title>

  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<meta name="description"
content="<?php echo e($setting->meta_description); ?>" />
<meta name="keywords"
content="<?php echo e($setting->meta_keyword); ?>" />
<meta name="twitter:title" content="<?php echo e($setting->meta_description); ?>">
<meta name="twitter:description"
content="<?php echo e($setting->meta_description); ?>">
<meta property="og:title" content="<?php echo e($setting->after_nama_web); ?>">
<meta property="og:description"
content="<?php echo e($setting->meta_description); ?>">
<meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<meta name="robots" content="INDEX, FOLLOW">
<meta name="Content-Type" content="text/html">
<meta name="twitter:card" content="summary">
<meta name="og:type" content="website">
<meta name="author" content="<?php echo e($setting->nama_web); ?>">
<meta property="og:image" content="https://panel.royalkingz.top/storage/logo/ogimage/<?php echo e($setting->ogimage); ?>">

<link rel="icon" href="https://panel.royalkingz.top/storage/logo/favicon/<?php echo e($setting->favicon); ?>" type="image/gif">

<meta property="og:site_name" content="<?php echo e($setting->nama_web); ?>">
<meta name="twitter:site" content="<?php echo e($setting->nama_web); ?>">
<meta name="twitter:image" content="https://panel.royalkingz.top/storage/logo/ogimage/<?php echo e($setting->ogimage); ?>">
<meta property="og:image:alt" content="<?php echo e($setting->nama_web); ?>">
<meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1, user-scalable=no">

<meta property="og:url" content="index.html">
<link rel="canonical" href="<?php echo e(URL::to('/')); ?>" />

<?php $__currentLoopData = $customScripts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $script): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php echo $script->content; ?>

<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

</head>
<?php
$setting = Setting::first();
?>


<?php if($setting->maintenance_mode == 0): ?>


<?php else: ?>

<script>
window.location.href = "<?php echo e(route('maintenance')); ?>";
</script>
<?php endif; ?>
<?php if(Agent::isMobile()): ?>
<!-- Mobile Views -->

<?php else: ?>
<!-- Desktop Views -->

<?php endif; ?>
</html>
<?php echo $__env->make('layouts.main-desktop', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php echo $__env->make('layouts.main-mobile', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ybjqutnd/jp.royalkingz.top/resources/views/layouts/main.blade.php ENDPATH**/ ?>