관리-도구
편집 파일: e8d2f8794aedd6c871ce2cb91ada80e2.php
<?php $__env->startSection('content'); ?> <!-- End Main Header --> <style> /* General Container Styling */ .tf-container { width: 100%; padding: 0 15px; } /* Gallery grid setup */ .grid_gallery { display: grid; grid-template-columns: repeat(3, 1fr); /* 3 columns for large screens */ gap: 20px; /* Gap between images */ justify-items: center; /* Center the content inside the grid */ } /* Ensure all gallery items have equal size */ .gallery_item { position: relative; width: 100%; /* padding-bottom: 100%; Makes the gallery item square (equal height and width) */ box-sizing: border-box; overflow: hidden; transition: transform 0.3s ease; } /* 3 columns on large screens */ @media (min-width: 1200px) { .grid_gallery { grid-template-columns: repeat(3, 1fr); /* 3 images per row on large screens */ } } /* 2 columns on medium screens */ @media (max-width: 1024px) { .grid_gallery { grid-template-columns: repeat(2, 1fr); /* 2 images per row on medium screens */ } } /* 1 column on small screens */ @media (max-width: 768px) { .grid_gallery { grid-template-columns: 1fr; /* 1 item per row on mobile screens */ } } /* Gallery Item Hover Effects */ .tf_gallery { position: relative; width: 100%; height: 100%; background-color: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); } /* Image Styling */ .tf_gallery img { width: 100%; height: 100%; object-fit: cover; /* Ensure image covers the area */ transition: transform 0.3s ease; /* Image zoom effect */ } /* Hover zoom effect */ .tf_gallery:hover img { transform: scale(1.1); /* Zoom image when hovered */ } /* Fancybox Modal Button */ .tf_gallery .btn-gallery { width: 55px; height: 55px; background-color: #088ec1; color: #fff; border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } /* Show Fancybox button on hover */ .tf_gallery:hover .btn-gallery { opacity: 1; visibility: visible; } /* Gallery Content (Title and Description) */ .tf_gallery .gallery-content { position: absolute; bottom: 20px; left: 20px; right: 20px; background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text */ padding: 10px; color: #fff; border-radius: 6px; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } /* Show content on hover */ .tf_gallery:hover .gallery-content { opacity: 1; visibility: visible; } /* Title Styling */ .tf_gallery .gallery-title { font-size: 18px; font-weight: bold; margin-bottom: 10px; } /* Subtitle Styling */ .tf_gallery .sub-title { font-size: 14px; color: rgba(255, 255, 255, 0.8); } /* Hover animation for gallery items */ .gallery_item:hover { transform: translateY(-10px); /* Move the item up slightly */ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Add shadow on hover */ } </style> <main id="main"> <section class="breadcumb-section"> <div class="tf-container"> <div class="row"> <div class="col-lg-12 center z-index1"> <h1 class="title">Gallery</h1> <ul class="breadcumb-list flex-five"> <li><a href="index.html">Home</a></li> <li><span>Gallery</span></li> </ul> <img class="bcrumb-ab" src="./assets/images/page/mask-bcrumb.png" alt=""> </div> </div> </div> </section> <section class="gallery_page pd-main"> <div class="tf-container"> <div class="row"> <div class="col-lg-12"> <div class="grid_gallery"> <?php $__currentLoopData = $galleryy; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $gallery): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="gallery_item"> <div class="tf_gallery"> <!-- Image Display --> <img src="<?php echo e(asset('storage/' . $gallery->image)); ?>" alt="gallery image" class="gallery-image"> <!-- Fancybox Button --> <a href="<?php echo e(asset('storage/' . $gallery->image)); ?>" class="btn-gallery" data-fancybox="gallery"> <i class="icon-Group-14"></i> </a> <!-- Gallery Content: Title and Description --> <div class="gallery-content"> <h4 class="gallery-title text-white mb-10"><?php echo e($gallery->title); ?></h4> <h5 class="sub-title text-white"><?php echo e($gallery->description); ?></h5> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> </section> </main> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.apps', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\91907\Desktop\ICT\BackEnd\public_html (2) (1)\public_html\resources\views/frontend/gallery.blade.php ENDPATH**/ ?>