1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 19:28:27 -04:00

282 Commits

Author SHA1 Message Date
e91595c8bf
fix custom image width/height when passed in as strings 2022-01-24 11:37:12 -05:00
e5b862508c
manually minify JS outputted by next-mdx-remote v4 2022-01-24 10:41:31 -05:00
51ecae3c9b
custom <Image /> wrapper now supports static imports too 2022-01-24 08:57:21 -05:00
0343aa9be4
move more junk out of index.css and into components 2022-01-22 18:52:29 -05:00
f62c057f5d
do sub-heading anchor links manually instead of via rehype plugin 2022-01-22 17:21:29 -05:00
7b01f01c9d
fix <PageTitle /> canonical link 2022-01-22 17:16:44 -05:00
d06ebfcf60
use memo more wisely 2022-01-22 10:06:24 -05:00
224358fd68
add some rounded corners and theme transition fading 2022-01-21 12:05:01 -05:00
7e37adabc1
all components should accept additional classnames 2022-01-20 12:06:05 -05:00
2162e9d563
properly merge multiple class names 2022-01-20 10:38:18 -05:00
0462428a54
even more styled components 2022-01-20 08:26:30 -05:00
171bdd65b6
more preparation for styled components 2022-01-19 11:00:28 -05:00
caac9b905a
<IFrame /> component 2022-01-18 13:54:12 -05:00
5e9503b562
remove unnecessary react fragments 2022-01-18 09:54:30 -05:00
a406010bd2
next-mdx-remote v4 (#737) 2022-01-18 09:25:09 -05:00
ad0431d3b9
component reorganization 2022-01-16 18:31:51 -05:00
867ad4c977
remove all styled-jsx from components 2022-01-15 16:30:18 -05:00
872846dbeb
giscus comments! 2022-01-15 11:28:31 -05:00
6d7ffee7ea
switch back to lighter markdown-to-jsx on server-side 2022-01-15 08:51:10 -05:00
ddb178cab0
prioritize above-the-fold images 2022-01-15 07:50:11 -05:00
5f3cf02669
fix layout shift when number of hits loads 2022-01-14 17:24:34 -05:00
58c82a1715
cumulative layout shift fixes
- inject theme toggle placeholder instead of loading dynamically
- explicitly set sticky header height
- set `font-display: fallback`
2022-01-14 17:10:35 -05:00
399091122c
finally tested on windows/edge -- fix resulting weirdness
- magic wand cursor
- unnecessary horizontal scroll bar on short code blocks
2022-01-14 11:00:31 -05:00
64a91d67bf
new <Figure> component for image captions 2022-01-13 13:39:22 -05:00
1a0541776e
extract syntax highlighting styles into a CSS module 2022-01-13 09:04:02 -05:00
b51e8a38ce
passing a custom link component to mdx was unnecessary 2022-01-12 14:20:45 -05:00
e6ead77f5f
update <PageTitle /> component 2022-01-12 12:56:24 -05:00
3dfe85d5f6
loading spinner component's styles were excessively redundant 2022-01-12 11:57:07 -05:00
c9f00d567a
update markdown-in-titles parsing 2022-01-12 10:43:21 -05:00
732a870a07
completely redo the header flexbox fiasco 2022-01-12 09:15:08 -05:00
53158f6d3c
pull SVG icons directly from their NPM packages 2022-01-11 19:19:47 -05:00
afcc5972bb
swap copy to clipboard octicons 2022-01-10 21:14:11 -05:00
78967815e1
highlight.js -> prism (#730) 2022-01-10 19:10:19 -05:00
3864d18ba3
clean up global styles 2022-01-10 16:15:25 -05:00
0ef7ff5f92
start extracting types to shared .d.ts file 2022-01-10 14:18:33 -05:00
b552b6ae64
add typescript eslint parser/rules 2022-01-10 13:46:49 -05:00
1f80bd5a0e
move hljs classes to code component styled JSX 2022-01-10 09:52:41 -05:00
972a25abc6
parse markdown in titles at build time 2022-01-10 08:37:30 -05:00
58321a3844
priority flag on above-the-fold images 2022-01-09 23:35:16 -05:00
f56006d627
assume images should be centered for now 2022-01-09 23:14:35 -05:00
6436a34c59
pass mdx images through next/image for full optimization benefits 2022-01-09 22:53:10 -05:00
379696166b
move utteranc.es preload tag 2022-01-09 16:34:59 -05:00
65416fcc1f
next-mdx-remote -> mdx-bundler (#729) 2022-01-09 13:45:38 -05:00
b7313985db
don't set theme-color until we know for sure what the resolvedTheme is 2022-01-08 11:32:43 -05:00
0954c78104
update meta theme-color config 2022-01-08 09:15:27 -05:00
c35e33da8d add utteranc.es comments to notes 2022-01-08 07:58:32 -05:00
a1fd5cd940
re-add <meta name="theme-color" ...> tag 2022-01-07 17:19:12 -05:00
41d2b8c64b
scss ➡️ vanilla css (#727)
* scss isn't worth the technical/mental overhead anymore

* try to translate my old Hugo pygments themes

* update lockfile

* consolidate .hljs classes
2022-01-07 16:17:14 -05:00
354d767fc5
move <Layout> to _app.tsx so it's not rerendered 2022-01-07 09:57:32 -05:00
34d2304e7c
properly set hrefs for dynamic paths on notes list 2022-01-07 08:56:37 -05:00