Commit Graph
100 Commits
Author SHA1 Message Date
jake 705e800881 tidy up homepage font size/spacing 2020-05-07 09:41:14 -04:00
jake 323b3dd9f6 add Prettier to workflow 🎀 (#128)
* prettier init

* prettier ignore

* run on everything 😬

* add prettier check script

* update deps

* Update .prettierignore
2020-05-06 12:19:21 -04:00
jake 739f161183 massive cleanup of netlify config -- redirects, headers, etc 2020-05-05 13:03:18 -04:00
jake 9e1a053d39 clean up scripts 2020-05-04 21:25:07 -04:00
jake 759bae4f14 bump postcss resolution
[skip ci]
2020-05-04 20:52:46 -04:00
jake 616751134a revert google voice number 2020-05-02 00:01:14 -04:00
jake 29320aa86f bring AMP pages up to par with real layout 2020-05-01 23:54:02 -04:00
jake 5e51b3a7ac Update .percy.yml
[skip ci]
2020-05-01 13:29:51 -04:00
jake 72462f5397 transparent images where possible for dark mode 2020-05-01 11:08:51 -04:00
jake c8265db6cc fix CI skip condition for bot PRs
[skip ci]
2020-04-30 10:57:35 -04:00
jake dead391723 send event to analytics on theme toggle 2020-04-30 09:42:00 -04:00
jake 35bfbb517c iframe shortcode for valid AMP 2020-04-30 07:53:08 -04:00
jake 6854129108 update dark mode script and post 2020-04-29 23:20:07 -04:00
jake 0e988fc0a6 Publish "How To: Add Dark Mode to a Website" 2020-04-29 15:41:14 -04:00
jake 12ff2c7871 running out of percy snapshots... 2020-04-29 11:57:53 -04:00
jake f7dbe5ccc7 update /stats and /privacy 2020-04-29 11:15:48 -04:00
jake 4515bfbfd5 Update ci.yml
[skip ci]
2020-04-29 11:15:01 -04:00
jake d9e69fcf75 improve dark-mode.js minificationability (it's a word i promise) 2020-04-28 22:33:46 -04:00
jake 8df8ef9aff publish /stats 2020-04-28 20:42:40 -04:00
jake b3f8a90a46 const/let -> var in dark-mode.js for compatibility 2020-04-28 20:41:14 -04:00
jake 17501e8c34 add simple license and privacy policy pages
silly but certain things require these. also added some sitemap priorities to other miscellaneous pages.
2020-04-28 18:53:15 -04:00
jake e478c76e2d bump twemoji to v12.1.6
https://github.com/twitter/twemoji/releases/tag/v12.1.6
2020-04-28 15:51:13 -04:00
jake 2827bb931e update README.md and /uses 2020-04-28 12:16:20 -04:00
jake c7e64cd36e clean stuff up & update deps 2020-04-28 10:22:02 -04:00
jake a42e27e6e8 remove utteranc.es for now 2020-04-28 09:48:51 -04:00
jake 9a87b9fa8d fix analytics 2020-04-28 08:45:56 -04:00
jake b0893ff52f bundle simple analytics script locally & minify everything with terser 2020-04-27 20:49:20 -04:00
jake cb32af40dc update /previously 2020-04-27 15:48:31 -04:00
jake 32c4e1140d update /previously, add Comic Neue webfont 2020-04-27 10:43:52 -04:00
jake c52a357e29 revert Access-Control-Allow-Origin: * header 2020-04-26 23:43:10 -04:00
jake 374a822ad4 wrap dark mode stuff in an anonymous function like a big boy coder 2020-04-26 19:00:46 -04:00
jake 0c4e4d9afb proper SRI hash encoding 2020-04-26 16:50:39 -04:00
jake c3f46dd9db *actually* fix utteranc.es dark/light theme-ing 2020-04-26 15:07:35 -04:00
jake 6360e58f60 dark mode octocat icon on COVID post (and fix AMP errors)
https://search.google.com/search-console/amp/drilldown?resource_id=https%3A%2F%2Fjarv.is%2F&item_key=GhUIIhADIgNpbWciB2FtcC1pbWcolk4&hl=en&sharing_key=jrQsA5DhNhUqwYxUooGbfw
2020-04-26 12:16:25 -04:00
jake 847c5b2b48 cringey Access-Control-Allow-Origin: * header to fix utteranc.es CORS stuff 2020-04-26 11:24:42 -04:00
jake c986676379 dynamically switch between utteranc.es's light/dark themes (#118) 2020-04-26 10:49:45 -04:00
jake 3200509ffd IE11 compat fixes 🙄 (closes #94) 2020-04-26 09:48:12 -04:00
jake 736cc775e3 straighten up header elements 2020-04-26 09:46:34 -04:00
jake b8166296ef fix /site.webmanifest 2020-04-25 21:44:17 -04:00
jake adfa73b5fc fingerprint CSS and JS, set one week browser cache
...and LOTS of tidying partials
2020-04-25 11:15:31 -04:00
jake d2648a68be fix some dark mode logic glitches & random clean up 2020-04-24 18:03:33 -04:00
jake 97c6d556d9 valid netlify header syntax 2020-04-24 17:25:04 -04:00
jake 5477e34235 some tweaking of post-build image optimization 2020-04-24 12:58:18 -04:00
jake d2a9736c9e uniform width on all pages 2020-04-24 10:12:13 -04:00
jake 70611f4d1c publish /previously 2020-04-23 20:45:55 -04:00
jake d38ff15c2f get logo from an actual .svg file and inline it 2020-04-23 17:13:41 -04:00
jake 2548b320fc make images linkable via shortcode param 2020-04-23 12:43:43 -04:00
jake 60fd36001d add JAMstack to homepage 2020-04-23 08:16:31 -04:00
jake 83e26e5007 move keybase.txt into /.well-known 2020-04-22 10:45:02 -04:00
jake 8ba0a887bc treat ALL images as assets (as they should have been all along...) 2020-04-21 14:34:55 -04:00
jake 9a40dadfb2 change google voice number 2020-04-21 11:52:09 -04:00
jake 7de9d10792 update deps 2020-04-21 11:51:39 -04:00
jake 4d22a28435 remove cache-control headers for CSS and JS 2020-04-20 15:20:55 -04:00
jake b13da8e05b dark mode 😎 (#112)
* prepare dark mode stuffs

* themed all global colors

* store preference in local storage

* toggle styling

* lightbulb position

* minify bundled script with uglify-js instead of hugo

* detect whether user has an OS-wide dark mode preference and use that by default

* two different colors for each homepage link

* inline bulb SVGs into stylesheet

* fingerprint and cache styles for a year

* fix lightbulb positioning with weird magic numbers, will come back to that

* themed syntax highlighting

* use terser instead of uglify-js (b/c of ES6)
2020-04-20 15:04:30 -04:00
jake b53574f3ef add terser to package.json [skip ci] 2020-04-20 14:59:49 -04:00
jake 313e69afc5 bring Shodan post up to date with GitHub awesome list 2020-04-18 11:37:45 -04:00
jake 34ffad91de update deps [skip ci] 2020-04-18 11:37:25 -04:00
jake 2f613caefa clean up some archetypes and etc pages
[skip ci]
2020-04-17 11:44:07 -04:00
jake 8537042ff1 stop hardcoding images/ directory in content frontmatter 2020-04-16 09:34:58 -04:00
jake 9005c00112 don't determine last modified time from file and/or Git data 2020-04-16 09:21:19 -04:00
jake 2f57852f12 update 'how-to-pull-request-fork-github' 2020-04-15 21:23:11 -04:00
jake 7b5f3a3be8 commit .nvmrc
[skip ci]
2020-04-15 13:57:06 -04:00
jake abbc3f9678 make the main content/blog section configurable instead of hardcoded to notes 2020-04-13 17:25:29 -04:00
jake c1700cdda0 execute twemoji script as a template (mainly to get baseURL) 2020-04-13 15:35:45 -04:00
jake d6b1fdf872 create separate bundled archetype for new notes
[skip ci]
2020-04-13 10:42:54 -04:00
jake 61741df3f7 don't preconnect to utteranc.es endpoints if comments disabled 2020-04-13 10:42:32 -04:00
jake 124d55a99e extract inline page styles into a separate CSS file, and scope to content via SCSS
styles on AMP pages still won't be scoped to div#content like vanilla pages, though
2020-04-12 12:02:58 -04:00
jake 2fa95de9b1 stop requesting myself for self-approvals on PRs [skip ci] 2020-04-11 12:15:29 -04:00
jake 18a9c37c42 update Inter font to v3.13 2020-04-09 19:48:47 -04:00
jake 20c32eaeb3 *much* smarter way of setting page-specific CSS
via front matter instead of flaky shortcode/page scratch
2020-04-09 13:59:49 -04:00
jake dc3f1cb07c revert adding async to some embed scripts
document.write() isn't allowed on asynchronously loaded scripts
2020-04-07 18:48:53 -04:00
jake f6e9f9ee3a custom twemoji script to bake in my own defaults and remove inline JS 2020-04-07 09:58:27 -04:00
jake bfc11b4600 atom feed shortcode fixes 2020-04-07 09:58:11 -04:00
jake 51101e7865 output Atom feed 2020-04-06 19:31:56 -04:00
jake 93f507c047 update dependencies & set postcss via postcss-clean to v7.x as a resolution
[skip ci]
2020-04-06 18:42:55 -04:00
jake 3224d9b072 better implementation of hugo mods for twemojis 📦 2020-04-06 08:44:43 -04:00
jake 4f71dd509b remove old dependencies [skip ci] 2020-04-05 17:07:19 -04:00
jake b69461c306 clean up a few headers, redirects, scripts 2020-04-05 15:50:41 -04:00
jake 22c7e76e51 improve some inline post styles 2020-04-05 13:07:51 -04:00
jake a9b79ea0c3 oops, fix yarn scripts to point to vendor folder 2020-04-04 12:39:03 -04:00
jake 48498c772f reorganize external static assets into vendor folder (#99)
with legacy redirects via Netlify for now
2020-04-04 12:03:04 -04:00
jake 55a696c261 constrain header width and reduce padding across the site 2020-04-04 10:18:20 -04:00
jake 1c2337afb8 purge old action artifacts nightly
[skip ci]
2020-04-04 10:07:17 -04:00
jake 236ee5b0af small fix to spacing on responsive list pages
and make CI & Netlify use a newest version of Go (required for modules)
2020-04-03 17:09:46 -04:00
jake 9807e528ff simplify footer on mobile 2020-04-03 08:44:42 -04:00
jake dd05444d21 css animation experiments because I'm bored. #quarantine 2020-04-02 21:36:37 -04:00
jake fbf7465ff1 GitHub was down....but pages with gists should probably still load 2020-04-02 21:19:43 -04:00
jake 84b077e12b bring AMP styles up to speed 2020-04-02 10:04:17 -04:00
jake 72c8b3a99a absolute URLs in CSS via hugo variable 2020-04-01 17:59:40 -04:00
jake e35b7282fe fix some percy quirks with .percy.yml config 2020-04-01 17:05:26 -04:00
jake 05d412b661 extra attribution for Twemoji, Inter, and Hack. they're worth it.
[skip ci]
2020-04-01 15:11:06 -04:00
jake 0ee3efdbbe fix lighthouse suggestions: syntax color contrast & crossorigin preloads 2020-03-30 16:46:59 -04:00
jake fa018564e5 prevent Hugo's auto-escaping of base URL in twemoji JS 2020-03-30 13:01:47 -04:00
jake 5a380a8a72 limit percy.io usage [skip ci] 2020-03-30 13:01:36 -04:00
jake b5e5af148e some magic numbers to improve twemoji sizing/alignment 2020-03-30 00:53:54 -04:00
jake 933a1fe0cd fix lighthouse CI tests 2020-03-30 00:52:18 -04:00
jake 5cb8abc0e2 remove unused twemoji PNGs from build 2020-03-29 17:18:12 -04:00
jake 2156c6ed88 swap native emojis for Twemojis 🎉 (#92) 2020-03-29 15:30:12 -04:00
jake 3dd0f9578e update readme [skip ci] 2020-03-29 09:37:17 -04:00
jake 5dff27dcb5 percy visual tests via CI 2020-03-29 09:37:06 -04:00