

<?php $__env->startSection('title', $title); ?>
<?php $__env->startSection('ad_page_title', 'View Maid Link'); ?>
<?php $__env->startSection('ad_page_subtitle', 'View maid link page details'); ?>

<?php $__env->startSection('ad_content'); ?>
<div class="container-fluid py-4">
    <div class="d-flex flex-column flex-md-row justify-content-between align-items-md-center gap-3 mb-4">
        <div>
            <h1 class="h3 mb-1">View Maid Link</h1>
            <p class="text-muted mb-0">View maid link page details</p>
        </div>

        <div class="d-flex gap-2">
            <a href="<?php echo e(route('admin.maid-links.edit', $maidLink)); ?>" class="btn btn-warning">
                <i class="fa-solid fa-pen-to-square me-2"></i>Edit
            </a>

            <a href="<?php echo e(route('admin.maid-links.index')); ?>" class="btn btn-light border">
                <i class="fa-solid fa-arrow-left me-2"></i>Back
            </a>
        </div>
    </div>

    <div class="card shadow-sm border-0">
        <div class="card-body p-4">
            <div class="row g-4">
                <div class="col-lg-4">
                    <div class="border rounded p-3 h-100 bg-light-subtle">
                        <div class="mb-3">
                            <div class="small text-muted mb-1">ID</div>
                            <div class="fw-semibold"><?php echo e($maidLink->id); ?></div>
                        </div>

                        <div class="mb-3">
                            <div class="small text-muted mb-1">Country</div>
                            <div><span class="badge text-bg-light border"><?php echo e($maidLink->nationality_name); ?></span></div>
                        </div>

                        <div class="mb-3">
                            <div class="small text-muted mb-1">Meta Title</div>
                            <div><?php echo e($maidLink->meta_title ?: '-'); ?></div>
                        </div>

                        <div class="mb-3">
                            <div class="small text-muted mb-1">H1</div>
                            <div class="fw-semibold"><?php echo e($maidLink->h1 ?: '-'); ?></div>
                        </div>

                        <div class="mb-3">
                            <div class="small text-muted mb-1">Title</div>
                            <div><?php echo e($maidLink->title ?: '-'); ?></div>
                        </div>

                        <div class="mb-3">
                            <div class="small text-muted mb-1">Slug</div>
                            <div><code><?php echo e($maidLink->slug); ?></code></div>
                        </div>

                        <div class="mb-3">
                            <div class="small text-muted mb-1">Meta Keywords</div>
                            <div><?php echo e($maidLink->meta_keywords ?: '-'); ?></div>
                        </div>

                        <div class="mb-0">
                            <div class="small text-muted mb-1">Created At</div>
                            <div><?php echo e($maidLink->created_at?->format('Y-m-d H:i') ?? '-'); ?></div>
                        </div>
                    </div>
                </div>

                <div class="col-lg-8">
                    <div class="border rounded p-3 h-100">
                        <div class="small text-muted mb-3">Image</div>

                        <?php if($maidLink->image): ?>
                            <img
                                src="<?php echo e(asset('storage/' . $maidLink->image)); ?>"
                                alt="<?php echo e($maidLink->title ?: $maidLink->h1); ?>"
                                class="img-fluid rounded border"
                                style="max-height: 320px; object-fit: cover;"
                            >
                        <?php else: ?>
                            <div class="d-flex align-items-center justify-content-center rounded border bg-light text-muted" style="height: 320px;">
                                <div class="text-center">
                                    <i class="fa-regular fa-image fs-2 mb-2"></i>
                                    <div>No image uploaded</div>
                                </div>
                            </div>
                        <?php endif; ?>
                    </div>
                </div>

                <div class="col-12">
                    <div class="border rounded p-4 mb-4">
                        <div class="small text-muted mb-3">Meta Description</div>
                        <div><?php echo e($maidLink->meta_description ?: '-'); ?></div>
                    </div>
                </div>

                <div class="col-12">
                    <div class="border rounded p-4 mb-4">
                        <div class="small text-muted mb-3">Content EN</div>

                        <?php if($maidLink->content_en): ?>
                            <div class="ck-content"><?php echo $maidLink->content_en; ?></div>
                        <?php else: ?>
                            <div class="text-muted">No English content available.</div>
                        <?php endif; ?>
                    </div>
                </div>

                <div class="col-12">
                    <div class="border rounded p-4">
                        <div class="small text-muted mb-3">Content AR</div>

                        <?php if($maidLink->content_ar): ?>
                            <div dir="rtl" class="ck-content text-end"><?php echo $maidLink->content_ar; ?></div>
                        <?php else: ?>
                            <div class="text-muted">No Arabic content available.</div>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.ad_master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/onesourceerp/public_html/project/resources/views/admin/maid-links/show.blade.php ENDPATH**/ ?>