1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 01:38:27 -04:00

68 Commits

Author SHA1 Message Date
07155659c0
remove vercel analytics 2023-09-01 10:30:16 -04:00
b13c8259b3
attempt to make edge functions a tad bit lighter 2023-07-06 10:37:51 -04:00
afbdcc7b06
enable vercel analytics 2023-06-17 20:14:43 -04:00
670dc1b6e2
Revert "bump next & use legacy next/router"
This reverts commit ddb0843bace578cc99454d4367e18d8b69bf27a0.
2022-11-03 15:13:29 -04:00
ddb0843bac
bump next & use legacy next/router 2022-11-03 09:18:39 -04:00
295301aa9e
clean up stitches theme config 2022-07-07 16:19:28 -04:00
5f22b7989d
fix fathom pings 2022-06-30 09:31:11 -04:00
a63ea35463
clean up strict types a bit more 2022-06-13 12:01:35 -04:00
33c210aacf
less resource-intensive methods of parsing URLs 2022-06-01 18:40:57 -04:00
2f695be18f
don't load fathom script unless on production 2022-05-16 09:40:36 -04:00
d8d7d7d775
re-add custom getLayout option removed in d50ae0f85ac9b0ee5c754496606c9e50fbc4328b 2022-05-01 11:15:25 -04:00
3162f1ed23
undo moving head preload tags 2022-04-29 10:02:15 -04:00
383c88d5ef
random organization 2022-04-28 19:28:16 -04:00
54c662c1f2
reorganize style and font configs 2022-04-20 11:19:02 -04:00
d50ae0f85a
remove per-page getLayout option (maybe temporarily?) 2022-04-19 17:38:20 -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
4ea5b15db0
refactor component imports/exports 2022-03-16 11:22:56 -04:00
a917b5f81d fork next-themes into use-theme hook 2022-03-07 16:32:38 -05:00
2e1da44d42
move ThemeProvider script up in priority 2022-03-07 15:31:42 -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
e6f1955efb
organize types a bit more sanely & bump deps 2022-02-24 07:06:34 -05:00
91673a5fc3
fix very, very bad SEO bug 2022-02-17 20:10:14 -05:00
3bc3e1b5a1
export prop types from component files 2022-02-16 10:39:32 -05:00
76c2699b32
fix fathom logging pageviews as notes/[slug] 2022-02-13 11:20:46 -05:00
d258ebd988
group config files 2022-02-11 11:14:28 -05:00
748f1c4b4c
preload common fonts (in a horrifically hard-coded fashion) 2022-02-09 12:19:29 -05:00
da42cb074c
automatically inline critical css via critters (#760) 2022-02-07 14:40:38 -05:00
ee1b708b99
prevent fading into dark theme if we're immediately setting it on load 2022-02-06 12:25:48 -05:00
41705f3be4
add support for per-page layouts 2022-02-04 16:14:42 -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
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
224358fd68
add some rounded corners and theme transition fading 2022-01-21 12:05:01 -05:00
a406010bd2
next-mdx-remote v4 (#737) 2022-01-18 09:25:09 -05:00
415e8d6bc4
remove mastodon from json-ld 2022-01-17 10:38:13 -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
1f80bd5a0e
move hljs classes to code component styled JSX 2022-01-10 09:52:41 -05:00
23f05f2761
fix fathom custom domain prefetch 2022-01-07 18:44:26 -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
8936dba74e
update config 2022-01-07 10:14:26 -05:00
354d767fc5
move <Layout> to _app.tsx so it's not rerendered 2022-01-07 09:57:32 -05:00
17375ef876
static header and footer were being re-rendered on every route change 2022-01-06 19:58:07 -05:00
3394cac5de
use the excellent next-themes module 2022-01-06 10:08:24 -05:00