Commit Graph

131 Commits

Author SHA1 Message Date
Oliver Booth b04e63a8a3
fix: fix URI encoding for tag filter (WEB-1) 2023-09-24 18:39:21 +01:00
Oliver Booth a0fd48e6ca
fix: encode tag for URI (WEB-1)
The tag 'c#' was causing problems since # is a special URI char oops.
2023-09-24 17:15:40 +01:00
Oliver Booth f48713c470
feat: add tag filtering (resolves WEB-1) 2023-09-24 17:03:06 +01:00
Oliver Booth dd2a0c027b
style: space footer nav instead of using bullet points 2023-09-24 16:44:36 +01:00
Oliver Booth 4b3e345a1b
style: add headshot image to index 2023-09-24 16:39:58 +01:00
Oliver Booth 6b1a75bfcc
feat: load projects from db 2023-09-24 14:37:38 +01:00
Oliver Booth dede552729
fix: add SAMP.NET hero 2023-09-24 00:05:44 +01:00
Oliver Booth dd111cb0de
style: add hover transition for .project-card 2023-09-24 00:05:29 +01:00
Oliver Booth a9c4b3a144
feat: display post tags 2023-09-23 22:08:25 +01:00
Oliver Booth 9295c4a848
refactor: remove ctrl+u capture 2023-08-16 15:23:30 +01:00
Oliver Booth 7dc9c4c6f7
style: add 20px margin to faq accordion 2023-08-16 15:17:48 +01:00
Oliver Booth e5fd4b106e
fix: match any case hex char 2023-08-16 15:17:05 +01:00
Oliver Booth 1e1f67b9b4
fix: allow styled mark tags 2023-08-16 13:56:13 +01:00
Oliver Booth b9e2597bc0
feat(prism): define hex/binary langs for better highlighting 2023-08-14 00:58:32 +01:00
Oliver Booth 193b2486a1
refactor(blog): use /blog prefix for article endpoints 2023-08-13 18:12:13 +01:00
Oliver Booth 67d89c1831
fix(blog): fix reading of url due to schema change 2023-08-13 17:35:20 +01:00
Oliver Booth 0a9c2e82d5
refactor: combine sites into one
CORS was "cors"ing some issues (heh).

