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

188 Commits

Author SHA1 Message Date
8a97b706be
more optimization/error handling 2022-04-22 09:18:53 -04:00
831139c132
actually listen to react-hooks/exhaustive-deps warning 2022-04-21 18:10:03 -04:00
008bb3213b
minify the theme restoration script injected into head
also switches the MDX minifier to uglify-js for consistency
2022-04-21 14:05:11 -04:00
05469218b1
prevent more hydration mismatches 2022-04-21 12:45:39 -04:00
54c662c1f2
reorganize style and font configs 2022-04-20 11:19:02 -04:00
fa968dbcd2
use <time> element for all dates 2022-04-16 15:59:28 -04:00
1648464e0e
bump next 2022-04-12 20:01:34 -04:00
8641b6a90e
separate out inline code and code block components 2022-04-11 19:05:01 -04:00
6f2018bd6e
reduce theme context's unnecessary crap even more 2022-04-08 18:15:06 -04:00
d09cf7ab26
consolidate theme context/provider types 2022-04-08 12:36:19 -04:00
a8c1a3ba3c
use safer method of concatenating absolute URLs 2022-04-07 15:29:15 -04:00
25aed87b21
separate ThemeContext and useTheme code 2022-04-06 17:40:16 -04:00
eccf2108c7
React 18 (#863)
* gymnastics to make theme script work with react 18 hydration

* try next 12.1.3 canary to fix SSG head tags?

* revert theme script changes

* next 12.1.3-canary.3

* double-revert some of the use-theme.tsx changes

* separate theme restoration script & move to _document

* bump next

* bump next (again)

* clean up some theme stuff

* use hashed image URLs in webmanifest and feeds

* text experimental react config

* Update ThemeScript.tsx

* switch selfie image to `layout="raw"`

* use `layout="raw"` for all non-imported images

* revert raw images in some places, messes up responsiveness

* fix nitpicky "no divs inside buttons" html validation error

* fix react-player hydration errors

* fix hydration errors from server/client time zone differences

* clean up hydration fixes

* Update format-date.ts

* last-minute cleanup
2022-04-06 09:37:16 -04:00
3b11273c70
update fathom site ID 2022-03-31 17:17:02 -04:00
df37f1a8eb
bump next to 12.1.2 2022-03-29 20:57:34 -04:00
ff6e417889
add types for fonts imported by webpack 2022-03-27 11:23:42 -04:00
3a58931e79
bump stitches-normalize so we can exclude default system font stacks 2022-03-20 11:08:46 -04:00
f870c5c796
freeze build timestamp via an environment variable 2022-03-18 17:41:27 -04:00
4ea5b15db0
refactor component imports/exports 2022-03-16 11:22:56 -04:00
ddb9fdff8d
fix super nitpicky indented headings 2022-03-12 11:07:33 -05:00
87848cc697
just some refactoring 2022-03-09 14:07:06 -05:00
f5c8a7a21a animated dark mode toggle 🌓 2022-03-07 20:08:38 -05:00
34fccfefc3
use stitches-normalize 🧵
https://github.com/jakejarvis/stitches-normalize
2022-03-06 11:24:58 -05:00
760607fddd
clean up and add type checks to the modern-normalize.css -> JS translation 2022-03-04 10:52:04 -05:00
f8b6378faf
refactor the link underline logic to produce smaller output 2022-03-04 09:33:44 -05:00
ea4e7025ff
fix some leftover stitches to-do items 2022-03-03 13:18:12 -05:00
c2dde042b7
CSS modules ➡️ Stitches 🧵 (#799) 2022-03-03 09:18:26 -05:00
33c02d205e
use camelCase in themes config 2022-02-28 20:07:27 -05:00
f2fb718d0f
update constants 2022-02-26 12:06:41 -05:00
e6f1955efb
organize types a bit more sanely & bump deps 2022-02-24 07:06:34 -05:00
6256223517
bump next to 12.1.0 2022-02-17 19:38:12 -05:00
147128516e
re-add next-remote-watch as local dev server 2022-02-16 14:25:27 -05:00
cb28562869
extract sentry config/init 2022-02-12 11:24:31 -05:00
ae0fd5f56b
extract list of menu links to a config file 2022-02-11 15:13:32 -05:00
d258ebd988
group config files 2022-02-11 11:14:28 -05:00
acf39efeaa
re-use feed.(xml,atom) logic 2022-02-11 11:10:05 -05:00
3f08782cab
add typings to pages/api/hits.ts 2022-02-10 19:56:26 -05:00
885f97fa64
update component prop types to use JSX.IntrinsicElements 2022-02-09 09:37:20 -05:00
da42cb074c
automatically inline critical css via critters (#760) 2022-02-07 14:40:38 -05:00
ca7d21b3d2
update mdx/terser config 2022-02-05 13:02:33 -05:00
0127004e3a
only minify compiled MDX source in production 2022-02-03 10:54:24 -05:00
11f05c3b0a
move default next-seo config to clean up _app.tsx 2022-02-01 20:35:40 -05:00
7933c9ba02
nicer base URL logic 2022-01-31 13:36:48 -05:00
9f34cec930
custom <Link /> wrapper around next/link 2022-01-30 10:33:40 -05:00
5847fd82b6
dial up the minification of MDX output a bit more 2022-01-24 13:58:27 -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
5d402bc31b
remove some unused analytics config 2022-01-22 20:37:57 -05:00
f62c057f5d
do sub-heading anchor links manually instead of via rehype plugin 2022-01-22 17:21:29 -05:00
0462428a54
even more styled components 2022-01-20 08:26:30 -05:00