1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-04 11:36:37 -04:00
Commit Graph

46 Commits

Author SHA1 Message Date
db6594faa7 add Mastodon link 2022-11-17 14:10:00 -05:00
d4b806dfcf refactor favicon imports 2022-11-13 19:11:30 -05:00
c64d6cfb52 consolidate environment variable parsing 2022-09-12 15:42:56 -04:00
a9f3bf2974 try memoizing front matter parsing 2022-07-18 17:39:55 -04:00
39ef018537 bump some deps 2022-07-13 16:00:44 -04:00
54d0b6eac0 bump next to stable 2022-07-08 13:24:38 -04:00
155c6cacd9 only reveal a db record via /api/hits if it matches a real page 2022-07-06 11:49:41 -04:00
c69a593d61 type check .js files 2022-07-05 20:17:01 -04:00
887c24d317 add getStaticProps types 2022-06-30 20:56:34 -04:00
d7eba0b39c switch db from fauna to prisma & planetscale (#971) 2022-06-23 17:26:13 -04:00
3ad57d4f34 fix "time ago" calculation 2022-06-14 13:16:59 -04:00
e735ea9a99 bump next 2022-06-14 07:55:13 -04:00
4e0ca9ff4d update cache-control headers 2022-06-13 20:07:12 -04:00
a63ea35463 clean up strict types a bit more 2022-06-13 12:01:35 -04:00
1776173cab finally fix slow typescript compilation!
see https://github.com/stitchesjs/stitches/issues/1038
2022-06-13 06:47:29 -04:00
cef74d4e97 fix dayjs defaults 2022-06-12 11:58:58 -04:00
bde473041a separate markdown compilation to hopefully reduce function bundle sizes 2022-06-11 11:58:23 -04:00
a1326e4ccb extract codepen embed as a component 2022-06-06 10:47:56 -04:00
33c210aacf less resource-intensive methods of parsing URLs 2022-06-01 18:40:57 -04:00
9410a6b2df add accessible skip-to-content link 2022-05-30 22:52:46 -04:00
90eff3f063 bump next 2022-05-30 11:34:13 -04:00
d288b2d5f5 remove format-number.ts 2022-05-19 10:23:43 -04:00
2f695be18f don't load fathom script unless on production 2022-05-16 09:40:36 -04:00
091a41e485 type errors 2022-05-14 18:24:09 -04:00
a97eb0532f use smartypants remark plugin for fancy quotes, etc. 2022-05-12 15:02:27 -04:00
64303400a4 lengthen cache-control headers 2022-05-02 10:29:01 -04:00
d718555001 clean up note types 2022-04-30 18:01:33 -04:00
3547d14576 allow additional rel info for new tab links 2022-04-29 12:54:35 -04:00
f354108b5b try speeding up note parsing 2022-04-29 11:14:57 -04:00
c4651cb315 clean up ThemeContext 2022-04-27 10:58:25 -04:00
a3870a15db fs -> fs/promises -> asyncify all note parsing 2022-04-26 17:22:44 -04:00
fbb2221d08 switch from date-fns (and date-fns-tz) to dayjs 2022-04-22 14:37:35 -04:00
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
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
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
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
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
87848cc697 just some refactoring 2022-03-09 14:07:06 -05:00
6256223517 bump next to 12.1.0 2022-02-17 19:38:12 -05:00