But also it is easier to maintain this way. Development was made much more difficult when I separated it. Combining it all also improves SEO
2023-08-13 17:34:38 +01:00
Oliver Booth a84f537dc1
refactor(blog): swap to using new API host for client-side fetch 2023-08-13 15:24:24 +01:00
Oliver Booth 944fc5ced3
perf: +=5 in loop step because clearly I was stupid 2023-08-11 17:15:39 +01:00
Oliver Booth 597d7c8b4c
perf: cache author for faster lookup 2023-08-11 17:15:21 +01:00
Oliver Booth 37a35d5aab
feat: add author id to class 2023-08-11 16:34:10 +01:00
Oliver Booth e060ab4dea
fix: use string for entity uuid 2023-08-11 16:31:51 +01:00
Oliver Booth 1fe65aed3b
feat: add support for future spoiler tags 2023-08-11 16:30:42 +01:00
Oliver Booth 143131b413
style: remove BOM 2023-08-11 15:51:20 +01:00
Oliver Booth 31794a1238
feat: add rss icon to layout footer 2023-08-11 13:24:57 +01:00
Oliver Booth bea35a2015
style: improve feel of spinner removal 2023-08-11 02:08:48 +01:00
Oliver Booth e3702878cd
fix: register pre-existing bs tooltips 2023-08-10 23:31:34 +01:00
Oliver Booth 4cc9efce42
fix: escape <mark> first 2023-08-10 23:28:37 +01:00
Oliver Booth d1eeea3c85
refactor: ignore <mark> tag from highlighting 2023-08-10 23:28:23 +01:00
Oliver Booth cf615e1e81
fix: fix already-formatted <mark>
no really, I hate this.
2023-08-10 22:48:32 +01:00
Oliver Booth 086a8a665c
feat: capture ctrl+u for git repo redirect 2023-08-10 22:48:08 +01:00
Oliver Booth cf2a5c2ffb
feat: add kb shortcut detection 2023-08-10 22:47:28 +01:00
Oliver Booth e939174040
refactor: delegate timestamp render to UI class 2023-08-10 16:21:35 +01:00
Oliver Booth b4c991e44f
docs: add @param to UI methods 2023-08-10 16:18:52 +01:00
Oliver Booth ab5277bacb
refactor: delegate card creation to UI class 2023-08-10 16:18:24 +01:00
Oliver Booth 5bb6463a4b
fix: use manual Prism highlighting 2023-08-10 16:16:29 +01:00
Oliver Booth 4244f9f014
fix: add disqus comment counter after posts have loaded 2023-08-10 16:14:48 +01:00
Oliver Booth 506347ce9c
feat: add pre-formatted date "dddd, d MMMM yyyy HH:mm" 2023-08-10 15:32:34 +01:00
Oliver Booth d67955f28a
refactor: allow localised element query 2023-08-10 15:31:51 +01:00
Oliver Booth 94a1ee00e1
refactor: render bootstrap tooltips from UI class 2023-08-10 15:31:17 +01:00
Oliver Booth 28f310e315
feat: render TeX from UI class 2023-08-10 15:28:53 +01:00
Oliver Booth f3ad04ff1f
feat: add disqus comment count injection to asp page 2023-08-10 15:15:36 +01:00
Oliver Booth 42af5ebcdd
refactor: delegate refresh to UI class 2023-08-10 15:15:06 +01:00
Oliver Booth 522caa6add
refactor: remove now-redundant @ts-ignore 2023-08-10 15:13:20 +01:00
Oliver Booth 217c1d660e
feat: use Handlebars to render template excerpt card 2023-08-10 14:36:51 +01:00
Oliver Booth 3868fcbaa8
feat: add pre-humanized timestamp to api schema 2023-08-10 14:34:52 +01:00
Oliver Booth 9ef9e6ca2c
fix: amend cb331ff54f 2023-08-10 14:32:56 +01:00
Oliver Booth 085bdafda2
feat: move some UI stuff to UI class 2023-08-10 14:19:11 +01:00
Oliver Booth f989b4c02f
refactor: use readonly fields in Author 2023-08-10 14:18:29 +01:00
Oliver Booth cb331ff54f
refactor: use - not _ for id word splitter 2023-08-10 14:08:22 +01:00
Oliver Booth 20656e74e8
refactor: remove redundant function 2023-08-10 04:57:17 +01:00
Oliver Booth 95dd7e51e5
perf: add dynamic fetch of blog posts to speed up page load 2023-08-10 04:56:12 +01:00
Oliver Booth e64d8b47b8
feat: add support for Discord-style timestamps 2023-08-10 01:49:09 +01:00
Oliver Booth 7279c448da
fix: don't display line numbers for one-line blocks 2023-08-10 00:29:51 +01:00
Oliver Booth 4e032c3aa5
refactor: render katex in delegate. window.onload is redundant 2023-08-09 23:20:35 +01:00
Oliver Booth e3b40a94c0
style: add abbr styling 2023-08-09 23:16:52 +01:00
Oliver Booth 290d261771
style: use lighter background to reduce ghost images in eyesight 2023-08-09 23:16:34 +01:00
Oliver Booth 42d1115df4
style: nest article blockquote 2023-08-09 23:14:54 +01:00
Oliver Booth 2d64bccc50
feat: enable bs tooltips for all elements with title attr 2023-08-08 21:05:09 +01:00
Oliver Booth 0120ac6dee
style: remove padding from :last-child of alert 2023-08-08 21:04:50 +01:00
Oliver Booth 3c62a42d32
fix: revert markdig escape for <mark> tags 2023-08-08 02:11:12 +01:00
Oliver Booth ea656f6513
feat: use bs-tooltip for img title 2023-08-08 02:10:42 +01:00
Oliver Booth 6583a8eba6
feat: add line numbers to prism blocks 2023-08-08 02:10:17 +01:00
Oliver Booth 204269396e
feat: use KaTeX to render math exprs 2023-08-08 02:08:50 +01:00
Oliver Booth 2df24a99e7
feat: add bs tooltips 2023-08-08 02:08:18 +01:00
Oliver Booth 79a45643cb
fix: remove incorrect background colour for codeblocks 2023-08-08 01:29:37 +01:00
Oliver Booth 80e0f04e93
style: add codeblock marking 2023-08-08 01:28:26 +01:00
Oliver Booth 852df0acf2
style: remove css line counter 2023-08-08 01:28:02 +01:00
Oliver Booth 6b864d5ab3
style: scale blog card on hover 2023-08-08 01:26:49 +01:00
Oliver Booth 8f345e493a
style: add rounded author pfp 2023-08-08 01:26:33 +01:00
Oliver Booth 3ec44a59b4
style: center non-text article elements 2023-08-08 01:26:24 +01:00
Oliver Booth 5b524337ca
style: add blockquote styling 2023-08-08 01:23:42 +01:00
Oliver Booth 81cd1dcf1d
style: remove hljs selectors 2023-08-08 01:23:02 +01:00
Oliver Booth 8768a90d48
fix: force disqus to use dark theme 2023-08-08 01:21:15 +01:00
Oliver Booth c62a939f2e
style: max-width:700px for .container 2023-08-08 01:19:54 +01:00
Oliver Booth 1377ed012c
feat: add prism lib assets 2023-08-08 01:19:38 +01:00
Oliver Booth b9e7e938ba
refactor: remove references to hljs 2023-08-08 01:17:23 +01:00
Oliver Booth 2aa218d105
feat: add source image assets 2023-08-06 16:05:44 +01:00
Oliver Booth ba8e186cb5
style: don't trim padding for formatted pre code 2023-08-06 15:56:38 +01:00
Oliver Booth f2da5f9363
feat: add ts build pipeline 2023-08-04 12:55:16 +01:00
Oliver Booth c87223dcdb
refactor: rename site scss to app 2023-08-04 12:44:03 +01:00