templates/base.html.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4.   <meta charset="utf-8">
  5.   <title>{% block title %}CogniEdu{% endblock %}</title>
  6.   <meta name="viewport" content="width=device-width, initial-scale=1">
  7.   {# Bootstrap 5 #}
  8.   <link
  9.     href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
  10.     rel="stylesheet"
  11.   >
  12.   {# Custom theme overrides #}
  13.   <link rel="stylesheet" href="{{ asset('css/theme.css') }}">
  14.   {% block stylesheets %}{% endblock %}
  15. </head>
  16. <body class="bg-white text-dark">
  17. {# Skip link for accessibility #}
  18. <a href="#main" class="visually-hidden-focusable">Skip to content</a>
  19. <!-- ===== Header ===== -->
  20. <header class="border-bottom bg-white">
  21.   <div class="container-fluid px-4 py-2 d-flex align-items-center justify-content-between">
  22.     <!-- Brand -->
  23. <a href="{{ path('home') }}" class="d-flex align-items-center text-decoration-none">
  24.   <img
  25.     src="{{ asset('images/cogni_logo-4.png') }}"
  26.     alt="CogniEdu logo"
  27.     style="height:70px; width:auto;"
  28.     class="me-2"
  29.   >
  30.   <span class="fw-semibold fs-5 text-dark"></span>
  31. </a>
  32.     <!-- Navigation -->
  33.     <nav class="d-none d-md-flex gap-4">
  34.       <a class="text-decoration-none text-dark fw-medium" href="{{ path('platform') }}">Platform</a>
  35.       <a class="text-decoration-none text-dark fw-medium" href="{{ path('solutions') }}">Solutions</a>
  36.       <a class="text-decoration-none text-dark fw-medium" href="{{ path('security') }}">Security</a>
  37.       <a class="text-decoration-none text-dark fw-medium" href="{{ path('about') }}">About</a>
  38.     </nav>
  39.     <!-- CTA -->
  40.     <div class="d-flex gap-2">
  41.       <a href="{{ path('contact') }}" class="btn btn-outline-secondary btn-sm">Contact</a>
  42.       <a href="{{ path('request_demo') }}" class="btn btn-primary btn-sm">Request Demo</a>
  43.     </div>
  44.   </div>
  45. </header>
  46. <!-- ===== Main Content ===== -->
  47. <main id="main">
  48.   {% block body %}{% endblock %}
  49. </main>
  50. <!-- ===== Footer ===== -->
  51. <footer class="border-top bg-light mt-5">
  52.   <div class="container py-4">
  53.     <div class="row align-items-center gy-3">
  54.       <div class="col-md-6 small text-muted">
  55.         © {{ "now"|date("Y") }} CogniEdu. All rights reserved.
  56.       </div>
  57.       <div class="col-md-6 text-md-end small">
  58.         <a href="{{ path('privacy') }}" class="text-muted text-decoration-none me-3">Privacy</a>
  59.         <a href="{{ path('security') }}" class="text-muted text-decoration-none me-3">Security</a>
  60.         <a href="{{ path('contact') }}" class="text-muted text-decoration-none">Contact</a>
  61.       </div>
  62.     </div>
  63.   </div>
  64. </footer>
  65. <script
  66.   src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js">
  67. </script>
  68. {% block javascripts %}{% endblock %}
  69. </body>
  70. </html>