First Commit
This commit is contained in:
Executable
+87
@@ -0,0 +1,87 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ session('lang')|default('pt-BR') }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>{% block title %}{{ title|default(platformName) }}{% endblock %}</title>
|
||||
|
||||
{# Bootstrap CSS (Default) #}
|
||||
<link rel="stylesheet" href="{{ asset_url('css/bootstrap.min.css') }}">
|
||||
|
||||
{# Bootstrap Icons #}
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
||||
|
||||
{# Lightbox2 #}
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.3/css/lightbox.min.css">
|
||||
|
||||
{# Theme Specific CSS #}
|
||||
<link rel="stylesheet" href="{{ theme_asset('css/style.css') }}">
|
||||
<link rel="stylesheet" href="{{ theme_url('style.css') }}">
|
||||
|
||||
{# Alpine.js #}
|
||||
<script src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js" defer></script>
|
||||
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
|
||||
<body class="theme-{{ active_theme }}">
|
||||
|
||||
{% block layout_navbar %}
|
||||
{# Fallback to global navbar if theme doesn't provide one #}
|
||||
{% include 'partials/nav-bar.twig' ignore missing %}
|
||||
{% endblock %}
|
||||
|
||||
{% block layout_body %}
|
||||
<main class="container py-4">
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
{% endblock %}
|
||||
|
||||
{% block layout_footer %}
|
||||
{# Fallback to global footer if theme doesn't provide one #}
|
||||
{% include 'partials/footer.twig' ignore missing %}
|
||||
{% endblock %}
|
||||
|
||||
{# Bootstrap JS #}
|
||||
<script src="{{ asset_url('js/bootstrap.bundle.js') }}"></script>
|
||||
|
||||
{# jQuery (Required by Lightbox2) #}
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||
|
||||
{# Lightbox2 #}
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.3/js/lightbox.min.js"></script>
|
||||
<script>
|
||||
if (typeof lightbox !== 'undefined') {
|
||||
lightbox.option({
|
||||
'resizeDuration': 200,
|
||||
'wrapAround': true,
|
||||
'albumLabel': "{{ __('layout.lightbox.image_of')|default('Imagem %1 de %2') }}",
|
||||
'fadeDuration': 300,
|
||||
'imageFadeDuration': 300
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
{% block scripts %}{% endblock %}
|
||||
|
||||
{# Cookie Consent #}
|
||||
<link rel="stylesheet" type="text/css" href="/consent/cookieconsent.min.css" />
|
||||
<script src="/consent/cookieconsent.min.js"></script>
|
||||
<script>
|
||||
window.addEventListener("load", function(){
|
||||
window.cookieconsent.initialise({
|
||||
"palette": {
|
||||
"popup": { "background": "#216942", "text": "#b2d192" },
|
||||
"button": { "background": "#afed71" }
|
||||
},
|
||||
"content": {
|
||||
"message": "{{ __('layout.cookie_consent.message') }}",
|
||||
"dismiss": "{{ __('layout.cookie_consent.dismiss') }}",
|
||||
"link": "{{ __('layout.footer.terms') }}",
|
||||
"href": "/user_terms.html"
|
||||
}
|
||||
})});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user