diff options
author | David O'Regan <doregan@gitlab.com> | 2021-02-09 01:58:07 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2021-02-09 01:58:07 +0300 |
commit | 6f48c3965c70cd0ce64433264e6bcc7db7eef706 (patch) | |
tree | a47d223d455b5d1d2dbd8382dfafe2130aec20e7 /layouts/404.html | |
parent | b32172abd69fccd0977655c485d3e127f7a0d723 (diff) |
Feat: Update header component to use bootstrap
Diffstat (limited to 'layouts/404.html')
-rw-r--r-- | layouts/404.html | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/layouts/404.html b/layouts/404.html index 3d06accd..3a837032 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -8,14 +8,22 @@ </head> <body> <%= render '/header.*' %> - <div class="wrapper d-flex justify-content-center"> - <div class="main class"> - <%= yield %> - <%= render '/footer.*' %> + <section class="container"> + <div class="row"> + <div class="col-12"> + <div class="wrapper d-flex justify-content-center"> + <div class="main class"> + <%= yield %> + <%= render '/footer.*' %> + </div> + </div> </div> </div> + </section> <%= render '/docsearch.*' %> <script type="application/javascript" src="<%= @items['/assets/javascripts/404.*'].path %>"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js" integrity="sha512-ubuT8Z88WxezgSqf3RLuNi5lmjstiJcyezx34yIU2gAHonIi27Na7atqzUZCOoY4CExaoFumzOsFQ2Ch+I/HCw==" crossorigin="anonymous"></script> + <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script> <script src="<%= @items['/frontend/404/404.*'].path %>"></script> <% if production? %> <%# Add analytics only in production %> |