Commit Graph
100 Commits
Author SHA1 Message Date
jake 5cb0ec1d99 bump some deps 2022-04-07 12:11:43 -04:00
jake 25aed87b21 separate ThemeContext and useTheme code 2022-04-06 17:40:16 -04:00
jakeandGitHub 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
jake 0a741b4282 fix comments top border 2022-04-04 11:04:37 -04:00
jake 7142b5ece5 bump giscus component 2022-04-04 10:51:03 -04:00
jake 3b11273c70 update fathom site ID 2022-03-31 17:17:02 -04:00
jake df37f1a8eb bump next to 12.1.2 2022-03-29 20:57:34 -04:00
jake ff6e417889 add types for fonts imported by webpack 2022-03-27 11:23:42 -04:00
jake 8b3d6f712b bump a ton of deps 2022-03-26 17:14:08 -04:00
jake f4c0f8e1f0 bump next (and minimist CVE-2021-44906) 2022-03-22 12:58:23 -04:00
jake 05608261ca images are finally linkable again 2022-03-21 16:17:35 -04:00
jake 6b6bc5497e merge prettier and eslint configs 2022-03-21 12:09:09 -04:00
jake 17776213e9 add markdown icon to contact form tip 2022-03-21 12:04:07 -04:00
jake 3a58931e79 bump stitches-normalize so we can exclude default system font stacks 2022-03-20 11:08:46 -04:00
jake 4772768aa2 remove twemoji icon dependency 2022-03-19 14:42:46 -04:00
jake f870c5c796 freeze build timestamp via an environment variable 2022-03-18 17:41:27 -04:00
jake 5912cd1356 bump next 2022-03-18 09:38:04 -04:00
jake 7c88132071 add Ukraine banner 🇺🇦 2022-03-17 14:14:08 -04:00
jake 4ea5b15db0 refactor component imports/exports 2022-03-16 11:22:56 -04:00
jake 3991b73710 bump stitches-normalize 2022-03-15 13:16:35 -04:00
jake be3517e6a2 update readme and humans.txt 2022-03-14 13:12:22 -04:00
jake ddb9fdff8d fix super nitpicky indented headings 2022-03-12 11:07:33 -05:00
jake 50071eef58 fix max-width: undefined 2022-03-11 18:07:27 -05:00
jake 87848cc697 just some refactoring 2022-03-09 14:07:06 -05:00
jake f5c8a7a21a animated dark mode toggle 🌓 2022-03-07 20:08:38 -05:00
jake 19394c1fb7 fix missing title attribute on icon-only menu links 2022-03-07 19:51:51 -05:00
jake a917b5f81d fork next-themes into use-theme hook 2022-03-07 16:32:38 -05:00
jake 2e1da44d42 move ThemeProvider script up in priority 2022-03-07 15:31:42 -05:00
jake d6a228cb4b stop confusing github's license detector 2022-03-07 15:03:08 -05:00
jake ff9bb81d30 now safe to bump typescript to 4.6 2022-03-07 15:01:30 -05:00
jake 34fccfefc3 use stitches-normalize 🧵
https://github.com/jakejarvis/stitches-normalize
2022-03-06 11:24:58 -05:00
jake 9ac0b828d1 remove unnecessary flexboxes 2022-03-04 15:24:21 -05:00
jake 760607fddd clean up and add type checks to the modern-normalize.css -> JS translation 2022-03-04 10:52:04 -05:00
jake f8b6378faf refactor the link underline logic to produce smaller output 2022-03-04 09:33:44 -05:00
jake ea4e7025ff fix some leftover stitches to-do items 2022-03-03 13:18:12 -05:00
jake dc7622a7af switch some style props to css 2022-03-03 11:46:18 -05:00
jake 4e32048cca fix VNC terminal 2022-03-03 09:42:45 -05:00
jakeandGitHub c2dde042b7 CSS modules ➡️ Stitches 🧵 (#799) 2022-03-03 09:18:26 -05:00
jake ac7ac71c10 bump deps 2022-03-02 09:23:33 -05:00
jake 33c02d205e use camelCase in themes config 2022-02-28 20:07:27 -05:00
jake 324a15aa6a bump some deps, remove eslint-plugin-import 2022-02-28 18:52:04 -05:00
jake f2fb718d0f update constants 2022-02-26 12:06:41 -05:00
jake f6627580eb fix page/note title color 2022-02-26 11:39:16 -05:00
jake c313b34f95 fix graphql type mismatch 2022-02-25 16:48:28 -05:00
jake 6ee40f99db bump some deps 2022-02-25 10:33:20 -05:00
jake e6f1955efb organize types a bit more sanely & bump deps 2022-02-24 07:06:34 -05:00
jake d24d29a04e try removing transition blocking stuff 2022-02-19 09:19:46 -05:00
jake 7bffc22050 bump next-mdx-remote to v4 2022-02-18 13:58:22 -05:00
jake 17a271eb87 tell unblock-transitions script to remove itself when finished 2022-02-18 12:31:57 -05:00
jake 5f977db7f2 update custom _document.tsx from class to new default function
https://nextjs.org/docs/advanced-features/custom-document
2022-02-18 12:00:49 -05:00
jake 91673a5fc3 fix very, very bad SEO bug 2022-02-17 20:10:14 -05:00
jake 6256223517 bump next to 12.1.0 2022-02-17 19:38:12 -05:00
jake 147128516e re-add next-remote-watch as local dev server 2022-02-16 14:25:27 -05:00
jake 416eb4b4cf only count post hits on production site 2022-02-16 12:19:00 -05:00
jake 3edaa6b0e4 clean up <Video /> props 2022-02-16 11:10:09 -05:00
jake 3bc3e1b5a1 export prop types from component files 2022-02-16 10:39:32 -05:00
jake 17104d765b make sticky header optional via prop 2022-02-16 10:30:18 -05:00
jake b6c018875f bump next-mdx-remote 2022-02-15 21:19:47 -05:00
jake 67d98124f6 enable AVIF images 2022-02-15 12:59:54 -05:00
jake a47d49c0d5 remove no-fade stylesheet from DOM after use 2022-02-13 11:41:26 -05:00
jake 76c2699b32 fix fathom logging pageviews as notes/[slug] 2022-02-13 11:20:46 -05:00
jake 4580e42fdc Update ContactForm.module.css 2022-02-13 11:01:24 -05:00
jake 090a485c8a use latest novnc from source 2022-02-13 10:26:07 -05:00
jake c3ab3559af Update pages/projects.tsx 2022-02-13 09:23:24 -05:00
jake cb28562869 extract sentry config/init 2022-02-12 11:24:31 -05:00
jake e4cd233530 default font-display behavior 2022-02-11 20:13:51 -05:00
jake ae0fd5f56b extract list of menu links to a config file 2022-02-11 15:13:32 -05:00
jake d258ebd988 group config files 2022-02-11 11:14:28 -05:00
jake acf39efeaa re-use feed.(xml,atom) logic 2022-02-11 11:10:05 -05:00
jake bb807e0e90 use next-sitemap server-side instead of manually generating the xml 2022-02-11 10:36:27 -05:00
jake 93356e9472 add react-textarea-autosize to contact form 2022-02-11 09:25:25 -05:00
jake 6d5c34335b extract hcaptcha into reusable component w/ defaults 2022-02-10 21:19:13 -05:00
jake 3f08782cab add typings to pages/api/hits.ts 2022-02-10 19:56:26 -05:00
jake 748f1c4b4c preload common fonts (in a horrifically hard-coded fashion) 2022-02-09 12:19:29 -05:00
jake cf98cf632c revert next to 12.0.11-canary.9
[GET] /feed.xml
11:18:39:76
2022-02-09T16:18:40.348Z	undefined	ERROR	Uncaught Exception 	{"errorType":"Runtime.ImportModuleError","errorMessage":"Error: Cannot find module './image-optimizer'\nRequire stack:\n- /var/task/node_modules/next/dist/server/next-server.js\n- /var/task/___next_launcher.js\n- /var/runtime/UserFunction.js\n- /var/runtime/index.js","stack":["Runtime.ImportModuleError: Error: Cannot find module './image-optimizer'","Require stack:","- /var/task/node_modules/next/dist/server/next-server.js","- /var/task/___next_launcher.js","- /var/runtime/UserFunction.js","- /var/runtime/index.js","    at _loadUserApp (/var/runtime/UserFunction.js:202:13)","    at Object.module.exports.load (/var/runtime/UserFunction.js:242:17)","    at Object.<anonymous> (/var/runtime/index.js:43:30)","    at Module._compile (internal/modules/cjs/loader.js:1085:14)","    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)","    at Module.load (internal/modules/cjs/loader.js:950:32)","    at Function.Module._load (internal/modules/cjs/loader.js:790:12)","    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)","    at internal/main/run_main_module.js:17:47"]}
Unknown application error occurred
Runtime.ImportModuleError
2022-02-09 11:19:58 -05:00
jake 8385e011c5 remove unnecessary PropsWithChildren 2022-02-09 11:05:48 -05:00
jake 3801989a5b refactor <CodeBlock /> to make it useful outside of mdx 2022-02-09 10:41:23 -05:00
jake 885f97fa64 update component prop types to use JSX.IntrinsicElements 2022-02-09 09:37:20 -05:00
jake f205a14bdc fix invalid font-feature-settings 2022-02-07 15:26:03 -05:00
jakeandGitHub da42cb074c automatically inline critical css via critters (#760) 2022-02-07 14:40:38 -05:00
jake bcb408702a bump some deps 2022-02-07 14:36:09 -05:00
jake 18b2fc7d83 fix NextConfig types in next.config.js 2022-02-06 20:44:54 -05:00
jake ee1b708b99 prevent fading into dark theme if we're immediately setting it on load 2022-02-06 12:25:48 -05:00
jake 4e7f235ed5 fix page titles 2022-02-05 15:52:57 -05:00
jake 42a7ff1bdc fix unnoticeable background color bug in dark mode 2022-02-05 14:50:29 -05:00
jake ca7d21b3d2 update mdx/terser config 2022-02-05 13:02:33 -05:00
jake 41705f3be4 add support for per-page layouts 2022-02-04 16:14:42 -05:00
jake 0127004e3a only minify compiled MDX source in production 2022-02-03 10:54:24 -05:00
jake 3dcf6cf45f bump some deps 2022-02-03 10:19:13 -05:00
jake 11f05c3b0a move default next-seo config to clean up _app.tsx 2022-02-01 20:35:40 -05:00
jake c4e212f6de make link underlines and rounded corners proportional to font size 2022-02-01 14:19:23 -05:00
jake 83f06d2abd bump next to v12.0.10 2022-02-01 13:49:08 -05:00
jake 2e65d0ef4a extract fake DOS terminal into a separate component 2022-01-31 15:47:54 -05:00
jake 7933c9ba02 nicer base URL logic 2022-01-31 13:36:48 -05:00
jake 7a3ea4924c clean up type definitions 2022-01-30 22:04:25 -05:00
jake f0259dbab5 stop being lazy with css selectors 2022-01-30 11:38:37 -05:00
jake 9f34cec930 custom <Link /> wrapper around next/link 2022-01-30 10:33:40 -05:00
jake 2a29d713bb remove global .icon style 2022-01-30 09:00:59 -05:00
jake 6fbe9ae66b fancy dev console log on /y2k for fun 2022-01-29 15:56:34 -05:00
jake 29d5a32ddb update y2k socket endpoint 2022-01-29 12:52:19 -05:00