Commit Graph
100 Commits
Author SHA1 Message Date
jake 5ee595807d manually cherry-pick (most of) the rules/settings from eslint-config-preact 2021-12-18 20:08:07 -05:00
jake dd5deabb90 add assets/jsconfig.json to .prettierignore 2021-12-18 10:39:06 -05:00
jake 76cceb0001 minor hugo template refactoring before updating 2021-12-18 10:36:18 -05:00
jake 0bac7577a6 add default color-scheme: light inline style in case JS is disabled 2021-12-17 15:39:54 -05:00
jake 12164dabb9 favicon stuff 2021-12-17 15:34:49 -05:00
jake 6bfbc363d7 set the color-scheme CSS property to either light or dark onChange
https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
2021-12-16 19:53:13 -05:00
jake 7fbdf16573 fix component effects 2021-12-16 12:14:37 -05:00
jake 65d413ca8c wait did I actually fix the OS dark mode event listener...?! 2021-12-16 11:35:22 -05:00
jake fe1a10d437 restore live theme switching when system setting changes
TODO: removing the event listener is infuriatingly not cooperating
2021-12-16 09:25:47 -05:00
jake 2377fbfdf2 fix header layout shifting 2021-12-16 01:32:02 -05:00
jake e8c2dcab29 use date-fns for relative time 2021-12-15 20:28:56 -05:00
jake 11e2a00de5 fix mobile header spacing 2021-12-15 20:05:41 -05:00
jake 48e46a27b0 fix CSP 2021-12-15 14:04:43 -05:00
jake 766362a9da move light/dark class from <body> to <html> and inline restoration script to (hopefully) improve the white flashes 2021-12-15 13:49:56 -05:00
jake c2789e24d4 some component cleanup 2021-12-15 10:12:33 -05:00
jakeandGitHub d119a98a0d major refactoring of preact components 🧩 (#689) 2021-12-15 08:35:18 -05:00
jake cda7d538a6 clean up shortcodes 2021-12-13 20:46:28 -05:00
jake 964c4ef543 fix arrow function inconsistency 2021-12-13 07:07:09 -05:00
jake 0bc30f87d8 move to official hcaptcha react component 2021-12-12 06:47:38 -05:00
jake b82be240a7 fix weird character encoding (no clue how non-breaking spaces ended up everywhere) 2021-12-11 11:08:30 -05:00
jake 8fe68b009b more sensical twemoji-in-js w/ svgr 2021-12-11 08:47:13 -05:00
jake daffcb924b bump Hugo to 0.90.1 2021-12-10 13:12:05 -05:00
jake 43592b5997 Update _themes.scss 2021-12-07 10:14:28 -05:00
jake 57ad6c1fd2 update octicons on /contact 2021-12-07 08:40:36 -05:00
jake 6d64ea647e okay preact is actually pretty cool tbh. (now using it for copy to clipboard buttons) 2021-12-07 08:11:38 -05:00
jake b4cd9eea59 contact form cleanup 2021-12-05 18:28:33 -05:00
jake aebc982dc3 build shouldn't fail because process.env.HCAPTCHA_SITE_KEY is missing 2021-12-05 11:37:10 -05:00
jake a338a05ce8 preact-ify contact form 2021-12-05 11:26:56 -05:00
jake 9a247ddb8d improved touchscreen detection 2021-12-04 16:22:41 -05:00
jake cb6d1daef6 move imagemin stuff back to optionalDependencies 2021-12-04 09:25:55 -05:00
jake 6d0836bbe3 bump eslint 2021-12-04 09:06:29 -05:00
jake 89645e5448 add webpack-bundle-analyzer to the pipeline 2021-12-03 11:18:43 -05:00
jake fd1393b223 clean up self-hosted emoji code 2021-12-03 10:03:19 -05:00
jake cf9a8f742a clean up typography styles 2021-12-02 10:52:42 -05:00
jake ce1a24170a fix missing anchor link aria-label 2021-12-01 16:05:38 -05:00
jake f7632e0071 use much, much simpler logic for adding anchors to h[2-4] elements 2021-12-01 15:54:15 -05:00
jake 6f6de426da move dark mode code from module back to here for now 2021-12-01 14:43:22 -05:00
jake a3c2bbcab0 remove unnecessary dayjs plugins (prefer native Intl.DateTimeFormat) 2021-11-30 13:56:41 -05:00
jake 5f3b9b7a04 honor webpack --mode instead of NODE_ENV 2021-11-30 09:02:09 -05:00
jake 9165c59c61 Update clipboard.js 2021-11-26 22:02:57 -05:00
jake 298211eace move babel config from webpack config to separate file 2021-11-26 20:40:22 -05:00
jake 037fff0841 fix window !== undefined checks 2021-11-24 18:02:58 -05:00
jake 3d445c5c8d dayjs timezone detection & link to stars/forks on GitHub from /projects 2021-11-24 17:30:23 -05:00
jake 74519b9266 cross-fetch -> unfetch (browser only) 2021-11-24 14:27:00 -05:00
jakeandGitHub b755b66d19 use preact for common components across site (#663)
* convert GitHub cards grid from lit-html to preact

* give hit counter the preact treatment

* extract loading spinner component to a shared location

* move *some* loading spinner styles to its JSX

* Update .percy.yml

* pick up images in JS w/ webpack

* pull star/fork icons straight from @primer/octicons

* a bit of cleanup

* check `typeof window !== "undefined"` before rendering

* bump misc. deps

* silence missing license warnings for preact-hooks and preact-compat

* add source-map-loader

* Update loading.js
2021-11-24 13:51:29 -05:00
jake 9b3ae0f62a convert config.toml -> config.yml 2021-11-23 12:18:01 -05:00
jake be7b2a4bba bump some deps and fix some lints 2021-11-22 10:52:02 -05:00
jake d8a552cf5a use rss-parser for /api/hits 2021-11-19 10:26:33 -05:00
jake aba9b6d64a Update content/notes/y2k-sandbox/index.md 2021-11-19 10:00:26 -05:00
jake f0899ce9a8 extract third-party license comments from JS to a dedicated file 2021-11-18 10:32:19 -05:00
jake ed97527ee4 remove unnecessary charset at-rule from CSS 2021-11-16 06:59:56 -05:00
jake a03558016b revert variable font fallback 2021-11-14 12:39:56 -05:00
jake 4f5feb47a5 style updates 2021-11-14 11:25:03 -05:00
jake 52d2460275 stop manually enabling babel/terser options for super old browsers 2021-11-14 09:01:17 -05:00
jake fc6a6dd740 fix inline code blocks w/ links 2021-11-13 10:37:05 -05:00
jake 252b30da89 update codespaces config 2021-11-13 10:36:07 -05:00
jake de0250c4b5 update vscode/codespaces config 2021-11-12 11:22:10 -05:00
jake 178dd93ce5 a couple more typography fixes 2021-11-12 10:35:51 -05:00
jake 3444e54db6 multi-axis variable fonts are such a mess... 2021-11-12 10:10:27 -05:00
jake 0e609f0d7b fix Inter italics on Chrome, and only declare latin and latin-ext unicode ranges 2021-11-12 08:44:23 -05:00
jake 6ff413d8ec bump some deps 2021-11-11 22:09:00 -05:00
jake 7851c417bf twemoji -> imagemoji (but still with twemoji SVGs)
https://github.com/jakejarvis/imagemoji
2021-11-10 10:46:35 -05:00
jake 88eabd2c81 bump Hugo to 0.89.2 2021-11-09 09:35:09 -05:00
jake d7f90ae4b7 url-parse -> new URL() 2021-11-08 10:52:07 -05:00
jake b1d95a6283 update webmention.io tags 2021-11-08 08:29:21 -05:00
jake 4c56707026 improved CSP reporting middleware 2021-11-08 07:09:58 -05:00
jake 6ff4bc52e5 clean up serverless functions 2021-11-08 07:01:05 -05:00
jake 4da59e5e81 retry on Fauna "contended transaction" error, see https://sentry.io/share/issue/9c60a58211954ed7a8dfbe289bd107b5/ 2021-11-06 11:49:55 -04:00
jakeandGitHub 2f93d94bea Update post-deploy.yml 2021-11-06 11:23:18 -04:00
jake 18719a4990 remove overboard hover effect on header items 2021-11-05 13:01:52 -04:00
jake 8ce59f3448 bump Hugo to 0.89.1 2021-11-05 12:35:04 -04:00
jake ba1974cf7d update /uses 2021-11-03 11:32:44 -04:00
jake df85dfdb04 revert running percy checks on dependabot PRs (302a88d6ff) 2021-11-02 15:40:35 -04:00
jake 2337a0dcce bump Hugo to 0.89.0 (return to normal releases) 2021-11-02 09:11:02 -04:00
jake 991f3db820 shave off some JS bytes by using more modern clipboard logic 2021-11-02 09:00:50 -04:00
jake 2f56906cb8 innerText -> textContent & other modernized DOM methods 2021-11-02 08:50:17 -04:00
jake 2d509e22a8 Update _content.scss 2021-11-01 14:31:18 -04:00
jake 310da3ebea thought of a MUCH more logical way to pass in additional CSS transitions 2021-11-01 14:08:37 -04:00
jake 5911c0081e a bit more SCSS cleanup 2021-11-01 11:43:12 -04:00
jake 37add71ffb completely overhaul SCSS theming logic 2021-11-01 10:23:24 -04:00
jake c7fdda36af run prettier over every file 2021-10-31 16:51:19 -04:00
jake f4ebeeb1b8 remove redundant postcss plugins (and pray everything looks the same 🙏) 2021-10-31 12:55:55 -04:00
jake 257dff937c clean up some client JS 2021-10-31 12:48:50 -04:00
jake b894f96bbe bump fast-xml-parser 2021-10-31 07:48:56 -04:00
jake 4a4b38f728 update CSS reset 2021-10-30 12:53:06 -04:00
jake 25c0f2d59d date-fns -> dayjs (much smaller), numeral -> toLocaleString 2021-10-30 12:09:53 -04:00
jake 302a88d6ff re-enable percy checks on PRs 2021-10-30 09:23:13 -04:00
jake 82f8fb8be8 Update vercel.json 2021-10-27 10:05:43 -04:00
jake 50aa1b566b fix link in dark mode post 2021-10-27 09:18:46 -04:00
jake 6351d848c6 node 16 is now LTS 2021-10-27 09:10:08 -04:00
jake 5b78d8b4b7 simplify webfonts by pulling them straight from NPM 2021-10-26 12:57:26 -04:00
jake f17f1fc329 add Codespaces config 2021-10-25 12:08:11 -04:00
jake 0cc32e3a58 fix copy button styles 2021-10-22 10:52:20 -04:00
jake df3740ecf3 bump some deps & comply with stylelint 14.0.0 2021-10-22 10:37:02 -04:00
jake d9b9213399 test hugo-extended patches (https://github.com/jakejarvis/hugo-extended/pull/82) 2021-10-20 11:29:12 -04:00
jake 725a3ae6e5 revert to warm and fuzzy yarn v1 2021-10-19 19:45:01 -04:00
jake e51961c69a fix npm-run-all 2021-10-19 09:55:59 -04:00
jake 7fb02275ad giving yarn v3 a go... 2021-10-19 09:48:03 -04:00
jake 031825fbdc update homepage 2021-10-16 08:19:16 -04:00
jake f17623ea1e update dark mode post with NPM module details 2021-10-15 14:42:40 -04:00