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