Skip to content

Commit

Permalink
feat: add favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
journey-ad committed Aug 4, 2020
1 parent ee15490 commit 860d681
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Binary file added assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified count.db
Binary file not shown.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function getCountImage(count) {


const app = express()
app.use(express.static('assets'))
app.use(compression())
app.set('view engine', 'pug')

Expand Down
5 changes: 3 additions & 2 deletions views/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ html
head
title='Kawaii Counter!'
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
h3 How to use:
Expand Down Expand Up @@ -34,7 +35,7 @@ html
h3 Tool
.tool
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
img#result(style='display: block; width: 315px; height: 100px')

Expand Down

0 comments on commit 860d681

Please sign in to comment.