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
53 lines
2.6 KiB
PHP
Executable File
53 lines
2.6 KiB
PHP
Executable File
@extends('layouts.app')
|
|
|
|
@section('title', $page->title)
|
|
@section('meta_description', $page ? $page->meta_description : 'Perguntas frequentes sobre a Syspanel.')
|
|
@section('meta_keywords', $page->meta_keywords)
|
|
@section('og_title', $page->og_title)
|
|
@section('og_description', $page->og_description)
|
|
@section('og_image', $page->og_image)
|
|
@section('canonical', $page->canonical_url)
|
|
|
|
@section('content')
|
|
<div class="container py-5">
|
|
<div class="text-center mb-5">
|
|
<h1 class="display-4 fw-bold text-primary">Perguntas Frequentes</h1>
|
|
<p class="lead text-muted">Tire suas dúvidas rápidas sobre a Syspanel.</p>
|
|
</div>
|
|
|
|
<div class="row justify-content-center">
|
|
<div class="col-lg-8">
|
|
<div class="accordion shadow-sm" id="accordionFaq">
|
|
@forelse($faqs as $index => $faq)
|
|
<div class="accordion-item border-0 mb-3 rounded-3 overflow-hidden shadow-sm">
|
|
<h2 class="accordion-header" id="heading{{ $faq->id }}">
|
|
<button class="accordion-button {{ $index === 0 ? '' : 'collapsed' }} fw-bold py-4" type="button" data-bs-toggle="collapse" data-bs-target="#collapse{{ $faq->id }}" aria-expanded="{{ $index === 0 ? 'true' : 'false' }}" aria-controls="collapse{{ $faq->id }}">
|
|
<i class="bi bi-question-circle me-3 text-primary"></i>
|
|
{{ $faq->question }}
|
|
</button>
|
|
</h2>
|
|
<div id="collapse{{ $faq->id }}" class="accordion-collapse collapse {{ $index === 0 ? 'show' : '' }}" aria-labelledby="heading{{ $faq->id }}" data-bs-parent="#accordionFaq">
|
|
<div class="accordion-body py-4 px-5 text-muted">
|
|
{!! nl2br(e($faq->answer)) !!}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@empty
|
|
<div class="text-center py-5">
|
|
<i class="bi bi-info-circle fs-1 text-muted mb-3 d-block"></i>
|
|
<p class="text-muted">Nenhuma pergunta cadastrada no momento.</p>
|
|
</div>
|
|
@endforelse
|
|
</div>
|
|
|
|
<div class="text-center mt-5">
|
|
<p class="text-muted">Ainda tem dúvidas?</p>
|
|
<a href="{{ route('contato') }}" class="btn btn-primary px-5 py-3 rounded-pill fw-bold shadow-sm">
|
|
Entre em Contato Conosco
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|