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

530 Commits

Author SHA1 Message Date
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
e8c2dcab29
use date-fns for relative time 2021-12-15 20:28:56 -05:00
c2789e24d4
some component cleanup 2021-12-15 10:12:33 -05:00
d119a98a0d
major refactoring of preact components 🧩 (#689) 2021-12-15 08:35:18 -05:00
964c4ef543
fix arrow function inconsistency 2021-12-13 07:07:09 -05:00
0bc30f87d8
move to official hcaptcha react component 2021-12-12 06:47:38 -05:00
8fe68b009b
more sensical twemoji-in-js w/ svgr 2021-12-11 08:47:13 -05:00
daffcb924b
bump Hugo to 0.90.1 2021-12-10 13:12:05 -05:00
6d64ea647e
okay preact is actually pretty cool tbh. (now using it for copy to clipboard buttons) 2021-12-07 08:11:38 -05:00
9a247ddb8d
improved touchscreen detection 2021-12-04 16:22:41 -05:00
6d0836bbe3
bump eslint 2021-12-04 09:06:29 -05:00
89645e5448
add webpack-bundle-analyzer to the pipeline 2021-12-03 11:18:43 -05:00
fd1393b223
clean up self-hosted emoji code 2021-12-03 10:03:19 -05:00
f7632e0071
use much, much simpler logic for adding anchors to h[2-4] elements 2021-12-01 15:54:15 -05:00
6f6de426da
move dark mode code from module back to here for now 2021-12-01 14:43:22 -05:00
5f3b9b7a04
honor webpack --mode instead of NODE_ENV 2021-11-30 09:02:09 -05:00
dependabot[bot]
d551fd89f6 📦 npm: Bump preact from 10.6.1 to 10.6.2
Bumps [preact](https://github.com/preactjs/preact) from 10.6.1 to 10.6.2.
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](https://github.com/preactjs/preact/compare/10.6.1...10.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 16:26:04 -05:00
dependabot[bot]
718e56607e 📦 npm: Bump core-js from 3.19.1 to 3.19.2
Bumps [core-js](https://github.com/zloirock/core-js) from 3.19.1 to 3.19.2.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.19.1...v3.19.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 16:25:47 -05:00
dependabot[bot]
ea338044bc 📦 npm: Bump postcss from 8.4.3 to 8.4.4
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.3 to 8.4.4.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.3...8.4.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 16:25:28 -05:00
298211eace
move babel config from webpack config to separate file 2021-11-26 20:40:22 -05:00
74519b9266
cross-fetch -> unfetch (browser only) 2021-11-24 14:27:00 -05:00
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
9b3ae0f62a
convert config.toml -> config.yml 2021-11-23 12:18:01 -05:00
be7b2a4bba
bump some deps and fix some lints 2021-11-22 10:52:02 -05:00
d8a552cf5a
use rss-parser for /api/hits 2021-11-19 10:26:33 -05:00
aba9b6d64a
Update content/notes/y2k-sandbox/index.md 2021-11-19 10:00:26 -05:00
f0899ce9a8
extract third-party license comments from JS to a dedicated file 2021-11-18 10:32:19 -05:00
dependabot[bot]
516a1c5006 📦 npm: Bump eslint-plugin-compat from 3.13.0 to 4.0.0
Bumps [eslint-plugin-compat](https://github.com/amilajack/eslint-plugin-compat) from 3.13.0 to 4.0.0.
- [Release notes](https://github.com/amilajack/eslint-plugin-compat/releases)
- [Changelog](https://github.com/amilajack/eslint-plugin-compat/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amilajack/eslint-plugin-compat/compare/v3.13.0...v4.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-compat
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-16 13:20:10 -05:00