Skip to content

Commit

Permalink
Merge pull request #678 from rasummer/add-ibm-lightbend-logo
Browse files Browse the repository at this point in the history
Adds IBM/Lightbend branded template
  • Loading branch information
rasummer authored May 22, 2018
2 parents fad2b8e + c1be6c7 commit 30b6694
Show file tree
Hide file tree
Showing 3 changed files with 178 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/nanoc/content/download.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
layout: defaultIBMbranded
title: Download
---

Expand Down
14 changes: 13 additions & 1 deletion src/nanoc/content/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,19 @@ header .nav img.social {
width: 30px;
height: 30px;
}

.lb-ibm-branding {
text-align: right;
}
.lb-ibm-branding svg {
max-width: 260px;
margin-bottom: 1rem
}
.lb-ibm-branding span {
text-transform: uppercase;
font-weight: 700;
opacity: .7;
display: block
}
.content {
background: #ffffff;
padding-top: 40px;
Expand Down
164 changes: 164 additions & 0 deletions src/nanoc/layouts/defaultIBMbranded.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<title>sbt - <%= @item[:title] %></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="<%= @items['/bootstrap_style/'].path %>">
<link rel="stylesheet" href="<%= @items['/bootstrap-theme/'].path %>">
<link rel="stylesheet" href="<%= @items['/stylesheet/'].path %>?v2018-03-07">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,400italic,700italic" rel="stylesheet" type="text/css">
<link rel='shortcut icon' href="<%= @items['/favicon/'].path %>" />
<link rel="icon" type="image/png" sizes="32x32" href="<%= @items['/favicon-32x32/'].path %>">
<link rel="icon" type="image/png" sizes="96x96" href="<%= @items['/favicon-96x96/'].path %>">
<link rel="icon" type="image/png" sizes="16x16" href="<%= @items['/favicon-16x16/'].path %>">
<!-- you don't need to keep this, but it's cool for stats! -->
<meta name="generator" content="nanoc <%= Nanoc::VERSION %>">

<!-- OneTrust Cookies Consent Notice (Production Standard, scala-sbt.org, en-GB) start -->
<script src="https://optanon.blob.core.windows.net/consent/d759c5db-6821-46e0-a988-6bc699efb74e.js" type="text/javascript" charset="UTF-8"></script>
<script type="text/javascript">
function OptanonWrapper() {
//callback when OneTrust is loaded and ready
}
</script>
<!-- OneTrust Cookies Consent Notice (Production Standard, scala-sbt.org, en-GB) end -->

</head>
<body class="default">
<header>
<nav>
<div class="container">
<div class="row">
<div class="col-md-3">
<div class="logo">
<a href="<%= @items['/'].path %>index.html">
<img src="<%= @items['/sbt-logo/'].path %>" alt="sbt">
</a>
</div>
</div>
<div class="col-md-9">
<div class="nav" id="topbar">
<a href="<%= @items['/documentation/'].path %>">Documentation</a>
<a href="<%= @items['/download/'].path %>">Download</a>
<a href="<%= @items['/support/'].path %>">Support</a>
<a href="<%= @items['/community/'].path %>">Get Involved</a>
<a id="source-code" href="https://github.com/sbt/sbt"><img src="<%= @items['/github-logo-teal/'].path %>" alt="Source code" class="social"></a>
<a id="twitter" href="https://twitter.com/scala_sbt"><img src="<%= @items['/twitter-logo-teal/'].path %>" alt="sbt on Twitter" class="social"></a>
</div>
</div>
</div>
</div>
</nav>
</header>

<div class="page-title">
<div class="container">
<div class="row">
<div class="col-sm-6">
<h1><%= @item[:title] %></h1>
</div>
<div class="col-sm-6">
<div class="lb-ibm-branding hidden-xs">
<svg class="svg-logo svg-logo-ibm-lightbend" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 322.66 37.02"><title>IBM_Lightbend_lockup_rgb_white</title><rect x="119.36" width="2" height="36.92" fill="#fff"></rect><path d="M33.37,41.16H61.74a9.14,9.14,0,0,1-.84,2.59H33.37Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M33.37,16.64H61a12.39,12.39,0,0,1,.84,2.59H33.37Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M38.49,31.35H58.17a15.06,15.06,0,0,1,2.3,2.59h-22Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M53.83,38.84H62a9.37,9.37,0,0,0-.45-2.59H53.83Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M38.49,29H58.2a15,15,0,0,0,2.29-2.59h-22Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M53.83,21.54H62a11,11,0,0,1-.43,2.59H53.83Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M33.37,46.06H59c-2.27,1.93-4.28,2.59-7.8,2.59H33.37Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M33.37,14.32H59c-2.27-1.93-4.28-2.59-7.8-2.59H33.37Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><rect width="17.9" height="2.59" fill="#fff"></rect><rect y="4.9" width="17.9" height="2.59" fill="#fff"></rect><rect y="29.42" width="17.9" height="2.59" fill="#fff"></rect><rect x="5.11" y="24.52" width="7.67" height="2.59" fill="#fff"></rect><rect x="5.11" y="19.62" width="7.67" height="2.59" fill="#fff"></rect><rect x="5.11" y="14.71" width="7.67" height="2.59" fill="#fff"></rect><rect x="5.12" y="9.81" width="7.67" height="2.59" fill="#fff"></rect><rect x="25.58" y="24.52" width="7.67" height="2.59" fill="#fff"></rect><rect x="25.58" y="9.81" width="7.67" height="2.59" fill="#fff"></rect><polygon points="68.07 27.11 75.16 27.11 76.07 24.52 67.17 24.52 68.07 27.11" fill="#fff"></polygon><polygon points="66.36 22.2 76.87 22.2 77.77 19.61 65.46 19.61 66.36 22.2" fill="#fff"></polygon><rect y="34.33" width="17.9" height="2.59" fill="#fff"></rect><polygon points="71.48 36.91 71.75 36.91 72.65 34.33 70.58 34.33 71.48 36.91" fill="#fff"></polygon><rect x="56.27" y="24.52" width="7.67" height="2.59" fill="#fff"></rect><rect x="56.27" y="19.62" width="7.67" height="2.59" fill="#fff"></rect><rect x="51.15" y="34.33" width="12.79" height="2.59" fill="#fff"></rect><rect x="51.15" y="29.42" width="12.79" height="2.59" fill="#fff"></rect><polygon points="69.78 32.01 73.46 32.01 74.36 29.42 68.87 29.42 69.78 32.01" fill="#fff"></polygon><rect x="79.29" y="24.52" width="7.67" height="2.59" fill="#fff"></rect><rect x="79.29" y="19.62" width="7.67" height="2.59" fill="#fff"></rect><rect x="79.29" y="34.33" width="12.79" height="2.59" fill="#fff"></rect><rect x="79.29" y="29.42" width="12.79" height="2.59" fill="#fff"></rect><polygon points="69.06 9.81 56.27 9.81 56.27 12.4 69.98 12.4 69.06 9.81" fill="#fff"></polygon><polygon points="72.43 14.71 71.62 17.03 70.8 14.71 56.27 14.71 56.27 17.3 63.94 17.3 63.94 15.26 64.65 17.3 78.58 17.3 79.29 15.26 79.29 15.28 79.29 15.28 79.29 17.3 86.96 17.3 86.96 14.71 72.43 14.71" fill="#fff"></polygon><polygon points="65.59 0 51.15 0 51.15 2.59 66.51 2.59 65.59 0" fill="#fff"></polygon><polygon points="67.33 4.9 51.15 4.9 51.15 7.49 68.24 7.49 67.33 4.9" fill="#fff"></polygon><polygon points="74.17 9.81 86.96 9.81 86.96 12.4 73.25 12.4 74.17 9.81" fill="#fff"></polygon><polygon points="77.64 0 92.08 0 92.08 2.59 76.72 2.59 77.64 0" fill="#fff"></polygon><polygon points="75.91 4.9 92.08 4.9 92.08 7.49 74.99 7.49 75.91 4.9" fill="#fff"></polygon><path d="M107.78,46.72a2,2,0,1,1,2,2A2,2,0,0,1,107.78,46.72Zm3.72,0a1.7,1.7,0,1,0-1.69,1.77A1.69,1.69,0,0,0,111.5,46.72Zm-.69,1.13h-.33l-.64-1h-.51v1h-.28V45.59h1c.6,0,.8.22.8.6s-.31.61-.71.62Zm-1.06-1.26c.32,0,.79.05.79-.41s-.29-.4-.56-.4h-.64v.8Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M211.82,20.76a1,1,0,1,1,2,0V35.89h6.44a.94.94,0,0,1,.92.95.92.92,0,0,1-.92.92h-7.46a1,1,0,0,1-1-1Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M225,20.41a1.17,1.17,0,0,1,2.33,0v.33a1.17,1.17,0,0,1-2.33,0Zm.18,5a1,1,0,0,1,1-1,1,1,0,0,1,1,1V36.89a1,1,0,0,1-1,1,1,1,0,0,1-1-1Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M232.46,40.34a.91.91,0,0,1-.51-.82.94.94,0,0,1,.89-.87.79.79,0,0,1,.43.13A8.34,8.34,0,0,0,238,40.21c2.91,0,4.8-1.61,4.8-4.7V34a6.26,6.26,0,0,1-5.19,2.79,6.11,6.11,0,0,1-6.21-6.18V30.5a6.25,6.25,0,0,1,11.37-3.58V25.42a1,1,0,0,1,1-1,1,1,0,0,1,1,1v10A6.36,6.36,0,0,1,243,40.13a7,7,0,0,1-5,1.76A10.35,10.35,0,0,1,232.46,40.34Zm10.35-9.81v-.05A4.63,4.63,0,0,0,238,26a4.37,4.37,0,0,0-4.57,4.45v.05A4.47,4.47,0,0,0,238,35,4.66,4.66,0,0,0,242.81,30.53Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M249.22,20a1,1,0,1,1,2,0v6.87a5,5,0,0,1,4.52-2.58c3.19,0,5.06,2.15,5.06,5.29v7.33a1,1,0,1,1-2,0V30c0-2.45-1.33-4-3.65-4a3.89,3.89,0,0,0-4,4.14v6.7a1,1,0,0,1-1,1,1,1,0,0,1-1-1Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M265.42,34.26v-8h-1.07a.9.9,0,0,1-.87-.87.88.88,0,0,1,.87-.87h1.07V21.43a1,1,0,0,1,1-1,1,1,0,0,1,1,1v3.12h3.42a.9.9,0,0,1,.89.87.88.88,0,0,1-.89.87h-3.42V34a2,2,0,0,0,2.22,2.2,5.57,5.57,0,0,0,1.2-.18.85.85,0,0,1,.84.84.82.82,0,0,1-.56.77,5,5,0,0,1-1.94.36C267,38,265.42,36.94,265.42,34.26Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M275.93,20a1,1,0,1,1,2,0V27.2A5.94,5.94,0,0,1,283,24.27c3.17,0,6.31,2.5,6.31,6.85v.05c0,4.32-3.12,6.87-6.31,6.87a6,6,0,0,1-5.06-2.81v1.66a1,1,0,0,1-1,1,1,1,0,0,1-1-1Zm11.32,11.22v-.05c0-3.12-2.15-5.11-4.65-5.11a4.93,4.93,0,0,0-4.78,5.09v.05a4.92,4.92,0,0,0,4.78,5.11C285.15,36.28,287.25,34.39,287.25,31.19Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M298.42,38.06a6.57,6.57,0,0,1-6.59-6.87v-.05c0-3.81,2.68-6.87,6.34-6.87,3.91,0,6.13,3.19,6.13,6.7a.92.92,0,0,1-.92.92h-9.56a4.61,4.61,0,0,0,4.65,4.47,5.4,5.4,0,0,0,3.81-1.53.85.85,0,0,1,1.43.61.85.85,0,0,1-.31.64A6.72,6.72,0,0,1,298.42,38.06Zm3.91-7.64c-.2-2.4-1.58-4.5-4.22-4.5-2.3,0-4,1.92-4.29,4.5Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M307.56,25.42a1,1,0,0,1,1-1,1,1,0,0,1,1,1v1.43a5,5,0,0,1,4.52-2.58c3.19,0,5.06,2.15,5.06,5.29v7.33a1,1,0,1,1-2,0V30c0-2.45-1.33-4-3.65-4a3.89,3.89,0,0,0-4,4.14v6.7a1,1,0,0,1-1,1,1,1,0,0,1-1-1Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M335.57,36.89a1,1,0,1,1-2,0V35.1A5.94,5.94,0,0,1,328.55,38c-3.17,0-6.31-2.5-6.31-6.85v-.05c0-4.32,3.14-6.87,6.31-6.87a6,6,0,0,1,5.06,2.81V20a1,1,0,0,1,1-1,1,1,0,0,1,1,1Zm-11.32-5.78v.05a4.77,4.77,0,0,0,4.65,5.11,4.93,4.93,0,0,0,4.78-5.11v-.05A4.91,4.91,0,0,0,328.9,26C326.35,26,324.25,27.92,324.25,31.11Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M161.56,39.28v8A1.42,1.42,0,0,0,163,48.65h39.75a1.42,1.42,0,0,0,1.42-1.42v-8a79.2,79.2,0,0,1-21.3,2.84A79.2,79.2,0,0,1,161.56,39.28Z" transform="translate(-12.91 -11.73)" fill="#fff"></path><path d="M202.74,11.73H163a1.42,1.42,0,0,0-1.42,1.42V36.58a76.66,76.66,0,0,0,21.3,3,76.66,76.66,0,0,0,21.3-3V13.15A1.42,1.42,0,0,0,202.74,11.73Z" transform="translate(-12.91 -11.73)" fill="#fff"></path></svg>
<span>Hosted on IBM Cloud</span>
</div>
</div>
</div>
</div>
</div>
<div class="fw-wrapper white">
<div class="container content">
<div class="row">
<div class="col-md-8">
<div id="main">
<%= yield %>
</div>
</div>
</div>
</div>
</div>

<div class="fw-wrapper navy-ltr support-strip">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="support-item">
<div class="support-icon">
<svg class="svg-icon svg-icon-chat" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 97.5 85.2" enable-background="new 0 0 97.5 85.2"><path stroke="#fff" stroke-width="4.282" stroke-linecap="round" stroke-miterlimit="10" d="M27 29.5h-16.3c-4.7 0-8.6 3.9-8.6 8.6v25.7c0 4.7 3.9 8.6 8.6 8.6h2.7c.8 0 1.5.7 1.5 1.5v7.8c0 1.3 1.6 2 2.5 1l9.5-9.5c.5-.5 1.2-.8 2-.8h20.2c4.7 0 8.6-3.9 8.6-8.6v-7.8" fill="none"/><path fill="#fff" d="M85 0h-40c-6.9 0-12.5 5.6-12.5 12.5v33.4c0 2.2 1.8 4.1 4.1 4.1h29.9c.7 0 1.3.3 1.8.7l10 10c1.6 1.6 4.3.5 4.3-1.8v-6.5c0-1.4 1.1-2.5 2.5-2.5 6.9 0 12.5-5.6 12.5-12.5v-25c-.1-6.8-5.8-12.4-12.6-12.4z"/></svg>
</div>
<div class="support-detail">
<h2>Community Support</h2>
<a href="https://stackoverflow.com/questions/tagged/sbt">StackOverflow</a>
</div>
</div>
<div class="support-item">
<div class="support-icon">
<svg id="lightbend-icon-reverse" class="svg-icon svg-icon-lightbend-reverse" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 302 262"><title>lightbend-icon</title><g id="icon"><path d="M1,195v56a10,10,0,0,0,10,10H291a10,10,0,0,0,10-10V195a557.85,557.85,0,0,1-150,20A557.85,557.85,0,0,1,1,195Z" style="fill:#fff"/><path d="M291,1H11A10,10,0,0,0,1,11V176a539.94,539.94,0,0,0,150,21,539.94,539.94,0,0,0,150-21V11A10,10,0,0,0,291,1Z" style="fill:#fff"/></g></svg>
</div>
<div class="support-detail">
<h2>Commercial Support</h2>
<a href="https://www.lightbend.com/services/expert-support">Lightbend Subscription</a>
<a href="https://www.lightbend.com/services/training">Training</a>
<a href="https://www.lightbend.com/services/consulting">Consulting</a>
</div>
</div>
</div>

</div>
</div>
</div>

<footer>
<div class="container footer">
<div class="row">
<div class="col-md-8 sbt">
<nav>
<a href="<%= @items['/'].path %>index.html">
<img src="<%= @items['/sbt-logo-reverse/'].path %>" alt="sbt">
</a>
<a href="<%= @items['/documentation/'].path %>">Documentation</a>
<a href="<%= @items['/download/'].path %>">Download</a>
<a href="<%= @items['/community/'].path %>">Get Involved</a>
</nav>
<p class="legal">
&copy; 2016-2018 Lightbend, Inc. |
<a href="https://www.lightbend.com/legal/licenses" target="_blank">Licenses</a> |
<a href="https://www.lightbend.com/legal/terms" target="_blank">Terms</a> |
<a href="https://www.lightbend.com/legal/privacy" target="_blank">Privacy Policy</a> |
<a href="<%= @items['/cookie/'].path %>">Cookie Listing</a> |
<a class="optanon-toggle-display">Cookie Settings</a>
</p>
</div>
<div class="col-md-4 text-right ts">
<a href="https://www.lightbend.com">
<img src="<%= @items['/lightbend_reverse/'].path %>" alt="Lightbend, Inc.">
</a>
</div>
</div>
</div>
</footer>
<!-- Placed at the end -->
<script src="<%= @items['/jquery/'].path %>"></script>
<script src="<%= @items['/bootstrap/'].path %>"></script>
<script src="<%= @items['/arc/'].path %>"></script>
<script type="text/plain" class="optanon-category-2" async>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-41449189-1', 'scala-sbt.org');
ga('send', 'pageview');
</script>
<script type="text/plain" class="optanon-category-2" async>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-23127719-1', 'lightbend.com', {'allowLinker': true, 'name': 'tsTracker'});
ga('tsTracker.require', 'linker');
ga('tsTracker.linker:autoLink', ['lightbend.com','playframework.com','scala-lang.org','scaladays.org','spray.io','akka.io','scala-sbt.org']);
ga('tsTracker.send', 'pageview');
</script>
</body>
</html>

0 comments on commit 30b6694

Please sign in to comment.