Skip to content

Commit 2b698e2

Browse files
author
Rob Tjalma
authored
Merge pull request #32 from com-pas/logo-compas
Added logo and position of sidebar
2 parents 053bd11 + d0b975c commit 2b698e2

File tree

3 files changed

+125
-9
lines changed

3 files changed

+125
-9
lines changed

docs/_includes/sidebar.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
SPDX-License-Identifier: CC-BY-4.0
55
-->
66
<div class="sidebar">
7-
<div class="container sidebar-sticky">
7+
<div class="container">
88
<div class="sidebar-about">
9+
<img src="{{ site.baseurl }}/public/compas-horizontal-color.svg"/>
910
<h2>
1011
<a href="{{ site.baseurl }}">
1112
{{ site.title }}
@@ -16,24 +17,23 @@ <h2>
1617

1718
<nav class="sidebar-nav">
1819
<a class="sidebar-nav-item{% if page.url == '/' %} active{% endif %}" href="{{ site.baseurl }}">Home</a>
19-
<a class="sidebar-nav-item{% if page.url == 'MISSION-COMPAS.html' %} active{% endif %}" href="{{ site.baseurl }}/MISSION-COMPAS.html">Mission</a>
20-
<a class="sidebar-nav-item{% if page.url == 'GOVERNANCE.html' %} active{% endif %}" href="{{ site.baseurl }}/GOVERNANCE.html">Governance</a>
21-
<a class="sidebar-nav-item{% if page.url == 'DEVELOPING.html' %} active{% endif %}" href="{{ site.baseurl }}/DEVELOPING.html">Developing</a>
20+
<a class="sidebar-nav-item{% if page.url == '/MISSION-COMPAS.html' %} active{% endif %}" href="{{ site.baseurl }}/MISSION-COMPAS.html">Mission</a>
21+
<a class="sidebar-nav-item{% if page.url == '/GOVERNANCE.html' %} active{% endif %}" href="{{ site.baseurl }}/GOVERNANCE.html">Governance</a>
22+
<a class="sidebar-nav-item{% if page.url == '/DEVELOPING.html' %} active{% endif %}" href="{{ site.baseurl }}/DEVELOPING.html">Developing</a>
2223
<ul class="nav-list ">
2324
<li class="nav-list-item">
24-
<a class="sidebar-nav-item{% if page.url == 'STYLEGUIDE.html' %} active{% endif %}" href="{{ site.baseurl }}/STYLEGUIDE.html">Styleguide</a>
25+
<a class="sidebar-nav-item{% if page.url == '/STYLEGUIDE.html' %} active{% endif %}" href="{{ site.baseurl }}/STYLEGUIDE.html">Styleguide</a>
2526
</li>
2627
<li class="nav-list-item">
27-
<a class="sidebar-nav-item{% if page.url == 'GITHUB_ACTIONS.html' %} active{% endif %}" href="{{ site.baseurl }}/GITHUB_ACTIONS.html">Github Actions</a>
28+
<a class="sidebar-nav-item{% if page.url == '/GITHUB_ACTIONS.html' %} active{% endif %}" href="{{ site.baseurl }}/GITHUB_ACTIONS.html">Github Actions</a>
2829
</li>
2930
<li class="nav-list-item">
30-
<a class="sidebar-nav-item{% if page.url == 'DEPENDABOT.html' %} active{% endif %}" href="{{ site.baseurl }}/DEPENDABOT.html">Dependabot</a>
31+
<a class="sidebar-nav-item{% if page.url == '/DEPENDABOT.html' %} active{% endif %}" href="{{ site.baseurl }}/DEPENDABOT.html">Dependabot</a>
3132
</li>
3233
<li class="nav-list-item">
33-
<a class="sidebar-nav-item{% if page.url == 'DEPLOYMENT.html' %} active{% endif %}" href="{{ site.baseurl }}/DEPLOYMENT.html">Deployment</a>
34+
<a class="sidebar-nav-item{% if page.url == '/DEPLOYMENT.html' %} active{% endif %}" href="{{ site.baseurl }}/DEPLOYMENT.html">Deployment</a>
3435
</li>
3536
</ul>
36-
3737
</nav>
3838

3939
<p>Currently v{{ site.version }}</p>
Lines changed: 113 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2021 Alliander N.V.
2+
3+
SPDX-License-Identifier: CC-BY-4.0

0 commit comments

Comments
 (0)