1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 17:08:27 -04:00

557 Commits

Author SHA1 Message Date
a139447b39
remove markdown from plaintext post titles 2022-01-16 18:16:02 -05:00
b2f51ff10a
bump some deps 2022-01-16 08:38:42 -05:00
872846dbeb
giscus comments! 2022-01-15 11:28:31 -05:00
6d7ffee7ea
switch back to lighter markdown-to-jsx on server-side 2022-01-15 08:51:10 -05:00
d979ef733a
don't load utterances until user's near the bottom of post 2022-01-15 08:25:32 -05:00
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
32a5eb9c61
add eslint-plugin-mdx 2022-01-14 10:25:58 -05:00
1a0541776e
extract syntax highlighting styles into a CSS module 2022-01-13 09:04:02 -05:00
12d0959629
styled-jsx sheets weren't being rendered server-side 🤦 2022-01-12 11:31:03 -05:00
c9c3c8b252
bump to next v12.0.8 2022-01-12 08:28:23 -05:00
53158f6d3c
pull SVG icons directly from their NPM packages 2022-01-11 19:19:47 -05:00
dependabot[bot]
bc504f3e63 📦 npm: Bump next from 12.0.8-canary.19 to 12.0.8-canary.20
Bumps [next](https://github.com/vercel/next.js) from 12.0.8-canary.19 to 12.0.8-canary.20.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v12.0.8-canary.19...v12.0.8-canary.20)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 21:18:58 -05:00
78967815e1
highlight.js -> prism (#730) 2022-01-10 19:10:19 -05:00
b552b6ae64
add typescript eslint parser/rules 2022-01-10 13:46:49 -05:00
4a461b78dd
restore webmentions action 2022-01-10 13:36:44 -05:00
972a25abc6
parse markdown in titles at build time 2022-01-10 08:37:30 -05:00
32d1683e51
revert colord to smaller hex-rgb 2022-01-09 19:49:54 -05:00
65416fcc1f
next-mdx-remote -> mdx-bundler (#729) 2022-01-09 13:45:38 -05:00
dc7b2a88bb
enable utteranc.es origin check 2022-01-08 09:07:09 -05:00
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
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
34d2304e7c
properly set hrefs for dynamic paths on notes list 2022-01-07 08:56:37 -05:00
66a244a9c1
formik-powered contact page (#725) 2022-01-06 13:13:41 -05:00
dependabot[bot]
6953dc0c7b 📦 npm: Bump highlight.js from 11.3.1 to 11.4.0
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 11.3.1 to 11.4.0.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/main/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/11.3.1...11.4.0)

---
updated-dependencies:
- dependency-name: highlight.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-06 10:24:15 -05:00
3394cac5de
use the excellent next-themes module 2022-01-06 10:08:24 -05:00
6b756a54c1
fix unused components still loading on posts 2022-01-06 09:10:25 -05:00
fb491d7337
use next-compose-plugins for simpler config 2022-01-05 08:50:49 -05:00
32262b0041
add hover styles to footer 2022-01-04 19:42:44 -05:00
c890a8aae0
use react-innertext 2022-01-04 18:44:49 -05:00
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
dependabot[bot]
84edea4723 📦 npm: Bump next from 12.0.8-canary.15 to 12.0.8-canary.16
Bumps [next](https://github.com/vercel/next.js) from 12.0.8-canary.15 to 12.0.8-canary.16.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v12.0.8-canary.15...v12.0.8-canary.16)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 21:04:08 -05:00
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
dependabot[bot]
2c33f564e2 📦 npm: Bump next from 12.0.8-canary.14 to 12.0.8-canary.15
Bumps [next](https://github.com/vercel/next.js) from 12.0.8-canary.14 to 12.0.8-canary.15.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v12.0.8-canary.14...v12.0.8-canary.15)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 18:07:50 -05:00
3864a57d1a
consolidate mdx file parsing 2022-01-03 17:53:47 -05:00
6d81939b8b
get overall stats for /api/hits/ without circular parsing of the RSS feed 2022-01-03 15:29:35 -05:00
dependabot[bot]
c708383afb 📦 npm: Bump next from 12.0.8-canary.13 to 12.0.8-canary.14
Bumps [next](https://github.com/vercel/next.js) from 12.0.8-canary.13 to 12.0.8-canary.14.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v12.0.8-canary.13...v12.0.8-canary.14)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-02 23:14:21 -05:00
49fb053649
simplify note parsing logic 2022-01-02 23:05:51 -05:00
ca614e1a1a
consistent use of arrow functions/default exports 2022-01-02 15:16:07 -05:00
854b9da5e2
not messing with the base font size sure fixes a ton of problems.... 2021-12-31 19:51:29 -05:00
04145189e8
fix the fixes.... 2021-12-31 09:59:19 -05:00
dependabot[bot]
831f8ffe4c 📦 npm: Bump sass from 1.45.1 to 1.45.2
Bumps [sass](https://github.com/sass/dart-sass) from 1.45.1 to 1.45.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.45.1...1.45.2)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-30 21:55:24 -05:00
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
bf778e6d12
re-add fathom
couldn't sleep at night even with a few days of google analytics...
2021-12-30 10:31:39 -05:00
9979e1bf3f
v5: Revenge of the JavaScript 🦸 (#711)
Hugo ➡️ Next.js
2021-12-30 08:18:41 -05:00
5ee595807d
manually cherry-pick (most of) the rules/settings from eslint-config-preact 2021-12-18 20:08:07 -05:00
dependabot[bot]
413a8b4bd1 📦 npm: Bump eslint from 8.4.1 to 8.5.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.4.1 to 8.5.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.4.1...v8.5.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-18 13:49:51 -05:00
76cceb0001
minor hugo template refactoring before updating 2021-12-18 10:36:18 -05:00
0bac7577a6
add default color-scheme: light inline style in case JS is disabled 2021-12-17 15:39:54 -05:00
dependabot[bot]
6c848b8b4d 📦 npm: Bump imagemin-svgo from 10.0.0 to 10.0.1
Bumps [imagemin-svgo](https://github.com/imagemin/imagemin-svgo) from 10.0.0 to 10.0.1.
- [Release notes](https://github.com/imagemin/imagemin-svgo/releases)
- [Commits](https://github.com/imagemin/imagemin-svgo/compare/v10.0.0...v10.0.1)

---
updated-dependencies:
- dependency-name: imagemin-svgo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-17 08:47:11 -05:00
65d413ca8c
wait did I actually fix the OS dark mode event listener...?! 2021-12-16 11:35:22 -05:00