@extends('layout.front.master') @php $galleryModuleName = config('site.modules.gallery.page_header.title', config('cd-system.modules.gallery.name', 'Galería')); $galleryDescription = config('site.modules.gallery.page_header.subtitle', 'Explora nuestra galería de imágenes y contenido visual.'); $galleryImage = $galleries->isNotEmpty() ? (filter_var($galleries->first()->img, FILTER_VALIDATE_URL) ? $galleries->first()->img : asset($galleries->first()->img)) : brand_og_image(); @endphp @section('title', $galleryModuleName) @section('description', $galleryDescription) @section('keywords', config('site.seo.keywords') . ', galería, imágenes, fotos, proyectos') {{-- Open Graph Meta Tags --}} @section('og_title', $galleryModuleName) @section('og_description', $galleryDescription) @section('og_image', $galleryImage) @section('og_type', 'website') @section('og_url', url()->current()) {{-- Twitter Card Meta Tags --}} @section('twitter_title', $galleryModuleName) @section('twitter_description', $galleryDescription) @section('twitter_image', $galleryImage) @section('content') @php // Detectar si el demo activo es demo-photography-3 para personalizar la vista $activeDemo = get_active_demo(); $isPhotography3 = ($activeDemo === 'demo-photography-3'); // Determinar clases CSS según si hay sidebar o no $sidebarColClass = $isPhotography3 ? 'd-none' : 'col-lg-3 order-2 order-lg-1'; $contentColClass = $isPhotography3 ? 'col-12' : 'col-lg-9 order-1 order-lg-2'; @endphp @include('modules.gallery.frontend.partials.dynamic-header') {{-- Lightbox fullscreen — uses Porto's exact IDs so custom.js handles it --}}
{{ config('site.gallery.empty_text', 'Estamos cargando contenido. Volvé pronto.') }}