✨ Site > Add keppler version
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
+4
-1
@@ -190,7 +190,10 @@ 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' ) ) )
|
||||||
|
|
||||||
this.express.locals.domain = this.options.domain
|
let config = require( '../package.json' )
|
||||||
|
|
||||||
|
this.express.locals.keppler_version = config.version
|
||||||
|
this.express.locals.domain = this.options.domain
|
||||||
|
|
||||||
// Controllers
|
// Controllers
|
||||||
this.express.use( '/', require( './controllers/index.js' ) )
|
this.express.use( '/', require( './controllers/index.js' ) )
|
||||||
|
|||||||
@@ -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")
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user