blob: f986b354c76ebd792ed8169842380f2898394751 [file] [log] [blame] [raw]
doctype html
html(lang="en")
head
include monaco.pug
include head.pug
body(class=extraBodyClass)
.navbar-default
.container-fluid
.navbar-header
a.navbar-brand(href="#" title="Compiler Explorer")
img.normal(src=require("site-logo.svg") height="50" width="165" alt="Compiler Explorer")
img.inverse(src=require("site-logo-inverse.svg") height="50" width="165" alt="Compiler Explorer")
if extraBodyClass === "beta"
img.beta-overlay(src=require("site-logo-beta.svg") height="50" width="165")
button(type="button" class="navbar-toggle collapsed" data-toggle="collapse"
data-target="#navbar-collapse" aria-expanded="false")
span.sr-only Toggle navigation
span.icon-bar
span.icon-bar
span.icon-bar
li.navbar-collapse.collapse#navbar-collapse
ul.nav.navbar-nav.navbar-left
li: a#add-editor(href="#" title="Click or drag to desired destination") Editor
li: a#add-diff(href="#" title="Click or drag to desired destination") Diff View
li.dropdown
a.dropdown-toggle(href="#" data-toggle="dropdown") More#[b.caret]
ul.dropdown-menu
li: a(href="#" data-target="#settings" data-toggle="modal") Settings
li.divider
li: a#ui-reset(href="#") Reset (code and UI layout)
ul.nav.navbar-nav.navbar-right
if extraBodyClass === "beta"
li: a(href="https://github.com/mattgodbolt/compiler-explorer/issues" target="_blank" rel="noopener")
img(height="20" width="20" src=require("GitHub-Mark-20px.png"))
|  Report an issue
li: a#share(href="#") Share#[b.caret]
li.dropdown
a.dropdown-toggle(href="#" data-toggle="dropdown") Other#[b.caret]
ul.dropdown-menu
li
a(href="https://www.patreon.com/bePatron?u=3691963"
title="Help Compiler Explorer - become a Patron" target="_blank" rel="noopener")
img(height="20" width="20" src=require("patreon_logo.png"))
|   Become a Patron
if githubEnabled
li
a(href="https://github.com/mattgodbolt/compiler-explorer"
title="View the source on GitHub" target="_blank" rel="noopener")
img(height="20" width="20" src=require("GitHub-Mark-20px.png"))
|   Source on GitHub
li
a(href="https://groups.google.com/forum/#!forum/compiler-explorer-discussion"
title="Join Compiler Explorer Public Google Group" target="_blank" rel="noopener")
img(height="20" width="20" src=require("Google-Groups-20px.png"))
|   Mailing list
li: a(href="https://github.com/mattgodbolt/compiler-explorer/wiki/Installed-libraries" target="_blank" rel="noopener") Installed libraries
li: a(href="https://github.com/mattgodbolt/compiler-explorer/wiki" target="_blank" rel="noopener") Wiki
li: a(href="https://github.com/mattgodbolt/compiler-explorer/issues" target="_blank" rel="noopener") Report an issue
li#thanks-to: a(href="#") Thanks to...
li: a(href="https://xania.org/201609/how-compiler-explorer-runs-on-amazon" target="_blank") How it works
li: a(href="mailto:matt@godbolt.org" target="_blank" rel="noopener noreferrer") Contact the author
li: a(href="https://xania.org/MattGodbolt" rel="author" target="_blank") About the author
li#changes: a(href="#") Changelog
if sharingEnabled
li.tweet: a.twitter-share-button(href="https://twitter.com/share" data-via="mattgodbolt")
#root
include templates.pug
include popups.pug