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.   
  13.     
  14.   {# Custom theme overrides #}
  15.   <link rel="stylesheet" href="{{ asset('css/theme.css') }}">
  16.     {# after bootstrap + app.css #}
  17.     <link rel="stylesheet" href="{{ asset('css/brand-overrides.css') }}">
  18.   {% block stylesheets %}{% endblock %}
  19. </head>
  20. <body class="bg-white text-dark">
  21. {# Skip link for accessibility #}
  22. <a href="#main" class="visually-hidden-focusable">Skip to content</a>
  23. <!-- ===== Header ===== -->
  24. <header class="border-bottom bg-white">
  25.   <div class="container-fluid px-4 py-2 d-flex align-items-center justify-content-between">
  26.     <!-- Brand -->
  27. <a href="{{ path('home') }}" class="d-flex align-items-center text-decoration-none">
  28.   <img
  29.     src="{{ asset('images/cogni_logo.png') }}"
  30.     alt="CogniEdu logo"
  31.     style="height:70px; width:auto;"
  32.     class="me-2"
  33.   >
  34.   <span class="fw-semibold fs-5 text-dark"></span>
  35. </a>
  36.     <!-- Navigation -->
  37.     {% set r = app.request.attributes.get('_route') %}
  38.     <nav class="d-none d-md-flex gap-4 ce-nav">
  39.       <a class="text-decoration-none fw-medium {{ r == 'platform' ? 'active' : '' }}"
  40.          href="{{ path('platform') }}">Platform</a>
  41.     
  42.       <a class="text-decoration-none fw-medium {{ r == 'solutions' ? 'active' : '' }}"
  43.          href="{{ path('solutions') }}">Solutions</a>
  44.     
  45. <!--      <a class="text-decoration-none fw-medium {{ r == 'insights' ? 'active' : '' }}"
  46.          href="{{ path('insights') }}">Insights GPT</a> -->
  47.     
  48. <!--      <a class="text-decoration-none fw-medium {{ r == 'enrollment_analytics' ? 'active' : '' }}"
  49.          href="{{ path('enrollment_analytics') }}">Analytics Grok</a>-->
  50.     
  51. <!--      <a class="text-decoration-none fw-medium {{ r == 'docs_enrollment_intelligence' ? 'active' : '' }}"
  52.          href="{{ path('docs_enrollment_intelligence') }}">Josh</a>-->
  53.     
  54. <!--      <a class="text-decoration-none fw-medium {{ r == 'keith1' ? 'active' : '' }}"
  55.          href="{{ path('keith1') }}">Keith1</a>-->
  56.     
  57. <!--      <a class="text-decoration-none fw-medium {{ r == 'keith2' ? 'active' : '' }}"
  58.          href="{{ path('keith2') }}">Keith2</a>-->
  59.     
  60.       <a class="text-decoration-none fw-medium {{ r == 'security' ? 'active' : '' }}"
  61.          href="{{ path('security') }}">Security</a>
  62.     
  63.       <a class="text-decoration-none fw-medium {{ r == 'about' ? 'active' : '' }}"
  64.          href="#">About</a>
  65.     </nav>
  66.     <!-- CTA -->
  67.     <div class="d-flex gap-2">
  68.       <a href="{{ path('contact') }}" class="btn btn-outline-secondary btn-sm">Contact</a>
  69.       <a href="{{ path('request_demo') }}" class="btn btn-primary btn-sm">Request Demo</a>
  70.     </div>
  71.   </div>
  72. </header>
  73. <!-- ===== Main Content ===== -->
  74. <main id="main">
  75.   {% block body %}{% endblock %}
  76. </main>
  77. <!-- ===== Footer ===== -->
  78. <footer class="border-top bg-light mt-5">
  79.   <div class="container py-4">
  80.     <div class="row align-items-center gy-3">
  81.       <div class="col-md-6 small text-muted">
  82.         © {{ "now"|date("Y") }} CogniEdu. All rights reserved.
  83.       </div>
  84.       <div class="col-md-6 text-md-end small">
  85.         <a href="{{ path('privacy') }}" class="text-muted text-decoration-none me-3">Privacy</a>
  86.         <a href="{{ path('security') }}" class="text-muted text-decoration-none me-3">Security</a>
  87.         <a href="{{ path('contact') }}" class="text-muted text-decoration-none">Contact</a>
  88.       </div>
  89.     </div>
  90.   </div>
  91. </footer>
  92. <script
  93.   src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js">
  94. </script>
  95. {% block javascripts %}{% endblock %}
  96. </body>
  97. </html>