From 860d6813c13bd68a60284f065e8ad01ebda334ea Mon Sep 17 00:00:00 2001 From: Jad Date: Tue, 4 Aug 2020 08:36:37 +0000 Subject: [PATCH] feat: add favicon --- assets/favicon.png | Bin 0 -> 4523 bytes count.db | Bin 20480 -> 20480 bytes index.js | 1 + views/index.pug | 5 +++-- 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 assets/favicon.png diff --git a/assets/favicon.png b/assets/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..3f9e9a82386cf50ea623315647a50a13d48e5883 GIT binary patch literal 4523 zcmV;c5mfGpP)wU5VGU$~0AUG&$Rdkuil{7#w1XguyKQ54>&U1yV|S})yW7ruZj8%_ zimmO^wu9Xw7-WY85NHHh0>~P&kfio{RqvkpPUVG8hb%?CSD~W$zpqj+$*c3uz2~my z{Pz^Jp$%rjEc;__RHx>m?>4rE20G)rjRnr0xLOjEjZMTWN>dG{~T$M)0K29x9h!^{H zBYX(}*s97D13H9@1R}bf@BQO1<0~u*SoykZdu(6$T4FpRxB%b^0Jx~5aQwUqGbe7T8W-NL&Uogz_t9j#Ln?njIVz~oCTFQ3w-zWHZ2nXh62D+ z0H``Y>V}V2(E||iA%355k)jvPl|8c&UIMlKstE0$h?gNvC#pU<=+tY|7~1hL#be~yT+A%LUgvlO*M3U)Y`51)3BtMj#vpd?5m zB3{Bi7d=%YN38aMI7D2)7uSxp6rOA4GtyHq>5i$^e?UzySP-k5vsmo`w<6+Oh)`Ma zc?zT^Vnps{k6-#yr#PKbLPsL{9RMscUsYp>#U3CK@i%-iZIoqOq?OM|u!;DePqXsA zfP2CHu^2aq#U5}CB7Oz{-s2x9S9eJlU5p6x`pKU<#Zj$E=tM-n1%SuRQ`Ip;+GbsLrWf25Ywnj=GXQ%z#{hu##zP6&W(j@ju6W)<1OOll04AFy z*9^pz0fZ3$!SDUDm5u$fM6OwKIcCr&TiFUVz2I)MqM+y&M+IHu15)6JG2DPqL{BiN6| zUd(rYV{g>mYy^k^Q%71kaL>l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{pazlMJye=C0q z|Ch~z4sQIDQ{-(ViaBdo7(^MZ@)C2IxJp?V#KFu|w#hr>RUP?7m{=IpnbR{%GD?&5 zic%9(a#I;rXri4#PV;hwr>_-;>!d8qt8B- diff --git a/index.js b/index.js index e8f49b0..ee6d2d1 100644 --- a/index.js +++ b/index.js @@ -31,6 +31,7 @@ function getCountImage(count) { const app = express() +app.use(express.static('assets')) app.use(compression()) app.set('view engine', 'pug') diff --git a/views/index.pug b/views/index.pug index 075f25b..5e2c559 100644 --- a/views/index.pug +++ b/views/index.pug @@ -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: @@ -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')