Skip to content

Commit

Permalink
display version number
Browse files Browse the repository at this point in the history
  • Loading branch information
howthebodyworks committed Oct 28, 2016
1 parent 263cfc6 commit 42911c7
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 6 deletions.
9 changes: 7 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,21 @@ a, a:hover, a:active, a:focus {
#synapp .branding-box .branding-info {
position: absolute;
right: 2em;
bottom: 3em;
bottom: 4em;
}
#synapp .branding-box .branding-info h1 {
text-transform: uppercase;
margin:0;
}
#synapp .branding-box .branding-info h1 .version{
#synapp .branding-box .branding-info h1 .edition{
font-size: 80%;
font-variant: italic;
display: block;
}
#synapp .branding-box .branding-info .version{
font-size: 80%;
display: block;
}
#synapp .pane-content label {
display: inline-block;
text-align: right;
Expand Down
3 changes: 2 additions & 1 deletion src/components/BrandingBox.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@

const BrandingBox = () => (<div className='branding-box'>
<div className='branding-info'>
<h1>Synestizer <span className='version'>{VERSION} edition.</span></h1>
<h1>Synestizer <span className='version'>{EDITION} edition.</span></h1>
<span>v{VERSION}</span>
</div>
</div>)

Expand Down
2 changes: 2 additions & 0 deletions src/components/WelcomePane.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const WelcomePane = ({}) => {
<li>Sonic Sonic Skills research project at the Faculty of Arts and Social Sciences of Maastricht University, Coordinated by Prof. Karin Bijsterveld.</li>
<li>Prof. Florian Dombois and Prof. German Toro Perez from the Zürcher Hochshule der Künste</li>
</ul>
<p>Synestizer {EDITION} edition. v{VERSION}. </p>
</section>)
} else {
blurb=(<section>
Expand Down Expand Up @@ -75,6 +76,7 @@ const WelcomePane = ({}) => {
Don't like it? <a href="https://github.com/synestize/synestizer">Change it.</a>
</p>
<p>
Synestizer {EDITION} edition. v{VERSION} is
&copy; 2016 by <a href="https://www.kasparkoenig.com/">kaspar</a>,&nbsp;
<a href="https://danmackinlay.name">dan</a> &amp;&nbsp;
<a href="http://www.stahlnow.com">stahl</a>.
Expand Down
3 changes: 2 additions & 1 deletion webpack-gallery.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ config.plugins.push(new webpack.DefinePlugin({
"process.env": {
NODE_ENV: JSON.stringify("production")
},
VERSION: JSON.stringify("Violet"),
EDITION: JSON.stringify("Violet"),
VERSION: JSON.stringify("0.3.0"),
SIGNAL_PERIOD_MS: JSON.stringify(40),
UI_PERIOD_MS: JSON.stringify(100),
}))
Expand Down
3 changes: 2 additions & 1 deletion webpack-production.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ config.plugins.push(new webpack.DefinePlugin({
"process.env": {
NODE_ENV: JSON.stringify("production")
},
VERSION: JSON.stringify("Violet"),
EDITION: JSON.stringify("Violet"),
VERSION: JSON.stringify("0.3.0"),
SIGNAL_PERIOD_MS: JSON.stringify(40),
UI_PERIOD_MS: JSON.stringify(100),
}))
Expand Down
3 changes: 2 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ config.plugins.push(new webpack.DefinePlugin({
"process.env": {
NODE_ENV: JSON.stringify("development")
},
VERSION: JSON.stringify("Violet"),
EDITION: JSON.stringify("Violet"),
VERSION: JSON.stringify("0.3.0"),
SIGNAL_PERIOD_MS: JSON.stringify(1000),
UI_PERIOD_MS: JSON.stringify(1000),
}))
Expand Down

0 comments on commit 42911c7

Please sign in to comment.