quartz-research-note/quartz/components
Adam Brangenberg d6301fae90
feat: Making Quartz available offline by making it a PWA (#465)
* Adding PWA and chaching for offline aviability

* renamed workbox config to fit Quartz' scheme

* Documenting new configuration

* Added missig umami documentation

* Fixed formatting so the build passes, thank you prettier :)

* specified caching strategies to improve performance

* formatting...

* fixing "404 manifest.json not found" on subdirectories by adding a / to manifestpath

* turning it into a plugin

* Removed Workbox-cli and updated @types/node

* Added Serviceworkercode to offline.ts

* formatting

* Removing workbox from docs

* applied suggestions

* Removed path.join for sw path

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

* Removed path.join for manifest path

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

* Removing path module import

* Added absolute path to manifests start_url and manifest "import" using baseUrl

* Adding protocol to baseurl

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

* Adding protocol to start_url too then

* formatting...

* Adding fallback page

* Documenting offline plugin

* formatting...

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* formatting...

* Fixing manifest path, all these nits hiding the actual issues .-.

* Offline fallback page through plugins, most things taken from 404 Plugin

* adding Offline Plugin to config

* formatting...

* Turned offline off as default and removed offline.md

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-09-20 11:38:13 -07:00
..
pages feat: Making Quartz available offline by making it a PWA (#465) 2023-09-20 11:38:13 -07:00
scripts feat: support changes in system theme (#484) 2023-09-19 09:25:51 -07:00
styles fix: bad visibility for last explorer item (#478) 2023-09-17 22:04:44 +02:00
ArticleTitle.tsx various polish 2023-07-02 13:08:29 -07:00
Backlinks.tsx base path refactor to better support subpath hosting 2023-08-19 15:52:25 -07:00
Body.tsx run prettier 2023-07-22 17:27:41 -07:00
ContentMeta.tsx feat: add defaultDateType config 2023-08-24 08:56:40 -07:00
Darkmode.tsx run prettier 2023-07-22 17:27:41 -07:00
Date.tsx format 2023-08-24 10:03:14 -07:00
DesktopOnly.tsx more visual polish, adjust colours and spacing 2023-07-04 16:48:36 -07:00
Explorer.tsx fix(nit): make defaultOptions on explorer not a function 2023-09-19 10:22:39 -07:00
ExplorerNode.tsx docs: fix examples 2023-09-17 21:32:23 +02:00
Footer.tsx run prettier 2023-07-22 17:27:41 -07:00
Graph.tsx feat: display tag in graph view (#466) 2023-09-13 20:55:59 -07:00
Head.tsx feat: Making Quartz available offline by making it a PWA (#465) 2023-09-20 11:38:13 -07:00
Header.tsx various typography and styling fixes 2023-07-23 11:02:45 -07:00
index.ts feat: implement file explorer component (closes #201) (#452) 2023-09-15 09:39:16 -07:00
MobileOnly.tsx more visual polish, adjust colours and spacing 2023-07-04 16:48:36 -07:00
PageList.tsx feat: add defaultDateType config 2023-08-24 08:56:40 -07:00
PageTitle.tsx base path refactor to better support subpath hosting 2023-08-19 15:52:25 -07:00
RecentNotes.tsx fix: ensure recentnotes uses proper date 2023-08-24 09:38:00 -07:00
renderPage.tsx feat: note transclusion (#475) 2023-09-13 11:28:53 -07:00
Search.tsx run prettier 2023-07-22 17:27:41 -07:00
Spacer.tsx more visual polish, adjust colours and spacing 2023-07-04 16:48:36 -07:00
TableOfContents.tsx recent notes css fixes 2023-08-20 14:05:37 -07:00
TagList.tsx fix: tag support for non-latin alphabets (fixes #398) 2023-08-22 22:14:16 -07:00
types.ts fix import paths 2023-08-16 22:09:11 -07:00