34 lines
1.4 KiB
PHP
34 lines
1.4 KiB
PHP
<!--
|
|
GKACHELE™ Sidebar Widget Area
|
|
© 2025 GKACHELE™. Todos los derechos reservados.
|
|
-->
|
|
<aside class="gk-sidebar" style="width: 300px; padding: 20px; background: var(--bg-light);">
|
|
{% if widgets %}
|
|
{% for widget in widgets %}
|
|
<div class="gk-widget" style="margin-bottom: 30px; padding: 20px; background: var(--white); border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.05);">
|
|
{% if widget.title %}
|
|
<h3 style="color: var(--primary); margin-bottom: 15px; font-size: 18px;">{{ widget.title }}</h3>
|
|
{% endif %}
|
|
<div class="gk-widget-content">
|
|
{{ widget.content|safe }}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% if menus.sidebar %}
|
|
<div class="gk-widget gk-menu-widget" style="margin-bottom: 30px; padding: 20px; background: var(--white); border-radius: 5px;">
|
|
<h3 style="color: var(--primary); margin-bottom: 15px; font-size: 18px;">Menú</h3>
|
|
<ul style="list-style: none; padding: 0;">
|
|
{% for menu_item in menus.sidebar %}
|
|
<li style="margin-bottom: 10px;">
|
|
<a href="{{ menu_item.url }}" style="color: var(--text); text-decoration: none; transition: color 0.3s;">
|
|
{{ menu_item.title }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
</aside>
|