1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 14:38:30 -04:00

319 Commits

Author SHA1 Message Date
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
3528707e52
toggle is still flashing, try reverting to importing dynamically...? 2022-01-06 20:11:15 -05:00
17375ef876
static header and footer were being re-rendered on every route change 2022-01-06 19:58:07 -05:00
66a244a9c1
formik-powered contact page (#725) 2022-01-06 13:13:41 -05:00
3394cac5de
use the excellent next-themes module 2022-01-06 10:08:24 -05:00
6b756a54c1
fix unused components still loading on posts 2022-01-06 09:10:25 -05:00
b29a2b8756
switch back to lazy react-player 2022-01-05 15:16:12 -05:00
2d44b58242
directly (and still dynamically) assign a few of the mdx components 2022-01-05 15:07:54 -05:00
32262b0041
add hover styles to footer 2022-01-04 19:42:44 -05:00
c890a8aae0
use react-innertext 2022-01-04 18:44:49 -05:00
72899ced57
also dynamically load components passed to mdx 2022-01-04 15:00:22 -05:00
b1bcdeb84b
allow markdown in mdx page titles (carefully)
mainly for `code` but also bold and italic text
2022-01-04 13:49:07 -05:00
6cde2944fc
dynamically load react-player 2022-01-04 13:43:51 -05:00
70778db89d
ThemeToggle.module.scss -> inline style
removes an unnecessary call to a very small CSS file since the toggle is loaded dynamically
2022-01-04 10:18:12 -05:00