Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 
 

115 líneas
4.2 KiB

  1. {% set body_classes = body_class(['header-fixed', 'header-animated', 'header-dark', 'header-transparent', 'sticky-footer']) %}
  2. {% set grid_size = theme_var('grid-size') %}
  3. {% set compress = theme_var('production-mode') ? '.min.css' : '.css' %}
  4. {% use 'blocks/base.html.twig' %}
  5. <!DOCTYPE html>
  6. <html lang="{{ grav.language.getActive ?: grav.config.site.default_lang }}">
  7. <head>
  8. {% block head deferred %}
  9. <meta charset="utf-8" />
  10. <title>{% if page.title %}{{ page.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
  11. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  12. <meta name="viewport" content="width=device-width, initial-scale=1">
  13. {% include 'partials/metadata.html.twig' %}
  14. <link rel="icon" type="image/png" href="{{ url('theme://images/favicon.png') }}" />
  15. <link rel="canonical" href="{{ page.url(true, true) }}" />
  16. {% endblock head %}
  17. {% block stylesheets %}
  18. {% do assets.addCss('theme://css-compiled/spectre'~compress) %}
  19. {% if theme_var('spectre.exp') %}{% do assets.addCss('theme://css-compiled/spectre-exp'~compress) %}{% endif %}
  20. {% if theme_var('spectre.icons') %}{% do assets.addCss('theme://css-compiled/spectre-icons'~compress) %}{% endif %}
  21. {% do assets.addCss('theme://css-compiled/theme'~compress) %}
  22. {% do assets.addCss('theme://css/custom.css') %}
  23. {% do assets.addCss('theme://css/line-awesome.min.css') %}
  24. {% endblock %}
  25. {% block javascripts %}
  26. <script src="https://js.stripe.com/v3/"></script>
  27. {% do assets.addJs('jquery', 101) %}
  28. {% do assets.addJs('theme://js/jquery.treemenu.js', {group:'bottom'}) %}
  29. {% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
  30. {% endblock %}
  31. {% block assets deferred %}
  32. {{ assets.css()|raw }}
  33. {{ assets.js()|raw }}
  34. {% endblock %}
  35. </head>
  36. <body id="top" class="{% block body_classes %}{{ body_classes }}{% endblock %}">
  37. <div id="page-wrapper">
  38. {% block header %}
  39. <section id="header" class="section">
  40. <section class="container {{ grid_size }}">
  41. <nav class="navbar">
  42. <section class="navbar-section logo">
  43. {% include 'partials/logo.html.twig' %}
  44. </section>
  45. <section class="navbar-section desktop-menu">
  46. <nav class="dropmenu animated">
  47. {% block header_navigation %}
  48. {% include 'partials/navigation.html.twig' %}
  49. {% endblock %}
  50. </nav>
  51. {% if config.plugins.login.enabled and grav.user.username %}
  52. <span class="login-status-wrapper"><i class="fa fa-user"></i> {% include 'partials/login-status.html.twig' %}</span>
  53. {% endif %}
  54. </section>
  55. </nav>
  56. </section>
  57. </section>
  58. <div class="mobile-menu">
  59. <div class="button_container" id="toggle">
  60. <span class="top"></span>
  61. <span class="middle"></span>
  62. <span class="bottom"></span>
  63. </div>
  64. </div>
  65. {% endblock %}
  66. {% block hero %}{% endblock %}
  67. <section id="start">
  68. {% block body %}
  69. <section id="body-wrapper" class="section">
  70. <section class="container {{ grid_size }}">
  71. {% block messages %}
  72. {% include 'partials/messages.html.twig' ignore missing %}
  73. {% endblock %}
  74. {{ block('content_surround') }}
  75. </section>
  76. </section>
  77. {% endblock %}
  78. </section>
  79. </div>
  80. {% block footer %}
  81. {% include 'partials/footer.html.twig' %}
  82. {% endblock %}
  83. {% block mobile %}
  84. <div class="mobile-container">
  85. <div class="overlay" id="overlay">
  86. <div class="mobile-logo">
  87. {% include 'partials/logo.html.twig' with {mobile: true} %}
  88. </div>
  89. <nav class="overlay-menu">
  90. {% include 'partials/navigation.html.twig' with {tree: true} %}
  91. </nav>
  92. </div>
  93. </div>
  94. {% endblock %}
  95. {% block bottom %}
  96. {{ assets.js('bottom')|raw }}
  97. {% endblock %}
  98. </body>
  99. </html>