diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2023-12-24 10:23:38 +0000 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2023-12-24 10:23:38 +0000 |
| commit | c5010811f1d64b21b6a8403733df3f8f3f2b8242 (patch) | |
| tree | 6163cdc89658082e7beaf53c61bd2ab47544fe07 | |
| parent | cc0ef23af08bd3c5927d85394407b117339d97ef (diff) | |
| download | submelon.dev-c5010811f1d64b21b6a8403733df3f8f3f2b8242.tar.gz submelon.dev-c5010811f1d64b21b6a8403733df3f8f3f2b8242.tar.bz2 submelon.dev-c5010811f1d64b21b6a8403733df3f8f3f2b8242.zip | |
Add image optimization for generation
73 files changed, 632 insertions, 16 deletions
diff --git a/.yarn/cache/@11ty-eleventy-fetch-npm-4.0.0-98f016e7e9-7fb500db66.zip b/.yarn/cache/@11ty-eleventy-fetch-npm-4.0.0-98f016e7e9-7fb500db66.zip Binary files differnew file mode 100644 index 0000000..0031bb1 --- /dev/null +++ b/.yarn/cache/@11ty-eleventy-fetch-npm-4.0.0-98f016e7e9-7fb500db66.zip diff --git a/.yarn/cache/@11ty-eleventy-img-npm-3.1.8-b1835b4d8b-fae2c1ef99.zip b/.yarn/cache/@11ty-eleventy-img-npm-3.1.8-b1835b4d8b-fae2c1ef99.zip Binary files differnew file mode 100644 index 0000000..23b873e --- /dev/null +++ b/.yarn/cache/@11ty-eleventy-img-npm-3.1.8-b1835b4d8b-fae2c1ef99.zip diff --git a/.yarn/cache/@types-11ty__eleventy-img-npm-2.0.5-e4890dc525-dbd518b5ea.zip b/.yarn/cache/@types-11ty__eleventy-img-npm-2.0.5-e4890dc525-dbd518b5ea.zip Binary files differnew file mode 100644 index 0000000..095661b --- /dev/null +++ b/.yarn/cache/@types-11ty__eleventy-img-npm-2.0.5-e4890dc525-dbd518b5ea.zip diff --git a/.yarn/cache/@types-sharp-npm-0.31.1-2fd1486480-226871181f.zip b/.yarn/cache/@types-sharp-npm-0.31.1-2fd1486480-226871181f.zip Binary files differnew file mode 100644 index 0000000..f0704ed --- /dev/null +++ b/.yarn/cache/@types-sharp-npm-0.31.1-2fd1486480-226871181f.zip diff --git a/.yarn/cache/b4a-npm-1.6.4-080bcba845-81b086f9af.zip b/.yarn/cache/b4a-npm-1.6.4-080bcba845-81b086f9af.zip Binary files differnew file mode 100644 index 0000000..887169b --- /dev/null +++ b/.yarn/cache/b4a-npm-1.6.4-080bcba845-81b086f9af.zip diff --git a/.yarn/cache/base64-js-npm-1.5.1-b2f7275641-669632eb37.zip b/.yarn/cache/base64-js-npm-1.5.1-b2f7275641-669632eb37.zip Binary files differnew file mode 100644 index 0000000..a49ec87 --- /dev/null +++ b/.yarn/cache/base64-js-npm-1.5.1-b2f7275641-669632eb37.zip diff --git a/.yarn/cache/bl-npm-4.1.0-7f94cdcf3f-9e8521fa7e.zip b/.yarn/cache/bl-npm-4.1.0-7f94cdcf3f-9e8521fa7e.zip Binary files differnew file mode 100644 index 0000000..0b0454b --- /dev/null +++ b/.yarn/cache/bl-npm-4.1.0-7f94cdcf3f-9e8521fa7e.zip diff --git a/.yarn/cache/brotli-size-npm-4.0.0-962e692600-2a9e083476.zip b/.yarn/cache/brotli-size-npm-4.0.0-962e692600-2a9e083476.zip Binary files differnew file mode 100644 index 0000000..1f30169 --- /dev/null +++ b/.yarn/cache/brotli-size-npm-4.0.0-962e692600-2a9e083476.zip diff --git a/.yarn/cache/buffer-npm-5.7.1-513ef8259e-e2cf8429e1.zip b/.yarn/cache/buffer-npm-5.7.1-513ef8259e-e2cf8429e1.zip Binary files differnew file mode 100644 index 0000000..15c7810 --- /dev/null +++ b/.yarn/cache/buffer-npm-5.7.1-513ef8259e-e2cf8429e1.zip diff --git a/.yarn/cache/chownr-npm-1.1.4-5bd400ab08-115648f8eb.zip b/.yarn/cache/chownr-npm-1.1.4-5bd400ab08-115648f8eb.zip Binary files differnew file mode 100644 index 0000000..b4f5043 --- /dev/null +++ b/.yarn/cache/chownr-npm-1.1.4-5bd400ab08-115648f8eb.zip diff --git a/.yarn/cache/color-npm-4.2.3-4a23227581-0579629c02.zip b/.yarn/cache/color-npm-4.2.3-4a23227581-0579629c02.zip Binary files differnew file mode 100644 index 0000000..cca7ea3 --- /dev/null +++ b/.yarn/cache/color-npm-4.2.3-4a23227581-0579629c02.zip diff --git a/.yarn/cache/color-string-npm-1.9.1-dc020e56be-c13fe7cff7.zip b/.yarn/cache/color-string-npm-1.9.1-dc020e56be-c13fe7cff7.zip Binary files differnew file mode 100644 index 0000000..7f3fc72 --- /dev/null +++ b/.yarn/cache/color-string-npm-1.9.1-dc020e56be-c13fe7cff7.zip diff --git a/.yarn/cache/decompress-response-npm-6.0.0-359de2878c-d377cf47e0.zip b/.yarn/cache/decompress-response-npm-6.0.0-359de2878c-d377cf47e0.zip Binary files differnew file mode 100644 index 0000000..bbc1db5 --- /dev/null +++ b/.yarn/cache/decompress-response-npm-6.0.0-359de2878c-d377cf47e0.zip diff --git a/.yarn/cache/deep-extend-npm-0.6.0-e182924219-7be7e5a8d4.zip b/.yarn/cache/deep-extend-npm-0.6.0-e182924219-7be7e5a8d4.zip Binary files differnew file mode 100644 index 0000000..87f0270 --- /dev/null +++ b/.yarn/cache/deep-extend-npm-0.6.0-e182924219-7be7e5a8d4.zip diff --git a/.yarn/cache/detect-libc-npm-2.0.2-03afa59137-2b2cd3649b.zip b/.yarn/cache/detect-libc-npm-2.0.2-03afa59137-2b2cd3649b.zip Binary files differnew file mode 100644 index 0000000..1db9214 --- /dev/null +++ b/.yarn/cache/detect-libc-npm-2.0.2-03afa59137-2b2cd3649b.zip diff --git a/.yarn/cache/duplexer-npm-0.1.1-d906abcf74-fc7937c4a4.zip b/.yarn/cache/duplexer-npm-0.1.1-d906abcf74-fc7937c4a4.zip Binary files differnew file mode 100644 index 0000000..5443cf0 --- /dev/null +++ b/.yarn/cache/duplexer-npm-0.1.1-d906abcf74-fc7937c4a4.zip diff --git a/.yarn/cache/end-of-stream-npm-1.4.4-497fc6dee1-530a5a5a1e.zip b/.yarn/cache/end-of-stream-npm-1.4.4-497fc6dee1-530a5a5a1e.zip Binary files differnew file mode 100644 index 0000000..fecd228 --- /dev/null +++ b/.yarn/cache/end-of-stream-npm-1.4.4-497fc6dee1-530a5a5a1e.zip diff --git a/.yarn/cache/entities-npm-4.5.0-7cdb83b832-853f8ebd5b.zip b/.yarn/cache/entities-npm-4.5.0-7cdb83b832-853f8ebd5b.zip Binary files differnew file mode 100644 index 0000000..3772a45 --- /dev/null +++ b/.yarn/cache/entities-npm-4.5.0-7cdb83b832-853f8ebd5b.zip diff --git a/.yarn/cache/eventemitter3-npm-4.0.7-7afcdd74ae-1875311c42.zip b/.yarn/cache/eventemitter3-npm-4.0.7-7afcdd74ae-1875311c42.zip Binary files differnew file mode 100644 index 0000000..0cfd591 --- /dev/null +++ b/.yarn/cache/eventemitter3-npm-4.0.7-7afcdd74ae-1875311c42.zip diff --git a/.yarn/cache/expand-template-npm-2.0.3-80de959306-588c198472.zip b/.yarn/cache/expand-template-npm-2.0.3-80de959306-588c198472.zip Binary files differnew file mode 100644 index 0000000..ec0c34f --- /dev/null +++ b/.yarn/cache/expand-template-npm-2.0.3-80de959306-588c198472.zip diff --git a/.yarn/cache/fast-fifo-npm-1.3.2-391cc25df4-6bfcba3e4d.zip b/.yarn/cache/fast-fifo-npm-1.3.2-391cc25df4-6bfcba3e4d.zip Binary files differnew file mode 100644 index 0000000..c99b598 --- /dev/null +++ b/.yarn/cache/fast-fifo-npm-1.3.2-391cc25df4-6bfcba3e4d.zip diff --git a/.yarn/cache/flat-cache-npm-3.2.0-9a887f084e-e7e0f59801.zip b/.yarn/cache/flat-cache-npm-3.2.0-9a887f084e-e7e0f59801.zip Binary files differnew file mode 100644 index 0000000..a9fe347 --- /dev/null +++ b/.yarn/cache/flat-cache-npm-3.2.0-9a887f084e-e7e0f59801.zip diff --git a/.yarn/cache/flatted-npm-3.2.9-0462256d3c-f14167fbe2.zip b/.yarn/cache/flatted-npm-3.2.9-0462256d3c-f14167fbe2.zip Binary files differnew file mode 100644 index 0000000..91ea8f9 --- /dev/null +++ b/.yarn/cache/flatted-npm-3.2.9-0462256d3c-f14167fbe2.zip diff --git a/.yarn/cache/fs-constants-npm-1.0.0-59576b2177-18f5b71837.zip b/.yarn/cache/fs-constants-npm-1.0.0-59576b2177-18f5b71837.zip Binary files differnew file mode 100644 index 0000000..91f5b6f --- /dev/null +++ b/.yarn/cache/fs-constants-npm-1.0.0-59576b2177-18f5b71837.zip diff --git a/.yarn/cache/github-from-package-npm-0.0.0-519f80c9a1-14e448192a.zip b/.yarn/cache/github-from-package-npm-0.0.0-519f80c9a1-14e448192a.zip Binary files differnew file mode 100644 index 0000000..0b7c782 --- /dev/null +++ b/.yarn/cache/github-from-package-npm-0.0.0-519f80c9a1-14e448192a.zip diff --git a/.yarn/cache/ieee754-npm-1.2.1-fb63b3caeb-5144c0c981.zip b/.yarn/cache/ieee754-npm-1.2.1-fb63b3caeb-5144c0c981.zip Binary files differnew file mode 100644 index 0000000..74128ad --- /dev/null +++ b/.yarn/cache/ieee754-npm-1.2.1-fb63b3caeb-5144c0c981.zip diff --git a/.yarn/cache/image-size-npm-1.0.2-ed5424d843-01745fdb47.zip b/.yarn/cache/image-size-npm-1.0.2-ed5424d843-01745fdb47.zip Binary files differnew file mode 100644 index 0000000..a504686 --- /dev/null +++ b/.yarn/cache/image-size-npm-1.0.2-ed5424d843-01745fdb47.zip diff --git a/.yarn/cache/ini-npm-1.3.8-fb5040b4c0-dfd98b0ca3.zip b/.yarn/cache/ini-npm-1.3.8-fb5040b4c0-dfd98b0ca3.zip Binary files differnew file mode 100644 index 0000000..ee9245b --- /dev/null +++ b/.yarn/cache/ini-npm-1.3.8-fb5040b4c0-dfd98b0ca3.zip diff --git a/.yarn/cache/is-arrayish-npm-0.3.2-f856180f79-977e64f54d.zip b/.yarn/cache/is-arrayish-npm-0.3.2-f856180f79-977e64f54d.zip Binary files differnew file mode 100644 index 0000000..593895a --- /dev/null +++ b/.yarn/cache/is-arrayish-npm-0.3.2-f856180f79-977e64f54d.zip diff --git a/.yarn/cache/json-buffer-npm-3.0.1-f8f6d20603-9026b03edc.zip b/.yarn/cache/json-buffer-npm-3.0.1-f8f6d20603-9026b03edc.zip Binary files differnew file mode 100644 index 0000000..f0961af --- /dev/null +++ b/.yarn/cache/json-buffer-npm-3.0.1-f8f6d20603-9026b03edc.zip diff --git a/.yarn/cache/keyv-npm-4.5.4-4c8e2cf7f7-74a24395b1.zip b/.yarn/cache/keyv-npm-4.5.4-4c8e2cf7f7-74a24395b1.zip Binary files differnew file mode 100644 index 0000000..aa2c060 --- /dev/null +++ b/.yarn/cache/keyv-npm-4.5.4-4c8e2cf7f7-74a24395b1.zip diff --git a/.yarn/cache/mimic-response-npm-3.1.0-a4a24b4e96-25739fee32.zip b/.yarn/cache/mimic-response-npm-3.1.0-a4a24b4e96-25739fee32.zip Binary files differnew file mode 100644 index 0000000..a47a9a6 --- /dev/null +++ b/.yarn/cache/mimic-response-npm-3.1.0-a4a24b4e96-25739fee32.zip diff --git a/.yarn/cache/mkdirp-classic-npm-0.5.3-3b5c991910-3f4e088208.zip b/.yarn/cache/mkdirp-classic-npm-0.5.3-3b5c991910-3f4e088208.zip Binary files differnew file mode 100644 index 0000000..8663492 --- /dev/null +++ b/.yarn/cache/mkdirp-classic-npm-0.5.3-3b5c991910-3f4e088208.zip diff --git a/.yarn/cache/napi-build-utils-npm-1.0.2-892e4bba56-06c14271ee.zip b/.yarn/cache/napi-build-utils-npm-1.0.2-892e4bba56-06c14271ee.zip Binary files differnew file mode 100644 index 0000000..3088994 --- /dev/null +++ b/.yarn/cache/napi-build-utils-npm-1.0.2-892e4bba56-06c14271ee.zip diff --git a/.yarn/cache/node-abi-npm-3.52.0-a32e767906-2ef47937d0.zip b/.yarn/cache/node-abi-npm-3.52.0-a32e767906-2ef47937d0.zip Binary files differnew file mode 100644 index 0000000..5eece15 --- /dev/null +++ b/.yarn/cache/node-abi-npm-3.52.0-a32e767906-2ef47937d0.zip diff --git a/.yarn/cache/node-addon-api-npm-6.1.0-634c545b39-3a539510e6.zip b/.yarn/cache/node-addon-api-npm-6.1.0-634c545b39-3a539510e6.zip Binary files differnew file mode 100644 index 0000000..012df44 --- /dev/null +++ b/.yarn/cache/node-addon-api-npm-6.1.0-634c545b39-3a539510e6.zip diff --git a/.yarn/cache/node-fetch-npm-2.7.0-587d57004e-d76d2f5edb.zip b/.yarn/cache/node-fetch-npm-2.7.0-587d57004e-d76d2f5edb.zip Binary files differnew file mode 100644 index 0000000..a067dc7 --- /dev/null +++ b/.yarn/cache/node-fetch-npm-2.7.0-587d57004e-d76d2f5edb.zip diff --git a/.yarn/cache/p-finally-npm-1.0.0-35fbaa57c6-93a654c53d.zip b/.yarn/cache/p-finally-npm-1.0.0-35fbaa57c6-93a654c53d.zip Binary files differnew file mode 100644 index 0000000..091273a --- /dev/null +++ b/.yarn/cache/p-finally-npm-1.0.0-35fbaa57c6-93a654c53d.zip diff --git a/.yarn/cache/p-queue-npm-6.6.2-b173c5bfa8-832642fcc4.zip b/.yarn/cache/p-queue-npm-6.6.2-b173c5bfa8-832642fcc4.zip Binary files differnew file mode 100644 index 0000000..da69f77 --- /dev/null +++ b/.yarn/cache/p-queue-npm-6.6.2-b173c5bfa8-832642fcc4.zip diff --git a/.yarn/cache/p-timeout-npm-3.2.0-7fdb33f733-3dd0eaa048.zip b/.yarn/cache/p-timeout-npm-3.2.0-7fdb33f733-3dd0eaa048.zip Binary files differnew file mode 100644 index 0000000..eaf8f71 --- /dev/null +++ b/.yarn/cache/p-timeout-npm-3.2.0-7fdb33f733-3dd0eaa048.zip diff --git a/.yarn/cache/prebuild-install-npm-7.1.1-cb9fc9d341-dbf96d0146.zip b/.yarn/cache/prebuild-install-npm-7.1.1-cb9fc9d341-dbf96d0146.zip Binary files differnew file mode 100644 index 0000000..5775421 --- /dev/null +++ b/.yarn/cache/prebuild-install-npm-7.1.1-cb9fc9d341-dbf96d0146.zip diff --git a/.yarn/cache/pump-npm-3.0.0-0080bf6a7a-e42e9229fb.zip b/.yarn/cache/pump-npm-3.0.0-0080bf6a7a-e42e9229fb.zip Binary files differnew file mode 100644 index 0000000..0585683 --- /dev/null +++ b/.yarn/cache/pump-npm-3.0.0-0080bf6a7a-e42e9229fb.zip diff --git a/.yarn/cache/queue-npm-6.0.2-ebbcf599cf-ebc2363924.zip b/.yarn/cache/queue-npm-6.0.2-ebbcf599cf-ebc2363924.zip Binary files differnew file mode 100644 index 0000000..df18965 --- /dev/null +++ b/.yarn/cache/queue-npm-6.0.2-ebbcf599cf-ebc2363924.zip diff --git a/.yarn/cache/queue-tick-npm-1.0.1-10bd6eaf3d-57c3292814.zip b/.yarn/cache/queue-tick-npm-1.0.1-10bd6eaf3d-57c3292814.zip Binary files differnew file mode 100644 index 0000000..9f5e83a --- /dev/null +++ b/.yarn/cache/queue-tick-npm-1.0.1-10bd6eaf3d-57c3292814.zip diff --git a/.yarn/cache/rc-npm-1.2.8-d6768ac936-2e26e052f8.zip b/.yarn/cache/rc-npm-1.2.8-d6768ac936-2e26e052f8.zip Binary files differnew file mode 100644 index 0000000..f7372f9 --- /dev/null +++ b/.yarn/cache/rc-npm-1.2.8-d6768ac936-2e26e052f8.zip diff --git a/.yarn/cache/readable-stream-npm-3.6.2-d2a6069158-bdcbe6c22e.zip b/.yarn/cache/readable-stream-npm-3.6.2-d2a6069158-bdcbe6c22e.zip Binary files differnew file mode 100644 index 0000000..0053b67 --- /dev/null +++ b/.yarn/cache/readable-stream-npm-3.6.2-d2a6069158-bdcbe6c22e.zip diff --git a/.yarn/cache/rimraf-npm-3.0.2-2cb7dac69a-87f4164e39.zip b/.yarn/cache/rimraf-npm-3.0.2-2cb7dac69a-87f4164e39.zip Binary files differnew file mode 100644 index 0000000..6d2f541 --- /dev/null +++ b/.yarn/cache/rimraf-npm-3.0.2-2cb7dac69a-87f4164e39.zip diff --git a/.yarn/cache/safe-buffer-npm-5.2.1-3481c8aa9b-b99c4b41fd.zip b/.yarn/cache/safe-buffer-npm-5.2.1-3481c8aa9b-b99c4b41fd.zip Binary files differnew file mode 100644 index 0000000..c80798a --- /dev/null +++ b/.yarn/cache/safe-buffer-npm-5.2.1-3481c8aa9b-b99c4b41fd.zip diff --git a/.yarn/cache/sharp-npm-0.32.6-6b3822c437-0cca1d16b1.zip b/.yarn/cache/sharp-npm-0.32.6-6b3822c437-0cca1d16b1.zip Binary files differnew file mode 100644 index 0000000..3b92254 --- /dev/null +++ b/.yarn/cache/sharp-npm-0.32.6-6b3822c437-0cca1d16b1.zip diff --git a/.yarn/cache/simple-concat-npm-1.0.1-48df70de29-4d211042cc.zip b/.yarn/cache/simple-concat-npm-1.0.1-48df70de29-4d211042cc.zip Binary files differnew file mode 100644 index 0000000..6b694be --- /dev/null +++ b/.yarn/cache/simple-concat-npm-1.0.1-48df70de29-4d211042cc.zip diff --git a/.yarn/cache/simple-get-npm-4.0.1-fa2a97645d-e4132fd27c.zip b/.yarn/cache/simple-get-npm-4.0.1-fa2a97645d-e4132fd27c.zip Binary files differnew file mode 100644 index 0000000..95cce5f --- /dev/null +++ b/.yarn/cache/simple-get-npm-4.0.1-fa2a97645d-e4132fd27c.zip diff --git a/.yarn/cache/simple-swizzle-npm-0.2.2-8dee37fad1-a7f3f2ab5c.zip b/.yarn/cache/simple-swizzle-npm-0.2.2-8dee37fad1-a7f3f2ab5c.zip Binary files differnew file mode 100644 index 0000000..8420b56 --- /dev/null +++ b/.yarn/cache/simple-swizzle-npm-0.2.2-8dee37fad1-a7f3f2ab5c.zip diff --git a/.yarn/cache/streamx-npm-2.15.6-4661c98d1c-37a245f5ce.zip b/.yarn/cache/streamx-npm-2.15.6-4661c98d1c-37a245f5ce.zip Binary files differnew file mode 100644 index 0000000..fc16689 --- /dev/null +++ b/.yarn/cache/streamx-npm-2.15.6-4661c98d1c-37a245f5ce.zip diff --git a/.yarn/cache/string_decoder-npm-1.3.0-2422117fd0-8417646695.zip b/.yarn/cache/string_decoder-npm-1.3.0-2422117fd0-8417646695.zip Binary files differnew file mode 100644 index 0000000..e12cf75 --- /dev/null +++ b/.yarn/cache/string_decoder-npm-1.3.0-2422117fd0-8417646695.zip diff --git a/.yarn/cache/strip-json-comments-npm-2.0.1-e7883b2d04-1074ccb632.zip b/.yarn/cache/strip-json-comments-npm-2.0.1-e7883b2d04-1074ccb632.zip Binary files differnew file mode 100644 index 0000000..9c537fe --- /dev/null +++ b/.yarn/cache/strip-json-comments-npm-2.0.1-e7883b2d04-1074ccb632.zip diff --git a/.yarn/cache/tar-fs-npm-2.1.1-e374d3b7a2-f5b9a70059.zip b/.yarn/cache/tar-fs-npm-2.1.1-e374d3b7a2-f5b9a70059.zip Binary files differnew file mode 100644 index 0000000..f256de3 --- /dev/null +++ b/.yarn/cache/tar-fs-npm-2.1.1-e374d3b7a2-f5b9a70059.zip diff --git a/.yarn/cache/tar-fs-npm-3.0.4-fa3da2e321-dcf4054f9e.zip b/.yarn/cache/tar-fs-npm-3.0.4-fa3da2e321-dcf4054f9e.zip Binary files differnew file mode 100644 index 0000000..bfc23b9 --- /dev/null +++ b/.yarn/cache/tar-fs-npm-3.0.4-fa3da2e321-dcf4054f9e.zip diff --git a/.yarn/cache/tar-stream-npm-2.2.0-884c79b510-699831a8b9.zip b/.yarn/cache/tar-stream-npm-2.2.0-884c79b510-699831a8b9.zip Binary files differnew file mode 100644 index 0000000..6d7267b --- /dev/null +++ b/.yarn/cache/tar-stream-npm-2.2.0-884c79b510-699831a8b9.zip diff --git a/.yarn/cache/tar-stream-npm-3.1.6-ce3ac17e49-f3627f9185.zip b/.yarn/cache/tar-stream-npm-3.1.6-ce3ac17e49-f3627f9185.zip Binary files differnew file mode 100644 index 0000000..43731cc --- /dev/null +++ b/.yarn/cache/tar-stream-npm-3.1.6-ce3ac17e49-f3627f9185.zip diff --git a/.yarn/cache/tr46-npm-0.0.3-de53018915-726321c5ea.zip b/.yarn/cache/tr46-npm-0.0.3-de53018915-726321c5ea.zip Binary files differnew file mode 100644 index 0000000..2e6949b --- /dev/null +++ b/.yarn/cache/tr46-npm-0.0.3-de53018915-726321c5ea.zip diff --git a/.yarn/cache/tunnel-agent-npm-0.6.0-64345ab7eb-05f6510358.zip b/.yarn/cache/tunnel-agent-npm-0.6.0-64345ab7eb-05f6510358.zip Binary files differnew file mode 100644 index 0000000..5256e20 --- /dev/null +++ b/.yarn/cache/tunnel-agent-npm-0.6.0-64345ab7eb-05f6510358.zip diff --git a/.yarn/cache/util-deprecate-npm-1.0.2-e3fe1a219c-474acf1146.zip b/.yarn/cache/util-deprecate-npm-1.0.2-e3fe1a219c-474acf1146.zip Binary files differnew file mode 100644 index 0000000..c2309cf --- /dev/null +++ b/.yarn/cache/util-deprecate-npm-1.0.2-e3fe1a219c-474acf1146.zip diff --git a/.yarn/cache/webidl-conversions-npm-3.0.1-60310f6a2b-c92a0a6ab9.zip b/.yarn/cache/webidl-conversions-npm-3.0.1-60310f6a2b-c92a0a6ab9.zip Binary files differnew file mode 100644 index 0000000..96867a6 --- /dev/null +++ b/.yarn/cache/webidl-conversions-npm-3.0.1-60310f6a2b-c92a0a6ab9.zip diff --git a/.yarn/cache/whatwg-url-npm-5.0.0-374fb45e60-b8daed4ad3.zip b/.yarn/cache/whatwg-url-npm-5.0.0-374fb45e60-b8daed4ad3.zip Binary files differnew file mode 100644 index 0000000..5deef33 --- /dev/null +++ b/.yarn/cache/whatwg-url-npm-5.0.0-374fb45e60-b8daed4ad3.zip diff --git a/package.json b/package.json index 7bb69b7..2dcb7d1 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,8 @@ }, "devDependencies": { "@11ty/eleventy": "^2.0.1", + "@11ty/eleventy-img": "^3.1.8", + "@types/11ty__eleventy-img": "^2.0.5", "@types/node": "^20.10.5", "badgen-cli": "^0.2.0", "prettier": "^3.1.1", diff --git a/src/config.ts b/src/config.ts index c9f5ba0..3a99491 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,24 +1,48 @@ import { formatDate, getTimestamp } from "./util/timestamp"; import BuildInfo from "../config.json"; +import Image from "@11ty/eleventy-img"; // eslint-disable-next-line @typescript-eslint/no-explicit-any -export default function (eleventyConfig: any) { +export default function (config: any) { // passthrough static files to public - eleventyConfig.addPassthroughCopy({ + config.addPassthroughCopy({ "./src/static/": "/", }); // hook in configured build time for GH action to update - eleventyConfig.addGlobalData("site", () => BuildInfo); - eleventyConfig.addGlobalData("buildTimeEncoded", () => { + config.addGlobalData("site", () => BuildInfo); + config.addGlobalData("buildTimeEncoded", () => { return getTimestamp(Number(BuildInfo.version)); }); + // images + config.addShortcode("image", async (src: string, alt: string, sizes: string, width: number, height: number | undefined) => { + let metadata = await Image(src, { + widths: [width, 550, "auto"], + formats: ["webp", "png"], + urlPath: "/images/", + outputDir: "./public/images/", + }); + + let url = metadata.png?.[0].url ?? ""; + + return `<picture> + ${Object.values(metadata).map(imageFormat => { + return ` <source type="${imageFormat[0].sourceType}" srcset="${imageFormat.map(entry => entry.srcset).join(", ")}" sizes="${sizes}">`; + }).join("\n")} + <img + src="${url}" + width="${width}" + height="${height ?? width}" + alt="${alt}"> + </picture>`; + }); + // add `date` filter - eleventyConfig.addFilter("formatDate", formatDate); + config.addFilter("formatDate", formatDate); // ensure eleventy marks this config as watched, since it's typescript - eleventyConfig.addWatchTarget("./src/config.ts"); + config.addWatchTarget("./src/config.ts"); return { templateFormats: ["njk", "html"], diff --git a/public/images/favicon-70x70.png b/src/images/favicon-70x70.png Binary files differindex 4d68d0f..4d68d0f 100644 --- a/public/images/favicon-70x70.png +++ b/src/images/favicon-70x70.png diff --git a/public/images/main.png b/src/images/main.png Binary files differindex 324fab3..324fab3 100644 --- a/public/images/main.png +++ b/src/images/main.png diff --git a/src/pages/index.njk b/src/pages/index.njk index d2c231e..ea7a9a2 100644 --- a/src/pages/index.njk +++ b/src/pages/index.njk @@ -1,10 +1,7 @@ --- layout: layouts/page.njk --- -<picture> - <source type="image/webp" srcSet="images/main.webp 650w" sizes="350px" height="350" width="350"/> - <img src="images/main.png" sizes="350px" height="350" width="350" alt="Picture of Kevin Hoerr"/> -</picture> +{% image "src/images/main.png", "Picture of Kevin Hoerr", "350px", "350" %} <section><h1>Hello!</h1></section> <section> <p>I'm a computer science and math graduate from Millersville University. I work as a Solutions Architect and specialize in development operations and systems validation for web applications.</p> diff --git a/src/static/images/favicon-70x70.png b/src/static/images/favicon-70x70.png Binary files differdeleted file mode 100644 index 4d68d0f..0000000 --- a/src/static/images/favicon-70x70.png +++ /dev/null diff --git a/src/static/images/main.png b/src/static/images/main.png deleted file mode 100644 index 324fab3..0000000 --- a/src/static/images/main.png +++ /dev/null |
