Permalink
Browse files

Add version number to the footer

  • Loading branch information...
marcomontalbano committed Dec 20, 2018
1 parent 92f84bc commit 2dcfb2bf12bc099a8d24c110fb3c9c924706880f
Showing with 9 additions and 1 deletion.
  1. +1 −0 public/index.html
  2. +3 −0 src/index.js
  3. +5 −1 src/stylesheets/pages/global.less
@@ -29,6 +29,7 @@
<div class="links">
<a target="_blank" rel="noopener noreferrer" href="https://kata-team.github.io">Kata Team</a>
<a target="_blank" rel="noopener noreferrer" href="https://github.com/kata-team/technology-radar">Github</a>
<span id="version" class="cursor-default"></span>
</div>
<div class="badges">
<a target="_blank" rel="noopener noreferrer" href="https://travis-ci.org/kata-team/technology-radar"><img src="https://travis-ci.org/kata-team/technology-radar.svg?branch=master" alt="Build Status"></a>
@@ -1,6 +1,9 @@
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import AppComponent from './app/components/AppComponent';
import packageJson from '../package.json';

document.getElementById('version').innerHTML = `v ${packageJson.version}`;

ReactDOM.render(
<AppComponent />
@@ -14,14 +14,18 @@ button {
background: transparent;
}

.cursor-default {
cursor: default;
}

footer {
text-align: center;
padding-top: 15px;
padding-bottom: 15px;
line-height: 30px;

.footer-links {
.links a {
.links a, .links span {
margin-left: 10px;
}

0 comments on commit 2dcfb2b

Please sign in to comment.