Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 

46 řádky
2.0 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>{% block title %}Welcome!{% endblock %}</title>
  7. <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
  8. {% block stylesheets %}
  9. {{ encore_entry_link_tags('app') }}
  10. {% endblock %}
  11. {% set _bp = brandPalette() %}
  12. {% if _bp %}
  13. <style>
  14. :root {
  15. --color-primary: {{ _bp.primary }};
  16. --color-primary-dark: {{ _bp.primaryDark }};
  17. --color-primary-light: {{ _bp.primaryLight }};
  18. --color-header-from: {{ _bp.headerFrom }};
  19. --color-header-to: {{ _bp.headerTo }};
  20. --color-bg: {{ _bp.bg }};
  21. --color-primary-rgb: {{ _bp.rgb }};
  22. --header-text: {{ _bp.headerText }};
  23. --header-text-muted: {{ _bp.headerTextMuted }};
  24. --header-overlay: {{ _bp.headerOverlay }};
  25. }
  26. </style>
  27. {% endif %}
  28. {% block javascripts %}
  29. {{ encore_entry_script_tags('app') }}
  30. {% endblock %}
  31. {% set frankenphpHotReload = app.request.server.get('FRANKENPHP_HOT_RELOAD') %}
  32. {% if frankenphpHotReload %}
  33. <meta name="frankenphp-hot-reload:url" content="{{ frankenphpHotReload }}">
  34. <script src="https://cdn.jsdelivr.net/npm/idiomorph"></script>
  35. <script src="https://cdn.jsdelivr.net/npm/frankenphp-hot-reload/+esm" type="module"></script>
  36. {% endif %}
  37. </head>
  38. <body data-theme="{{ app.user is not null ? app.user.theme|default('standard') : 'standard' }}">
  39. {% include '_sections/nav.html.twig' %}
  40. {% block body %}{% endblock %}
  41. </body>
  42. </html>