<?php if (isset($component)) { $__componentOriginalb998c89882eab8e1df2af93927d4d429 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb998c89882eab8e1df2af93927d4d429 = $attributes; } ?>
<?php $component = App\View\Components\Dashboard\Layout::resolve(['title' => ''.e(__('dashboard.seo_assistant')).''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\Dashboard\Layout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
    <div class="container-fluid">
        <div class="row">
            <div class="col-12">
                <div class="page-title-box d-flex align-items-center justify-content-between">
                    <h4 class="mb-0"><?php echo e(__('dashboard.seo_assistant')); ?></h4>
                    <div class="page-title-right">
                        <ol class="breadcrumb m-0">
                            <li class="breadcrumb-item"><a
                                    href="<?php echo e(route('dashboard.home')); ?>"><?php echo e(__('dashboard.dashboard')); ?></a></li>
                            <li class="breadcrumb-item active"><?php echo e(__('dashboard.seo_assistant')); ?></li>
                        </ol>
                    </div>
                </div>
            </div>
        </div>

        <div class="row">
            <div class="col-12">
                <div class="enhanced-page-header">
                    <div class="card-body">
                        <div class="d-flex justify-content-between align-items-center mb-3">
                            <h5 class="card-title"><?php echo e(__('dashboard.seo_settings')); ?></h5>
                            <a href="<?php echo e(route('dashboard.seo-assistants.edit')); ?>" class="btn btn-primary">
                                <i class="fas fa-edit"></i> <?php echo e(__('dashboard.edit')); ?>

                            </a>
                        </div>

                        <?php if($seo): ?>
                            <?php
                                $pages = [
                                    'home' => __('dashboard.home_page'),
                                    'about' => __('dashboard.about_page'),
                                    'contact' => __('dashboard.contact_page'),
                                    'blog' => __('dashboard.blog_page'),
                                    'service' => __('dashboard.service_page'),
                                    'products' => __('dashboard.products'),
                                ];
                                $langs = ['en' => __('dashboard.english'), 'ar' => __('dashboard.arabic')];
                            ?>
                            <div class="row">
                                <?php $__currentLoopData = $pages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $label): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="col-md-6">
                                        <div class="card mb-3">
                                            <div class="card-header">
                                                <h6 class="card-title text-primary"><?php echo e($label); ?></h6>
                                            </div>
                                            <div class="card-body">
                                                <?php $__currentLoopData = $langs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $langKey => $langLabel): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <div class="mb-2">
                                                        <strong><?php echo e(__('dashboard.meta_title')); ?>

                                                            (<?php echo e($langLabel); ?>):</strong>
                                                        <p class="text-muted">
                                                            <?php echo e($seo->{$key . '_meta_title_' . $langKey} ?? '-'); ?></p>
                                                    </div>
                                                    <div class="mb-2">
                                                        <strong><?php echo e(__('dashboard.meta_description')); ?>

                                                            (<?php echo e($langLabel); ?>):</strong>
                                                        <p class="text-muted">
                                                            <?php echo e($seo->{$key . '_meta_desc_' . $langKey} ?? '-'); ?></p>
                                                    </div>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            </div>
                                        </div>
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                        <?php else: ?>
                            <div class="text-center py-4">
                                <p class="text-muted"><?php echo e(__('dashboard.no_seo_settings_found')); ?></p>
                                <a href="<?php echo e(route('dashboard.seo-assistants.edit')); ?>" class="btn btn-primary">
                                    <?php echo e(__('dashboard.create_seo_settings')); ?>

                                </a>
                            </div>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb998c89882eab8e1df2af93927d4d429)): ?>
<?php $attributes = $__attributesOriginalb998c89882eab8e1df2af93927d4d429; ?>
<?php unset($__attributesOriginalb998c89882eab8e1df2af93927d4d429); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb998c89882eab8e1df2af93927d4d429)): ?>
<?php $component = $__componentOriginalb998c89882eab8e1df2af93927d4d429; ?>
<?php unset($__componentOriginalb998c89882eab8e1df2af93927d4d429); ?>
<?php endif; ?>
<?php /**PATH /home/egypetoo/public_html/resources/views/Dashboard/SeoAssistant/index.blade.php ENDPATH**/ ?>