feat(cms): implement complete SysSiteCMS content management system
Initial implementation of the HomeSysPanel CMS built with Laravel 13.0. Includes complete admin panel, content management, user authentication, modular architecture for products/services/chatbot, and marketing tools. Key features: - User authentication with email verification and password reset - Role-based access control (Admin/User with granular permissions) - Content management (pages, news, FAQ, downloads, galleries, banners) - Contact management system with subjects and responses - Marketing tools (email campaigns, visitor analytics, social sharing) - Modular architecture (Products, Services, Chatbot modules) - AI Chatbot integration with OpenRouter.ai and LlamaCpp support - Visitor tracking with geolocation - SEO optimization with meta tags and Open Graph - Responsive design with Bootstrap 5 - Dark mode support - Maintenance mode - Feature request system
This commit is contained in:
Executable
+63
@@ -0,0 +1,63 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', $category->name . ' - Galerias')
|
||||
@section('meta_description', $category->description ?? 'Galerias na categoria ' . $category->name)
|
||||
|
||||
@section('content')
|
||||
<div class="container py-5">
|
||||
<div class="text-center mb-5">
|
||||
<h1 class="display-5 fw-bold text-primary">{{ $category->name }}</h1>
|
||||
@if($category->description)
|
||||
<p class="lead text-muted">{{ $category->description }}</p>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
@if($galleries->count() > 0)
|
||||
<div class="row g-4">
|
||||
@foreach($galleries as $gallery)
|
||||
<div class="col-sm-6 col-md-4 col-lg-3">
|
||||
<a href="{{ route('gallery.show', $gallery->slug) }}" class="text-decoration-none">
|
||||
<div class="card h-100 border-0 shadow-sm overflow-hidden gallery-card">
|
||||
@if($gallery->images->count() > 0)
|
||||
@php $firstImage = $gallery->images->first(); @endphp
|
||||
<img src="{{ asset('storage/' . $firstImage->file_path) }}" alt="{{ $gallery->title }}" style="height: 200px; object-fit: cover; transition: transform 0.3s;">
|
||||
@else
|
||||
<div class="bg-light d-flex align-items-center justify-content-center" style="height: 200px;">
|
||||
<i class="bi bi-images text-muted"></i>
|
||||
</div>
|
||||
@endif
|
||||
<div class="card-body text-center">
|
||||
<h6 class="card-title fw-bold text-dark mb-1">{{ $gallery->title }}</h6>
|
||||
<small class="text-muted">{{ $gallery->images_count }} fotos</small>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<div class="mt-5 d-flex justify-content-center">
|
||||
{{ $galleries->links() }}
|
||||
</div>
|
||||
@else
|
||||
<div class="text-center py-5">
|
||||
<i class="bi bi-images text-muted mb-3 d-block"></i>
|
||||
<p class="text-muted fs-5">Nenhuma galeria nesta categoria no momento.</p>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="text-center mt-5">
|
||||
<a href="{{ route('index') }}" class="btn btn-outline-primary px-5 rounded-pill fw-bold">
|
||||
<i class="bi bi-arrow-left me-2"></i> Voltar ao Início
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('css')
|
||||
<style>
|
||||
.gallery-card:hover img {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
Reference in New Issue
Block a user