Site > Add keppler version

This commit is contained in:
brunosimon
2017-01-21 11:08:55 +01:00
parent 6e346aefa2
commit d524f49106
6 changed files with 23 additions and 2 deletions
File diff suppressed because one or more lines are too long
+6
View File
@@ -54,6 +54,12 @@ body.project
letter-spacing 2px letter-spacing 2px
text-decoration none text-decoration none
.version
padding-left 4px
font-size 10px
letter-spacing 0px
color #555980
aside.aside aside.aside
position fixed position fixed
top 80px top 80px
+8
View File
@@ -23,6 +23,7 @@ body.projects
code code
font-family 'Ubuntu Mono' font-family 'Ubuntu Mono'
outline none
section.landing section.landing
position relative position relative
@@ -82,6 +83,13 @@ body.projects
&.index-6 &.index-6
left 400px - 10px left 400px - 10px
.version
position absolute
top 5px
left 420px
opacity 0.2
font-size 14px
.punch-line .punch-line
padding-top 600px padding-top 600px
text-align center text-align center
+3
View File
@@ -190,6 +190,9 @@ class Site
this.express.set( 'views', path.join( __dirname, 'views' ) ) this.express.set( 'views', path.join( __dirname, 'views' ) )
this.express.use( express.static( path.join( __dirname, 'public' ) ) ) this.express.use( express.static( path.join( __dirname, 'public' ) ) )
let config = require( '../package.json' )
this.express.locals.keppler_version = config.version
this.express.locals.domain = this.options.domain this.express.locals.domain = this.options.domain
// Controllers // Controllers
+2
View File
@@ -73,6 +73,8 @@ div(ng-controller="ProjectController as controller",ng-init="init('" + project_s
.disk.index-0 .disk.index-0
a.title(href="/") a.title(href="/")
| Keppler | Keppler
span.version
| #{keppler_version}
section.main section.main
section.no-file.big-centered-text(ng-if="!file") section.no-file.big-centered-text(ng-if="!file")
+2
View File
@@ -18,6 +18,8 @@ section.landing
span.letter.index-4= 'L' span.letter.index-4= 'L'
span.letter.index-5= 'E' span.letter.index-5= 'E'
span.letter.index-6= 'R' span.letter.index-6= 'R'
span.version
| #{keppler_version}
.punch-line .punch-line
.text .text
| An efficient way to share your code while presenting | An efficient way to share your code while presenting