Commit Graph

46 Commits

Author SHA1 Message Date
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 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 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 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
Harry Chen c89c35060e Refine some imports
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 702bfc49cf optimize legacyindex 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
Miao Wang 9dd20e063b reformat, change tab to space 2024-04-21 13:17:19 +08:00
Miao Wang 28da3dced1 split out mirrorlist fetching 2024-04-21 13:17:19 +08:00
Miao Wang 5855a7e573 fix popover handling 2024-04-21 13:17:19 +08:00
Miao Wang 8abf91aa01 diskbar implement in vue 2024-04-21 13:17:19 +08:00
Miao Wang fddc248af9 rewrite main mirror list with async 2024-04-21 13:17:19 +08:00
Miao Wang da15ad8558 treeshaking bootstrap 2024-04-21 13:17:19 +08:00
Harry Chen 2115269686 Tree-shake modules from hljs to reduce artifact size
Signed-off-by: Harry Chen <i@harrychen.xyz>
2024-04-21 13:17:18 +08:00
Harry Chen 59dc77fe75 Use prettier to format code
Signed-off-by: Harry Chen <i@harrychen.xyz>
2024-04-21 13:17:18 +08:00
Miao Wang 893083b089 remove thuhidden 2024-04-21 13:17:18 +08:00
Miao Wang 05d5d6ba63 404: move inline scripts to vite 2024-04-21 13:17:18 +08:00
Miao Wang 95c919773e add back hotkey for searchbox 2024-04-21 13:17:18 +08:00
Miao Wang c10467b093 remove bootstrap.js 2024-04-21 13:17:18 +08:00
Miao Wang 48d72f0fcf [WIP] using vue component 2024-04-21 13:17:18 +08:00
Miao Wang dc45aff46e remove useless files 2024-04-21 13:17:18 +08:00
Miao Wang a183708cf6 seperate style.scss 2024-04-21 13:17:18 +08:00
Miao Wang 5496373a19 extract style from help pages 2024-04-21 13:17:18 +08:00
Miao Wang d6821ab71b extract help scripts 2024-04-21 13:17:18 +08:00
Miao Wang c8fd12ed2e export consts to common files 2024-04-21 13:17:18 +08:00
Miao Wang 6307b5bba7 move isoModal to vue component 2024-04-21 13:17:18 +08:00
Miao Wang e014df8126 Basic vite rendering config 2024-04-21 13:17:18 +08:00