1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 14:16:20 -04:00

1366 Commits

Author SHA1 Message Date
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
12164dabb9
favicon stuff 2021-12-17 15:34:49 -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
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
7fbdf16573
fix component effects 2021-12-16 12:14:37 -05:00
65d413ca8c
wait did I actually fix the OS dark mode event listener...?! 2021-12-16 11:35:22 -05:00
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
2377fbfdf2
fix header layout shifting 2021-12-16 01:32:02 -05:00
e8c2dcab29
use date-fns for relative time 2021-12-15 20:28:56 -05:00
11e2a00de5
fix mobile header spacing 2021-12-15 20:05:41 -05:00
48e46a27b0
fix CSP 2021-12-15 14:04:43 -05:00
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
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
cda7d538a6
clean up shortcodes 2021-12-13 20:46:28 -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
b82be240a7
fix weird character encoding (no clue how non-breaking spaces ended up everywhere) 2021-12-11 11:08:30 -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
43592b5997
Update _themes.scss 2021-12-07 10:14:28 -05:00
57ad6c1fd2
update octicons on /contact 2021-12-07 08:40:36 -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
b4cd9eea59
contact form cleanup 2021-12-05 18:28:33 -05:00
aebc982dc3
build shouldn't fail because process.env.HCAPTCHA_SITE_KEY is missing 2021-12-05 11:37:10 -05:00
a338a05ce8
preact-ify contact form 2021-12-05 11:26:56 -05:00
9a247ddb8d
improved touchscreen detection 2021-12-04 16:22:41 -05:00
cb6d1daef6
move imagemin stuff back to optionalDependencies 2021-12-04 09:25:55 -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
cf9a8f742a
clean up typography styles 2021-12-02 10:52:42 -05:00
ce1a24170a
fix missing anchor link aria-label 2021-12-01 16:05:38 -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
a3c2bbcab0
remove unnecessary dayjs plugins (prefer native Intl.DateTimeFormat) 2021-11-30 13:56:41 -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
9165c59c61
Update clipboard.js 2021-11-26 22:02:57 -05:00
298211eace
move babel config from webpack config to separate file 2021-11-26 20:40:22 -05:00
037fff0841
fix window !== undefined checks 2021-11-24 18:02:58 -05:00
3d445c5c8d
dayjs timezone detection & link to stars/forks on GitHub from /projects 2021-11-24 17:30:23 -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