mirror of
https://github.com/journey-ad/Moe-Counter.git
synced 2024-11-24 07:40:11 +01:00
feat: add favicon
This commit is contained in:
parent
ee154902b2
commit
860d6813c1
BIN
assets/favicon.png
Normal file
BIN
assets/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.4 KiB |
1
index.js
1
index.js
@ -31,6 +31,7 @@ function getCountImage(count) {
|
|||||||
|
|
||||||
|
|
||||||
const app = express()
|
const app = express()
|
||||||
|
app.use(express.static('assets'))
|
||||||
app.use(compression())
|
app.use(compression())
|
||||||
app.set('view engine', 'pug')
|
app.set('view engine', 'pug')
|
||||||
|
|
||||||
|
@ -2,7 +2,8 @@ html
|
|||||||
head
|
head
|
||||||
title='Kawaii Counter!'
|
title='Kawaii Counter!'
|
||||||
meta(name='viewport', content='width=device-width, initial-scale=1')
|
meta(name='viewport', content='width=device-width, initial-scale=1')
|
||||||
link(rel='stylesheet',href='https://cdn.jsdelivr.net/gh/kognise/water.css@latest/dist/light.min.css')
|
link(rel='icon', type='image/png', href='favicon.png')
|
||||||
|
link(rel='stylesheet', href='https://cdn.jsdelivr.net/gh/kognise/water.css@latest/dist/light.min.css')
|
||||||
|
|
||||||
body
|
body
|
||||||
h3 How to use:
|
h3 How to use:
|
||||||
@ -34,7 +35,7 @@ html
|
|||||||
h3 Tool
|
h3 Tool
|
||||||
.tool
|
.tool
|
||||||
code https://count.getloli.com/get/@
|
code https://count.getloli.com/get/@
|
||||||
input#name(type='text', placeholder=':name', style='display: inline-block;width: 80px;height: 1.4em;line-height: 1.4em;margin: 0 4px;vertical-align: middle;')
|
input#name(type='text', placeholder=':name', style='display: inline-block; width: 80px; height: 1.4em; line-height: 1.4em; margin: 0 4px; vertical-align: middle;')
|
||||||
button#get(style='margin: 10px 0') Get
|
button#get(style='margin: 10px 0') Get
|
||||||
img#result(style='display: block; width: 315px; height: 100px')
|
img#result(style='display: block; width: 315px; height: 100px')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user