Files
dockergprompt/resources/views/components/app-footer.blade.php
T
marcocosta10000 ab6df785c4 feat(pdf): add DomPDF integration and ebook download feature
Integrate barryvdh/laravel-dompdf package for PDF generation with
custom configuration. Add authenticated ebook download route and view.
Update footer to display ebook download link for logged-in users.
2026-10-07 22:28:01 -03:00

18 lines
1.2 KiB
PHP
Executable File

<footer class="app-footer bg-dark text-white py-3">
<div class="container">
<div class="row align-items-center">
<div class="col-md-6 text-center text-md-start mb-2 mb-md-0">
<span class="small">&copy; {{ date('Y') }} GPrompt. @lang('footer.copyright') - @lang('footer.powered_by') <a href="https://www.syspanel.com.br" target="_blank" rel="noopener">Syspanel</a></span>
</div>
<div class="col-md-6 text-center text-md-end">
<a href="{{ route('legal.document.show', 'terms-of-service') }}" class="text-white text-decoration-none small me-3">@lang('footer.terms_of_service')</a>
<a href="{{ route('legal.document.show', 'privacy-policy') }}" class="text-white text-decoration-none small me-3">@lang('footer.privacy_policy')</a>
<a href="javascript:void(0)" onclick="cookieConsent.showPreferences()" class="text-white text-decoration-none small me-3">@lang('footer.cookie_preferences')</a>
@auth
<a href="{{ route('ebook.download') }}" class="text-white text-decoration-none small"><i class="bi bi-file-pdf me-1"></i>Ebook</a>
@endauth
</div>
</div>
</div>
</footer>