Show version on front page
This commit is contained in:
parent
5adc8919e5
commit
7d9f5dce01
@ -13,21 +13,37 @@ $color-info: #31EF40;
|
|||||||
$color-warning: #F0C808;
|
$color-warning: #F0C808;
|
||||||
$color-error: #EE7600;
|
$color-error: #EE7600;
|
||||||
|
|
||||||
* {
|
*,
|
||||||
|
*:before,
|
||||||
|
*:after {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
html, body {
|
html {
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
html, body {
|
||||||
z-index: -99;
|
z-index: -99;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: $color-bg;
|
background-color: $color-bg;
|
||||||
color: $color-fg;
|
color: $color-fg;
|
||||||
margin: 0 0;
|
margin: 0;
|
||||||
font-family: $font-sans-serif;
|
font-family: $font-sans-serif;
|
||||||
|
min-height: 100%;
|
||||||
|
padding-bottom: 3rem;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
position: absolute;
|
||||||
|
padding: 1rem 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.call {
|
body.call {
|
||||||
|
|||||||
@ -8,6 +8,8 @@ const app = express()
|
|||||||
const http = require('http').Server(app)
|
const http = require('http').Server(app)
|
||||||
const io = require('socket.io')(http)
|
const io = require('socket.io')(http)
|
||||||
|
|
||||||
|
app.locals.version = require('../../package.json').version
|
||||||
|
|
||||||
app.set('view engine', 'pug')
|
app.set('view engine', 'pug')
|
||||||
app.set('views', path.join(__dirname, '../views'))
|
app.set('views', path.join(__dirname, '../views'))
|
||||||
|
|
||||||
|
|||||||
@ -14,10 +14,13 @@ html
|
|||||||
body
|
body
|
||||||
include ./_fork.pug
|
include ./_fork.pug
|
||||||
|
|
||||||
div#container
|
#container
|
||||||
|
|
||||||
form#form(method="get" action="call")
|
form#form(method="get" action="call")
|
||||||
h1
|
h1
|
||||||
img(src="res/peer-calls.svg" width="100%" alt="Peer Calls")
|
img(src="res/peer-calls.svg" width="100%" alt="Peer Calls")
|
||||||
p Group peer-to-peer calls for everyone. Create a private room. Share the link.
|
p Group peer-to-peer calls for everyone. Create a private room. Share the link.
|
||||||
input(type="submit" value="New Session")
|
input(type="submit" value="New Session")
|
||||||
|
|
||||||
|
footer
|
||||||
|
div v#{version}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user