<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title> BRACE2 - Home</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="title" content="BRACE2 Platform">
  <meta name="author" content="Claudio M. Perez">
  <meta name="description" content="BRACE2 platform for structural health monitoring.">
  <meta name="keywords" content="opensees, finite element analysis, system identification, mdof, berkeley, bridge, engineering, earthquake engineering" />
  
  {# Open Graph and Facebook #}
  <meta property="og:type" content="website">
  <meta property="og:url" content="{% url 'home' %}" />
  <meta property="og:title" content="BRACE2 Platform">
  <meta property="og:description" content="BRACE2 platform for structural health monitoring.">
  
  {# Twitter #}
  <meta property="twitter:card" content="summary_large_image">
  <meta property="twitter:url" content="{% url 'home' %}">
  <meta property="twitter:title" content="BRACE2 Platform">
  <meta property="twitter:description" content="The BRACE2 platform is a framework for structural health monitoring.">

  {# Favicon #}
  <link rel="apple-touch-icon" sizes="120x120" href="{{ ASSETS_ROOT }}/img/favicon/apple-touch-icon.png">
  <link rel="icon" type="image/png" sizes="32x32" href="{{ ASSETS_ROOT }}/img/favicon/favicon-32x32.png">
  <link rel="icon" type="image/png" sizes="16x16" href="{{ ASSETS_ROOT }}/img/favicon/favicon-16x16.png">
  <link rel="manifest" href="{{ ASSETS_ROOT }}/img/favicon/site.webmanifest">
  <link rel="mask-icon" href="{{ ASSETS_ROOT }}/img/favicon/safari-pinned-tab.svg" color="#ffffff">

  <meta name="msapplication-TileColor" content="#ffffff">
  <meta name="theme-color" content="#ffffff">

  <link type="text/css" href="{{ ASSETS_ROOT }}/vendor/sweetalert2/dist/sweetalert2.min.css" rel="stylesheet">  
  <link type="text/css" href="{{ ASSETS_ROOT }}/vendor/notyf/notyf.min.css" rel="stylesheet">  

  {# BRACE CSS #}
  <link type="text/css" href="{{ ASSETS_ROOT }}/css/brace.css" rel="stylesheet">

  {# TODO: Use the _analytics.html partial to include production code specific code & trackers #}
</head>
<style>
.uikit-tab-wrapper-mobile {display:flex;flex-direction:row}
.tabs-section{display:flex;flex-direction:column}
.tabs-section .container{display:flex;flex-direction:column}
.tabs-title{
  display:flex;justify-content:center;letter-spacing:1.5px;font-size:27px;margin:30px 0
}
.visualization,.data-science,.scientific-domains,.machine-learning,.array-libraries{
  max-width:900px;margin:15px auto
}
.uk-tab>li{padding:0 10px}
.uk-nav>li>a {
  height:35px;font-size:13px;text-transform:uppercase;letter-spacing:1.5px;font-weight:500;color:#6c7a89
}
#tabs-content>li {
  width:90vw;
  max-width:900px;
  margin:50px auto
}
@media only screen and (max-width:1200px){
  .tabs-section {margin:30px 10px}
  .tabs-title {margin:30px}
}
.grid-container{
  display:grid;
  grid-template-columns:auto auto;
  grid-gap:20px
}
.grid-container>div{
  background-color:rgba(255,255,255,.8);
  text-align:middle
}
@media only screen and (max-width:600px){
  .grid-container{display:block}
}
.visualization-images>img{border-radius:10px}
.image-grid{
  display:grid;
  grid-template-columns:auto auto auto auto;
  grid-gap:10px
}
.image-grid>div{
  background-color:#eee;
  border:2px solid #fff;
  border-radius:10px;
  padding:10px
}
td,th{font-size:.8rem;padding:8px}
td>a{font-size:.8rem}
tr.highlight-th{
  border-top:1px solid #eee;font-size:.8rem
}
td.bold-text{font-weight:700;text-align:center;min-width:120px}
.scientific-domains td.bold-text{color:var(--colorPrimaryDark)}
img.cell-layout{border-radius:10px;width:50px;height:50px;display:block;margin-left:0;margin-right:auto}
td.center-text{text-align:center;line-height:35%}
td.full-center-text{text-align:center;vertical-align:middle;line-height:45%}
td.lastrow-center-text{text-align:center;line-height:35%;border-bottom:1px solid #fff}
img.first-column-layout{max-width:100px;max-height:30px;margin:0 20px 0 10px}
td.left-text{vertical-align:middle}
</style>

<body>
    <header class="header-global">
      <!-- <nav id="navbar-main" aria-label="Primary navigation" class="navbar navbar-main navbar-expand-lg navbar-theme-primary pt-4 navbar-dark"> -->
      <nav id="navbar-main" aria-label="Primary navigation" class="navbar navbar-main navbar-expand-lg pt-4 ">
        <div class="container position-relative">
          <div class="navbar-collapse collapse me-auto" id="navbar_global">
            <div class="navbar-collapse-header">
              <div class="row">
                <div class="col-6 collapse-brand">
                  <a href="/">
                    <img src="{{ ASSETS_ROOT }}/img/brand/light.svg" alt="Light logo">
                  </a>
                </div>
                <div class="col-6 collapse-close">
                  <a href="#navbar_global" class="fas fa-times" data-toggle="collapse" data-target="#navbar_global" aria-controls="navbar_global" aria-expanded="false" title="close" aria-label="Toggle navigation"></a>
                </div>
              </div>
            </div>
            <ul class="navbar-nav navbar-nav-hover align-items-lg-center">
              <li class="nav-item me-2">
                <a href="{% url 'dashboard' %}" class="nav-link">Dashboard</a>
              </li>
              {% if False %}
              <li class="nav-item me-2">
                <a href="{% url 'about' %}" class="nav-link">About</a>
              </li>
              {% endif %}
              {% if user.is_superuser %}
              <li class="nav-item me-2">
                <a href="/admin/auth/user/" class="nav-link">Admin</a>
              </li>
              {% else %}
              <li class="nav-item me-2">
                <!-- <a href="/settings.html" class="nav-link">Settings</a> -->
              </li>
              {% endif %}
            </ul>
          </div>
          <div class="d-flex align-items-center ms-auto">
            {% if authenticated %}
            <form method="post" action="{% url 'logout' %}">
              {% csrf_token %}
              <button type="submit"
                class="btn btn-outline-dark d-inline-flex align-items-center me-md-3"
                >Logout</button>
            </form>
            {% else %}
              <a href="{% url 'login' %}" 
                  target="_blank" 
                  class="btn btn-outline-dark d-inline-flex align-items-center me-md-3">
                  Login
              </a>
            {% endif %}
          </div>
        </div>
      </nav>
    </header>

    <main>
    <section class="section-header overflow-hidden pt-7 pt-lg-8 pb-9 pb-lg-12 bg-light">
      <div class="container">
        <div class="row">
          <div class="col-12 text-center">
            <h1 class="fw-light">BRACE<sup class="superscript">2</sup></h1>
              <h2 class="lead fw-normal text-muted mb-5">
                  Structural Health Monitoring
              </h2>
              {# Button Modal #}
              <div class="d-flex align-items-center justify-content-center mb-5">
                  <a href="{% url 'dashboard' %}" class="btn btn-primary d-inline-flex align-items-center me-4">
                      <svg class="icon icon-xs me-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M3 3a1 1 0 000 2v8a2 2 0 002 2h2.586l-1.293 1.293a1 1 0 101.414 1.414L10 15.414l2.293 2.293a1 1 0 001.414-1.414L12.414 15H15a2 2 0 002-2V5a1 1 0 100-2H3zm11 4a1 1 0 10-2 0v4a1 1 0 102 0V7zm-3 1a1 1 0 10-2 0v3a1 1 0 102 0V8zM8 9a1 1 0 00-2 0v2a1 1 0 102 0V9z" clip-rule="evenodd"></path></svg>
                        Platform
                  </a>                            
              </div>
              <div class="d-flex justify-content-center flex-column mb-6 mb-lg-5">
                <a href="https://peer.berkeley.edu" target="_blank">
                  <img src="{{ ASSETS_ROOT }}/img/peer-black.svg" class="d-block mx-auto mb-3" height="25" width="25" alt="PEER Logo">
                  <span class="text-muted font-small">
                        &copy; PEER
                  </span>
                </a>
              </div>
          </div>
        </div>
        <div class="section pt-n10">
          <div class="container mt-n10 mt-lg-n12 z-2">
            <div class="row justify-content-center">
              <div class="col-12">
                <img src="{{ ASSETS_ROOT }}/img/predictors.png" 
                     alt="Predictors"
                     {# style="width: 70vw;" #}
                    >
              </div>
            </div>
          </div>
        </div>
        <div class="row justify-content-between align-items-center mb-5 mb-lg-7">
          <div class="row justify-content-between align-items-center">
            <div class="col-lg-5 order-lg-2 mb-5 mb-lg-0">
              <h2 class="h1">Hazard Analysis</h2>
              <p class="mb-4 lead fw-bold">High Fidelity Modeling</p>
              <p class="mb-4">BRACE2 integrates state of the art modeling software</p>
              <a
                href="" target="_blank"
                class="btn btn-outline-gray-600 d-inline-flex align-items-center"><svg class="icon icon-xs me-2"
                  fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
                  <path
                    d="M9 4.804A7.968 7.968 0 005.5 4c-1.255 0-2.443.29-3.5.804v10A7.969 7.969 0 015.5 14c1.669 0 3.218.51 4.5 1.385A7.962 7.962 0 0114.5 14c1.255 0 2.443.29 3.5.804v-10A7.968 7.968 0 0014.5 4c-1.255 0-2.443.29-3.5.804V12a1 1 0 11-2 0V4.804z">
                  </path>
                </svg> Getting started</a>
            </div>
            <div class="col-lg-6 order-lg-1"><img src="{{ ASSETS_ROOT }}/img/metric.png"
                 alt="Front pages overview"></div>
          </div>
          <div class="col-lg-5 mb-5 mb-lg-0">
            <h2 class="h1 d-flex align-items-center">Events <span
                class="badge-md ms-3 mb-0 fs-6 badge rounded-pill text-dark bg-secondary">Pro</span></h2>
            <p class="mb-4 lead fw-bold">Advanced FullCalendar.js integration</p>
            <p class="mb-4">We created a fully editable calendar where you can add, edit and delete events for your
              admin dashboard.</p><a href="" target="_blank"
              class="btn btn-secondary d-inline-flex align-items-center me-3"><svg class="icon icon-xs me-2"
                fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
                <path
                  d="M5 3a2 2 0 00-2 2v2a2 2 0 002 2h2a2 2 0 002-2V5a2 2 0 00-2-2H5zM5 11a2 2 0 00-2 2v2a2 2 0 002 2h2a2 2 0 002-2v-2a2 2 0 00-2-2H5zM11 5a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V5zM11 13a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z">
                </path>
              </svg> Demo
            </a>
          </div>
          <div class="col-lg-6"><img src="{{ ASSETS_ROOT}}/img/earthquake-hazard.png" alt="Kanban Preview"></div>
        </div>
        <div class="row justify-content-between align-items-center mb-5 mb-lg-7">
          <div class="col-lg-5 order-lg-2 mb-5 mb-lg-0">
            <h2 class="h1 d-flex align-items-center">Corridors <span
                class="badge-md ms-3 mb-0 fs-6 badge rounded-pill text-dark bg-secondary">Pro</span></h2>
            <p class="mb-4 lead fw-bold">Markers and cards integration with Leaflet.js</p>
            <p class="mb-4">You can use this map to add markers with custom cards and show them on a map using our
              custom MapBox integration with Leaflet.js</p>
              <a href=""
                 target="_blank" 
                 class="btn btn-secondary d-inline-flex align-items-center me-3"><svg
                    class="icon icon-xs me-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
                      <path fill-rule="evenodd"
                        d="M12 1.586l-4 4v12.828l4-4V1.586zM3.707 3.293A1 1 0 002 4v10a1 1 0 00.293.707L6 18.414V5.586L3.707 3.293zM17.707 5.293L14 1.586v12.828l2.293 2.293A1 1 0 0018 16V6a1 1 0 00-.293-.707z"
                        clip-rule="evenodd"></path>
              </svg> Demo </a><a href="https://themesberg.com/docs/volt-bootstrap-5-dashboard/plugins/mapbox/"
                target="_blank" class="btn btn-outline-gray-600 d-inline-flex align-items-center"><svg
                class="icon icon-xs me-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
                <path fill-rule="evenodd"
                  d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z"
                  clip-rule="evenodd"></path>
              </svg> Guide</a>
          </div>
          <div class="col-lg-6 order-lg-1"><img src="./assets/img/mockup-map-presentation.png"
              alt="MapBox Leaflet.js Custom Integration Mockup"></div>
        </div>
        <div class="row justify-content-between align-items-center mb-5 mb-lg-7">
          <div class="col-lg-5 mb-5 mb-lg-0">
            <h2 class="h1 d-flex align-items-center">Calendar <span
                class="badge-md ms-3 mb-0 fs-6 badge rounded-pill text-dark bg-secondary">Pro</span></h2>
            <p class="mb-4 lead fw-bold">Advanced FullCalendar.js integration</p>
            <p class="mb-4">We created a fully editable calendar where you can add, edit and delete events for your
              admin dashboard.</p><a href="https://demo.themesberg.com/volt-pro/pages/calendar.html" target="_blank"
              class="btn btn-secondary d-inline-flex align-items-center me-3"><svg class="icon icon-xs me-2"
                fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
                <path fill-rule="evenodd"
                  d="M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z"
                  clip-rule="evenodd"></path>
              </svg> Demo </a><a href="https://themesberg.com/docs/volt-bootstrap-5-dashboard/plugins/calendar/"
              target="_blank" class="btn btn-outline-gray-600 d-inline-flex align-items-center"><svg
                class="icon icon-xs me-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
                <path fill-rule="evenodd"
                  d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z"
                  clip-rule="evenodd"></path>
              </svg> Guide</a>
          </div>
          <div class="col-lg-6"><img src="./assets/img/mockup-calendar-presentation.png" alt="Calendar Preview"></div>
        </div>
      </div>
      <figure class="position-absolute bottom-0 left-0 w-100 d-none d-md-block mb-n2">
        <svg class="home-pattern" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3000 185.4"><path d="M3000,0v185.4H0V0c496.4,115.6,996.4,173.4,1500,173.4S2503.6,115.6,3000,0z"></path></svg></figure>       
    </section>
  <section class=tabs-section>
    <div class="container align-items-center">
      <h1 class=tabs-title>Ecosystem</h1>
      <div class=uikit-tab-wrapper>
            <p>The BRACE<sup>2</sup> Ecosystem</p>
            <table>
              {% if False %}
              <tr class=highlight-th>
                <td class="bold-text"></td>
                <td class="bold-text">Package</td>
                <td class="bold-text">Description</td>
              </tr>
              {% endif %}
              <tr>
                <td style=text-align:center>
                  <a href="https://github.com/claudioperez/opensees">
                  <img class="first-column-layout"
                       src="{{ ASSETS_ROOT }}/content_images/brace/opensees.jpg" alt="opensees"></a></td>
                <td class=full-center-text><a href="https://pypi.org/project/opensees" >opensees</a></td>
                <td class=left-text>Direct and idiomatic bindings to <a href="https://github.com/claudioperez/OpenSeesRT" ><tt>OpenSeesRT</tt></a> kernel for finite element analysis.</td>
              </tr>
              <tr>
                <td style=text-align:center>
                  <a href="https://claudioperez.github.io/sdof" >
                  <img class="first-column-layout"
                       src="{{ ASSETS_ROOT }}/content_images/brace/sdof.svg" alt="sdof"></a></td>
                <td class=full-center-text><a href="https://pypi.org/project/sdof" >sdof</a></td>
                <td class=left-text>Parallel integration of single degree-of-freedom systems.</td>
              </tr>
              <tr>
                <td style="text-align:center">
                  <a href="https://chrystalchern.github.io/mdof">
                     <img class="first-column-layout"
                    src="{{ ASSETS_ROOT }}/content_images/brace/mdof.svg" alt="mdof">
                  </a>
                </td>
                <td class=full-center-text><a href="https://pypi.org/project/mdof">mdof</a></td>
                <td class=left-text>Fast and friendly structural system identification.</td>
              </tr>
              <tr>
                <td style="text-align:center"><img class="first-column-layout"
                    src="{{ ASSETS_ROOT }}/content_images/brace/sees.png" alt="sees"></td>
                <td class=full-center-text><a href="https://pypi.org/project/sees">sees</a></td>
                <td class=left-text>A modern finite element post-processor renderer.</td>
              </tr>
            </table>
      </div>
    </div>
    <div class="section pt-0">
      <div class="container mt-n10 mt-lg-n12 z-2">
        <div class="row justify-content-center">
          <div class="col-12">
          </div>
        </div>
      </div>
    </div>
  </main>

  <footer class="footer py-4 bg-primary text-white">
    <div class="container">
      <div class="row">
        <div class="col mb-md-0">
        <div class="d-flex text-center justify-content-center align-items-center" role="contentinfo">
          <p class="fw-normal font-small mb-0">
          &copy; BRACE<sup class="superscript">2</sup> 2024 - A Project by <a target="_blank" 
             href="https://peer.berkeley.edu">PEER</a>.</p>
          </div>
        </div>
      </div>
    </div>
  </footer>

    {% include 'includes/scripts.html' %}

</body>
</html>
