From 0b7a7c741ede97824318aa26905495223c1f5d9c Mon Sep 17 00:00:00 2001 From: Zed Date: Mon, 7 Oct 2019 18:09:56 +0200 Subject: [PATCH] Add "Open in Twitter" icon to navbar Fixes #10 --- public/css/fontello.css | 15 ++++++++------- public/fonts/fontello.eot | Bin 9160 -> 10216 bytes public/fonts/fontello.svg | 10 +++++++++- public/fonts/fontello.ttf | Bin 8992 -> 10048 bytes public/fonts/fontello.woff | Bin 5772 -> 6492 bytes public/fonts/fontello.woff2 | Bin 4792 -> 5476 bytes src/views/general.nim | 8 ++++++-- 7 files changed, 23 insertions(+), 10 deletions(-) diff --git a/public/css/fontello.css b/public/css/fontello.css index 7da36ff..583ae79 100644 --- a/public/css/fontello.css +++ b/public/css/fontello.css @@ -1,11 +1,11 @@ @font-face { font-family: 'fontello'; - src: url('/fonts/fontello.eot?33844470'); - src: url('/fonts/fontello.eot?33844470#iefix') format('embedded-opentype'), - url('/fonts/fontello.woff2?33844470') format('woff2'), - url('/fonts/fontello.woff?33844470') format('woff'), - url('/fonts/fontello.ttf?33844470') format('truetype'), - url('/fonts/fontello.svg?33844470#fontello') format('svg'); + src: url('/fonts/fontello.eot?23617755'); + src: url('/fonts/fontello.eot?23617755#iefix') format('embedded-opentype'), + url('/fonts/fontello.woff2?23617755') format('woff2'), + url('/fonts/fontello.woff?23617755') format('woff'), + url('/fonts/fontello.ttf?23617755') format('truetype'), + url('/fonts/fontello.svg?23617755#fontello') format('svg'); font-weight: normal; font-style: normal; } @@ -50,5 +50,6 @@ .icon-search:before { content: '\e80e'; } /* '' */ .icon-pin:before { content: '\e80f'; } /* '' */ .icon-cog:before { content: '\e812'; } /* '' */ -.icon-rss-feed:before { content: '\f143'; } /* '' */ +.icon-rss-feed:before { content: '\e813'; } /* '' */ +.icon-bird:before { content: '\f099'; } /* '' */ .icon-thumbs-up:before { content: '\f164'; } /* '' */ diff --git a/public/fonts/fontello.eot b/public/fonts/fontello.eot index a3d11e8ce4f9d4317f5ba7268f1f00932895936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zx4Y+X`^Nv-wuFgAL|g>ifLZ&0|b zb=RLBJ#F}hW>)JUs_E3v2>6$BY4f)3v40k?GW+pbP$9Urtru`;dR^u<_sUkvxT*OW dC7wt$C$6W$@o1zVIh%@2CYn>m)~oV5+aFq?v<(0N diff --git a/public/fonts/fontello.svg b/public/fonts/fontello.svg index 257ace5..fe483ef 100644 --- a/public/fonts/fontello.svg +++ b/public/fonts/fontello.svg @@ -38,11 +38,19 @@ + + - + + + + + + + \ No newline at end of file diff --git a/public/fonts/fontello.ttf b/public/fonts/fontello.ttf index 847494ed4a67d8df9016daef3bc636f55e72462f..c85f39c587d245174ea6fff186cf9d33e4602d35 100644 GIT binary patch delta 1867 zcmYjRZETZO6h7zP``))(N4tK#ZwG^QZTEJvu0Yoh5E$LSvCUcenB&v3ZXI-v(z*>q zBTUpNF=j!lLHr=ZL^Jteq9leGqxkW|7>R#0iYCOEm`r~`h#xkF`jmfWuoeKf0Km{_AzM20{N;3^@M%oEe8%hy8p`fjS7I625`*f$Fe!?@^}+~)=2w_JO$Jf{4K(R zgoF9Q^wI4*ybFI);3x%#4;DwWtA1~PmGBRQqlN6z5(ca{0rWb;zC+o<*w=3~H4_d~ zftO3gsp;2x?XLhd{6j@ImnO$bzjn2K1Ylfz;qN_oq&$e7?1m`6grR+NfRqE^P2jhl z!sN}?=Rm*_irc^f4CH+MyzAPIYiF+KZis~ifO(jA-idGJsD2@xiNMP0r(DbKvbw;EiL!YzaFBOa4NUK<8j!!XqiWzLf2L}b9j@o9 zM!y3$MAbmQ5EkFn&TxQ*asE5sPOa$RgH&q0hKjHvQ)&?z-wc8)Tqp%l7+2T?Fyss; zfOFVM)ztL@;v(#Gd0j0or&JcVIbuW(BTMQ@ts|O<8Gh+;>w#n}5!Kw%Z=iv%W2>nA zT-jUsCHB+qLVR6rcJ{01TUc+pl%|E5Z_r?stCdXUDnrAzyRc;T%h}mn&)O4f(&@=` z`bGP%X5BQ-OYB3c+XF3-OvMyr2*{uSDoCNqVJd>7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TV9{N0b@^2XM80?N&2z))Ympg`t?Pqk_t+q-}~6@!koATUqcwE=*Q3XGsgF9^l|;3;=I z54md}F7w=GJBy{4UwP%2PrWpky&a%=`4}HNfjht9uaDDDMZWy(ioAdrZv2$+5>k=F zo4G&FRnq2wDyt?Vztg`EG9V758E=gJbgz8&k?tqWb5p<^?O*73=|>UY7G`k-j6ExE S{`0a*`S71~Pvc+usWJx9gIW3j diff --git a/src/views/general.nim b/src/views/general.nim index 5907c3d..e022e4b 100644 --- a/src/views/general.nim +++ b/src/views/general.nim @@ -1,4 +1,4 @@ -import uri +import uri, strutils import karax/[karaxdsl, vdom] import renderutils @@ -9,7 +9,9 @@ import jester const doctype = "\n" proc renderNavbar*(title, rss: string; req: Request): VNode = - let path = $(parseUri(req.path) ? filterParams(req.params)) + var path = $(parseUri(req.path) ? filterParams(req.params)) + path = "https://twitter.com" & path.replace("after=", "max_position=") + buildHtml(nav): tdiv(class="inner-nav"): tdiv(class="nav-item"): @@ -21,6 +23,8 @@ proc renderNavbar*(title, rss: string; req: Request): VNode = icon "search", title="Search", href="/search" if rss.len > 0: icon "rss-feed", title="RSS Feed", href=rss + if "/search" notin path: + icon "bird", title="Open in Twitter", href=path icon "info-circled", title="About", href="/about" iconReferer "cog", "/settings", path, title="Preferences"