wiki/quartz/util
Aaron Pham 330e322e48
feat(fonts): fetch before build (#817)
* feat: fetch google fonts before build

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* Update quartz/plugins/emitters/componentResources.ts

* fix: fetching wolff2

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* chore: remove request stylesheet

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* fix: race condition

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* chore: remove preconnect for static fonts

since we are already downloading fonts into public folder

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* chore: remove deadcode

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* chore: add options to gate for cdn caching

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* chore: apply jacky's suggestion

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* chore: add docs and only use one promise

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* fix: fmt

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* chore: remove deadcode

* chore: final touches

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* revert: changes in theme.ts

* fix: styles and remove deadcode

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

---------

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-02-08 02:52:55 -05:00
..
ctx.ts feat: support configurable ws port and remote development (#429) 2023-08-27 17:39:42 -07:00
escape.ts fix: escape encoding for titles in rss 2023-09-06 21:47:59 -07:00
glob.ts
jsx.tsx deps: bump everything (closes #635) (#636) 2023-12-18 09:48:40 -08:00
lang.ts chore(i18n): refactor and cleanup (#805) 2024-02-04 20:57:10 -08:00
log.ts
path.test.ts fix(path): properly path encode & 2024-02-04 21:22:57 -08:00
path.ts fix(path): properly path encode & 2024-02-04 21:22:57 -08:00
perf.ts
resources.tsx fix: mermaid rendering broken after rehype-pretty-code bump (closes #638) 2023-12-18 23:09:49 -08:00
sourcemap.ts
theme.ts feat(fonts): fetch before build (#817) 2024-02-08 02:52:55 -05:00
trace.ts fix: catch html to jsx errors (closes #547) 2023-10-21 21:06:02 -07:00