template.eml.html 2.86 KB
Newer Older
zapashcanon's avatar
zapashcanon committed
1
let render_unsafe ~lang ~title ~content =
zapashcanon's avatar
zapashcanon committed
2 3 4 5
  <!DOCTYPE html>
  <html lang="<%s lang %>">
    <head>
      <title><%s title %> | OCamlPro</title>
zapashcanon's avatar
zapashcanon committed
6
      <link rel="icon" type="image/svg+xml" href="/assets/img/logo_ocp_icon.svg">
zapashcanon's avatar
zapashcanon committed
7
      <link href="/assets/css/bootstrap.min.css" rel="stylesheet"/>
zapashcanon's avatar
zapashcanon committed
8
      <link href="/assets/css/template.css" rel="stylesheet">
zapashcanon's avatar
zapashcanon committed
9 10 11 12
      <link href="/assets/css/style.css" rel="stylesheet">
    </head>
    <body>
      <header>
zapashcanon's avatar
zapashcanon committed
13 14
          <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
              <div class="container-fluid">
zapashcanon's avatar
zapashcanon committed
15
                <a class="navbar-brand" href="/"><img src="/assets/img/logo_ocamlpro.png" alt="OCamlPro" height="42" /></a>
zapashcanon's avatar
zapashcanon committed
16 17 18 19 20 21
                  <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
                      <span class="navbar-toggler-icon"></span>
                  </button>
                  <div class="collapse navbar-collapse" id="navbarCollapse">
                      <ul class="navbar-nav me-auto mb-2 mb-md-0">
                          <li class="nav-item">
zapashcanon's avatar
zapashcanon committed
22
                              <a class="nav-link" href="/research-and-development">Research and Development</a>
zapashcanon's avatar
zapashcanon committed
23 24
                          </li>
                          <li class="nav-item">
zapashcanon's avatar
zapashcanon committed
25
                              <a class="nav-link" href="/expertise">Expertise</a>
zapashcanon's avatar
zapashcanon committed
26 27
                          </li>
                          <li class="nav-item">
zapashcanon's avatar
zapashcanon committed
28
                              <a class="nav-link" href="/trainings">Trainings</a>
zapashcanon's avatar
zapashcanon committed
29 30
                          </li>
                          <li class="nav-item">
zapashcanon's avatar
zapashcanon committed
31
                              <a class="nav-link" href="/team">Team</a>
zapashcanon's avatar
zapashcanon committed
32 33
                          </li>
                          <li class="nav-item">
zapashcanon's avatar
zapashcanon committed
34
                              <a class="nav-link" href="/blog">Blog</a>
zapashcanon's avatar
zapashcanon committed
35 36 37 38 39
                          </li>
                      </ul>
                  </div>
              </div>
          </nav>
zapashcanon's avatar
zapashcanon committed
40
      </header>
zapashcanon's avatar
zapashcanon committed
41 42 43
      <br />
      <br />
      <br />
zapashcanon's avatar
zapashcanon committed
44
      <br />
zapashcanon's avatar
zapashcanon committed
45
      <main>
zapashcanon's avatar
zapashcanon committed
46 47 48
        <div class="container">
          <%s! content %>
        </div>
zapashcanon's avatar
zapashcanon committed
49
        <hr class="featurette-divider">
zapashcanon's avatar
zapashcanon committed
50
        <footer class="container">
zapashcanon's avatar
zapashcanon committed
51 52 53 54 55 56 57 58
          <p>&copy; 2011–2021 OCamlPro &middot;
            <a href="https://twitter.com/ocamlpro">Twitter</a> &middot;
            <a href="https://www.linkedin.com/company/2152404/">LinkedIn</a> &middot;
            <a href="mailto:contact@ocamlpro.com">Email</a> &middot;
            <a href="tel:+33184800481">Phone</a> &middot;
            <a href="https://www.openstreetmap.org/node/2996094140">21 rue de Châtillon, 75014 Paris, France</a> &middot;
            <a href="/legal-notice">Legal Notice</a>
          </p>
zapashcanon's avatar
zapashcanon committed
59 60 61 62 63
        </footer>
      </main>
      <script src="/assets/js/bootstrap.bundle.min.js"></script>
    </body>
  </html>