Commit Graph

2013 Commits

Author SHA1 Message Date
Harry Chen f23f7b6150 doc: add config info in README
Signed-off-by: Harry Chen <i@harrychen.xyz>
2024-04-21 13:17:19 +08:00
Harry Chen 9df1857199 doc: update README on deployment [WIP]
Signed-off-by: Harry Chen <i@harrychen.xyz>
2024-04-21 13:17:19 +08:00
Harry Chen 3905b0b106 chore: fix Dockerfile.build, remove obsolete Dockerfile.dev
Signed-off-by: Harry Chen <i@harrychen.xyz>
2024-04-21 13:17:19 +08:00
Miao Wang e802728b44 add docker image for build environment 2024-04-21 13:17:19 +08:00
Miao Wang 0bc51cebc1 include main-page.css in legacyapp 2024-04-21 13:17:19 +08:00
Harry Chen c147d43a86 Format code
Signed-off-by: Harry Chen <i@harrychen.xyz>
2024-04-21 13:17:19 +08:00
Harry Chen a6abff588d Add ts typing shims for vite virtual modules
Signed-off-by: Harry Chen <i@harrychen.xyz>
2024-04-21 13:17:19 +08:00
Harry Chen a623fb07e0 Refine some ts types
Signed-off-by: Harry Chen <i@harrychen.xyz>
2024-04-21 13:17:19 +08:00
Harry Chen 962aaf2187 Fix some type errors in entrypoints
Signed-off-by: Harry Chen <i@harrychen.xyz>
2024-04-21 13:17:19 +08:00
Harry Chen 5d499c4ef7 Add typescript shim for .vue files
Signed-off-by: Harry Chen <i@harrychen.xyz>
2024-04-21 13:17:19 +08:00
Miao Wang 0aa9a665b8 [WIP] migrate entrypoints to ts 2024-04-21 13:17:19 +08:00
Harry Chen 7328ec3415 Switch some js files to ts for better typing
Signed-off-by: Harry Chen <i@harrychen.xyz>
2024-04-21 13:17:19 +08:00
Miao Wang beaf2b19d0 add css polyfill for .nav.flex-column 2024-04-21 13:17:19 +08:00
Miao Wang 7ab0379dfa force use tersor to minify njs
because esbuild will generate export { ... as default } statements and
not supported by njs
2024-04-21 13:17:19 +08:00
Miao Wang c11d812eaf add a dummytype attribute for inline javascript minifier to work 2024-04-21 13:17:19 +08:00
Miao Wang 88adaa9ba4 transform non-default imports and exports using babel
since they are not supported by njs.

polyfill also added
2024-04-21 13:17:19 +08:00
Miao Wang d2f1d2d75b using vite to bundle njs scripts 2024-04-21 13:17:19 +08:00
Miao Wang e82195a2d4 vite: generate files under a directory in jekyll-cache
so that irrelevant cache files will not be included
2024-04-21 13:17:19 +08:00
Miao Wang 295d055537 extract data processing logic 2024-04-21 13:17:19 +08:00
Miao Wang bc4593151f add responsive support for legacy browsers 2024-04-21 13:17:19 +08:00
Miao Wang 21d4f2a1cb align seperators of bs3 with bs5 2024-04-21 13:17:19 +08:00
Miao Wang 9138dcf586 add polyfill for module supported browsers without dynamic import support 2024-04-21 13:17:19 +08:00
Miao Wang 87cff7f1b9 change polyfill code for Safari10 to unminified 2024-04-21 13:17:19 +08:00
Miao Wang 19109103be add css polyfill from bootstrap3 2024-04-21 13:17:19 +08:00
Miao Wang 3e6207b399 introduce polyfill for FormData for helpz
and remove DOMContentLoaded event listener
2024-04-21 13:17:19 +08:00
Miao Wang 6b9c11995d Status: fix spell error 2024-04-21 13:17:19 +08:00
Miao Wang e5e9c00c38 pass config through fd 2024-04-21 13:17:19 +08:00
Miao Wang b11d5564b3 bootstrap adjust
Prefer directly changing scss variable at build time
2024-04-21 13:17:19 +08:00
Miao Wang 07ac071cd9 polyfill adjustments 2024-04-21 13:17:19 +08:00
Miao Wang 839bb69d09 Using babel for polyfill js 2024-04-21 13:17:19 +08:00
Harry Chen 9e630b5877 Ignore more files in Jekyll config
Signed-off-by: Harry Chen <i@harrychen.xyz>
2024-04-21 13:17:19 +08:00
Harry Chen e27f2f90da Cleanup Jekyll dependencies
Signed-off-by: Harry Chen <i@harrychen.xyz>
2024-04-21 13:17:19 +08:00
Miao Wang 0febd6e554 fix jekyll-minifier exclude glob 2024-04-21 13:17:19 +08:00
Miao Wang 7f412ef033 clearify the usage of empty target 2024-04-21 13:17:19 +08:00
Miao Wang 545383baf0 add entries for visualizer
Cherry-Picked from ce05e10
2024-04-21 13:17:19 +08:00
Harry Chen c89c35060e Refine some imports
Signed-off-by: Harry Chen <i@harrychen.xyz>
2024-04-21 13:17:19 +08:00
Harry Chen 6f9fbcfe31 Format vite config as well
Signed-off-by: Harry Chen <i@harrychen.xyz>
2024-04-21 13:17:19 +08:00
Miao Wang bb9370aee7 polyfill! 2024-04-21 13:17:19 +08:00
Miao Wang 279e69e60f Fix unclosed tag
Fixes: d477b3ee
2024-04-21 13:17:19 +08:00
Miao Wang 702bfc49cf optimize legacyindex 2024-04-21 13:17:19 +08:00
Miao Wang 41618e6ed1 fix legacy script tag generation 2024-04-21 13:17:19 +08:00
Miao Wang 3fb7919da8 migrate images 2024-04-21 13:17:19 +08:00
Miao Wang be2e31503f migrate webfont 2024-04-21 13:17:19 +08:00
Miao Wang 5b189b9912 format all files in _src/ 2024-04-21 13:17:19 +08:00
Miao Wang 0da5a1739a move scripts to _src/ 2024-04-21 13:17:19 +08:00
Miao Wang c0d83d4e80 fancyindex move into vue 2024-04-21 13:17:19 +08:00
Miao Wang b6aba14bb0 extract mirror update field to separate component 2024-04-21 13:17:19 +08:00
Miao Wang b886c249d2 add reduced motion for status page 2024-04-21 13:17:19 +08:00
Miao Wang badddeec76 impl status mirror list 2024-04-21 13:17:19 +08:00
Miao Wang 14ffc4b8d5 make sync-status style scoped 2024-04-21 13:17:19 +08:00