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
2d44b58242
directly (and still dynamically) assign a few of the mdx components
2022-01-05 15:07:54 -05:00
20d8b13bb1
separate theme restoration script and add meta[name="theme-color"]
tag to _document.tsx
2022-01-04 18:04:33 -05:00
206bbd278f
don't let search engines index branch/deploy previews
2022-01-03 21:17:33 -05:00
78d17c6337
lint all the things
2022-01-03 20:13:27 -05:00
4fe47de9ae
fix query parameters being included in canonical URLs
2022-01-03 14:43:36 -05:00
55d9207753
dynamic site.webmanifest
2022-01-03 11:42:03 -05:00
36e3cfa18e
test config changes before messing everything up too much
2022-01-03 09:59:42 -05:00
ca614e1a1a
consistent use of arrow functions/default exports
2022-01-02 15:16:07 -05:00
cd5a1b191a
tidy up public directory
2022-01-02 09:30:46 -05:00
5c1d1dbc58
clean up styles
2022-01-02 07:56:45 -05:00
c420967b4c
set <meta name="theme-color" ...>
dynamically
2022-01-01 12:11:15 -05:00
1bbee816c2
add scroll-margin-top
property to content sub-headings ( fixes #717 )
2021-12-31 10:27:59 -05:00
04145189e8
fix the fixes....
2021-12-31 09:59:19 -05:00
11d245ad66
some very minor refactoring/fixing
2021-12-31 08:48:56 -05:00
8bbc7e3cf2
custom fathom domain
2021-12-30 11:00:15 -05:00