Commit Graph
100 Commits
Author SHA1 Message Date
jake 34819c3e47 Update next.config.js 2022-01-16 18:50:28 -05:00
jake ad0431d3b9 component reorganization 2022-01-16 18:31:51 -05:00
jake a139447b39 remove markdown from plaintext post titles 2022-01-16 18:16:02 -05:00
jake b2f51ff10a bump some deps 2022-01-16 08:38:42 -05:00
jake 867ad4c977 remove all styled-jsx from components 2022-01-15 16:30:18 -05:00
jake 872846dbeb giscus comments! 2022-01-15 11:28:31 -05:00
jake 6d7ffee7ea switch back to lighter markdown-to-jsx on server-side 2022-01-15 08:51:10 -05:00
jake d979ef733a don't load utterances until user's near the bottom of post 2022-01-15 08:25:32 -05:00
jake ddb178cab0 prioritize above-the-fold images 2022-01-15 07:50:11 -05:00
jake 5f3cf02669 fix layout shift when number of hits loads 2022-01-14 17:24:34 -05:00
jake 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
jake 399091122c finally tested on windows/edge -- fix resulting weirdness
- magic wand cursor
- unnecessary horizontal scroll bar on short code blocks
2022-01-14 11:00:31 -05:00
jake 32a5eb9c61 add eslint-plugin-mdx 2022-01-14 10:25:58 -05:00
jake 64a91d67bf new <Figure> component for image captions 2022-01-13 13:39:22 -05:00
jake 1a0541776e extract syntax highlighting styles into a CSS module 2022-01-13 09:04:02 -05:00
jake b51e8a38ce passing a custom link component to mdx was unnecessary 2022-01-12 14:20:45 -05:00
jake e6ead77f5f update <PageTitle /> component 2022-01-12 12:56:24 -05:00
jake 3dfe85d5f6 loading spinner component's styles were excessively redundant 2022-01-12 11:57:07 -05:00
jake 12d0959629 styled-jsx sheets weren't being rendered server-side 🤦 2022-01-12 11:31:03 -05:00
jake c9f00d567a update markdown-in-titles parsing 2022-01-12 10:43:21 -05:00
jake e9dfe51863 add memo: true to svgr config 2022-01-12 09:44:31 -05:00
jake 732a870a07 completely redo the header flexbox fiasco 2022-01-12 09:15:08 -05:00
jake c9c3c8b252 bump to next v12.0.8 2022-01-12 08:28:23 -05:00
jake 53158f6d3c pull SVG icons directly from their NPM packages 2022-01-11 19:19:47 -05:00
jake afcc5972bb swap copy to clipboard octicons 2022-01-10 21:14:11 -05:00
jakeandGitHub 78967815e1 highlight.js -> prism (#730) 2022-01-10 19:10:19 -05:00
jake 3864d18ba3 clean up global styles 2022-01-10 16:15:25 -05:00
jake 0ef7ff5f92 start extracting types to shared .d.ts file 2022-01-10 14:18:33 -05:00
jake b552b6ae64 add typescript eslint parser/rules 2022-01-10 13:46:49 -05:00
jake 4a461b78dd restore webmentions action 2022-01-10 13:36:44 -05:00
jake d7c564e20d Update README 2022-01-10 13:35:54 -05:00
jake 1f80bd5a0e move hljs classes to code component styled JSX 2022-01-10 09:52:41 -05:00
jake 972a25abc6 parse markdown in titles at build time 2022-01-10 08:37:30 -05:00
jake 58321a3844 priority flag on above-the-fold images 2022-01-09 23:35:16 -05:00
jake f56006d627 assume images should be centered for now 2022-01-09 23:14:35 -05:00
jake 6436a34c59 pass mdx images through next/image for full optimization benefits 2022-01-09 22:53:10 -05:00
jake 32d1683e51 revert colord to smaller hex-rgb 2022-01-09 19:49:54 -05:00
jake 379696166b move utteranc.es preload tag 2022-01-09 16:34:59 -05:00
jake 58ac05a84f allow disabling comments via front matter 2022-01-09 16:22:45 -05:00
jakeandGitHub 65416fcc1f next-mdx-remote -> mdx-bundler (#729) 2022-01-09 13:45:38 -05:00
jake b7313985db don't set theme-color until we know for sure what the resolvedTheme is 2022-01-08 11:32:43 -05:00
jake ce39750b0b open graph tag-tags 2022-01-08 11:03:19 -05:00
jake 0954c78104 update meta theme-color config 2022-01-08 09:15:27 -05:00
jake dc7b2a88bb enable utteranc.es origin check 2022-01-08 09:07:09 -05:00
jake c35e33da8d add utteranc.es comments to notes 2022-01-08 07:58:32 -05:00
jake 809a29b1cb custom 404 2022-01-08 04:48:18 -05:00
jake 23f05f2761 fix fathom custom domain prefetch 2022-01-07 18:44:26 -05:00
jake a1fd5cd940 re-add <meta name="theme-color" ...> tag 2022-01-07 17:19:12 -05:00
jakeandGitHub 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
jake b13923b3b7 fix double-quote encoding in article JSON-LD
related: https://github.com/garmeeh/next-seo/issues/711

https://search.google.com/search-console/r/unknown-type/drilldown?resource_id=https%3A%2F%2Fjarv.is%2F&item_key=CgIIGBADGA4&hl=en&sharing_key=szw2VOK7QYoeChN1-JxOqg
2022-01-07 10:36:26 -05:00
jake 8936dba74e update config 2022-01-07 10:14:26 -05:00
jake 354d767fc5 move <Layout> to _app.tsx so it's not rerendered 2022-01-07 09:57:32 -05:00
jake 34d2304e7c properly set hrefs for dynamic paths on notes list 2022-01-07 08:56:37 -05:00
jake 3528707e52 toggle is still flashing, try reverting to importing dynamically...? 2022-01-06 20:11:15 -05:00
jake 17375ef876 static header and footer were being re-rendered on every route change 2022-01-06 19:58:07 -05:00
jakeandGitHub 66a244a9c1 formik-powered contact page (#725) 2022-01-06 13:13:41 -05:00
jake 3394cac5de use the excellent next-themes module 2022-01-06 10:08:24 -05:00
jake 6b756a54c1 fix unused components still loading on posts 2022-01-06 09:10:25 -05:00
jake b29a2b8756 switch back to lazy react-player 2022-01-05 15:16:12 -05:00
jake 2d44b58242 directly (and still dynamically) assign a few of the mdx components 2022-01-05 15:07:54 -05:00
jake fb491d7337 use next-compose-plugins for simpler config 2022-01-05 08:50:49 -05:00
jake b1687df25b some repo clean-up 2022-01-04 22:19:28 -05:00
jake 32262b0041 add hover styles to footer 2022-01-04 19:42:44 -05:00
jake c890a8aae0 use react-innertext 2022-01-04 18:44:49 -05:00
jake 20d8b13bb1 separate theme restoration script and add meta[name="theme-color"] tag to _document.tsx 2022-01-04 18:04:33 -05:00
jake 72899ced57 also dynamically load components passed to mdx 2022-01-04 15:00:22 -05:00
jake b1bcdeb84b allow markdown in mdx page titles (carefully)
mainly for `code` but also bold and italic text
2022-01-04 13:49:07 -05:00
jake 6cde2944fc dynamically load react-player 2022-01-04 13:43:51 -05:00
jake 70778db89d ThemeToggle.module.scss -> inline style
removes an unnecessary call to a very small CSS file since the toggle is loaded dynamically
2022-01-04 10:18:12 -05:00
jake 206bbd278f don't let search engines index branch/deploy previews 2022-01-03 21:17:33 -05:00
jakeandGitHub a5a602d385 publish sitemap.xml with getServerSideProps instead of next-sitemap (#720)
very VERY hacky right now but I still prefer this
2022-01-03 20:53:17 -05:00
jake 78d17c6337 lint all the things 2022-01-03 20:13:27 -05:00
jake 3864a57d1a consolidate mdx file parsing 2022-01-03 17:53:47 -05:00
jake d2b71887b4 generate permalinks when parsing note 2022-01-03 16:26:20 -05:00
jake 6d81939b8b get overall stats for /api/hits/ without circular parsing of the RSS feed 2022-01-03 15:29:35 -05:00
jake 4fe47de9ae fix query parameters being included in canonical URLs 2022-01-03 14:43:36 -05:00
jake ebbb98bf09 don't generate robots.txt from next-sitemap 2022-01-03 12:22:51 -05:00
jake 13605d2ab5 alt attributes aren't valid on inline SVGs 2022-01-03 12:12:23 -05:00
jake aa40d3384c update function cache headers 2022-01-03 11:52:32 -05:00
jake 55d9207753 dynamic site.webmanifest 2022-01-03 11:42:03 -05:00
jake 36e3cfa18e test config changes before messing everything up too much 2022-01-03 09:59:42 -05:00
jake 49fb053649 simplify note parsing logic 2022-01-02 23:05:51 -05:00
jake ca614e1a1a consistent use of arrow functions/default exports 2022-01-02 15:16:07 -05:00
jake cd5a1b191a tidy up public directory 2022-01-02 09:30:46 -05:00
jake 5c1d1dbc58 clean up styles 2022-01-02 07:56:45 -05:00
jake ddb48ef2ab octicons weren't being tree-shaken -- import SVGs manually for now 2022-01-01 18:14:04 -05:00
jake c47f5f917d home component -> index.tsx where it's supposed to be 2022-01-01 13:56:33 -05:00
jake 3ee8ab4423 clean up styled JSX of colorful homepage links 2022-01-01 13:00:26 -05:00
jake c420967b4c set <meta name="theme-color" ...> dynamically 2022-01-01 12:11:15 -05:00
jake b5d039b9d6 icons weren't being tree-shaken 2022-01-01 09:31:42 -05:00
jake e8bbcb1eb1 fix scroll offsets (again) 2022-01-01 09:03:20 -05:00
jake 76d494cd32 couple more adjustments 2021-12-31 20:24:05 -05:00
jake 854b9da5e2 not messing with the base font size sure fixes a ton of problems.... 2021-12-31 19:51:29 -05:00
jake a6499fd5bb separate repository grid styles/logic from the card component 2021-12-31 15:28:28 -05:00
jake d0e00b197c responsive style adjustments 2021-12-31 12:46:39 -05:00
jake 1bbee816c2 add scroll-margin-top property to content sub-headings (fixes #717) 2021-12-31 10:27:59 -05:00
jake 04145189e8 fix the fixes.... 2021-12-31 09:59:19 -05:00
jake 11d245ad66 some very minor refactoring/fixing 2021-12-31 08:48:56 -05:00
jakeandGitHub 70a7053afb Update css-waving-hand-emoji.mdx 2021-12-30 19:22:54 -05:00
jake f18277b940 generate /projects page with ISR instead of calling the API on every single request (closes #715)
https://nextjs.org/docs/basic-features/data-fetching#incremental-static-regeneration
2021-12-30 18:58:26 -05:00