Commit graph

15 commits

Author SHA1 Message Date
spencerwooo
fef6b1eee5 functioncomponent -> react.fc 2022-01-06 19:25:10 +08:00
spencerwooo
6671986bac extract components and custom useFileContent hook 2022-01-06 16:34:16 +08:00
spencerwooo
172d0a97eb
sticky download button so long previews doesn't push buttons down, closes #205 2021-12-29 15:52:18 +08:00
spencerwooo
5bc8fc4a67
a better abstraction of download buttons 2021-12-29 15:23:47 +08:00
spencerwooo
59b00f2343
rename pdf preview component 2021-12-29 02:13:47 +08:00
spencerwooo
53539e2cd9
native pdf viewer with mozilla pdfjs 2021-12-29 02:13:17 +08:00
spencerwooo
a27cc18951
remove all shadows 2021-12-17 14:35:24 +08:00
cubercsl
02b71fe95d
fix(pdfpreview): Support for non-latin characters
As mentioned in
https://github.com/wojtekmaj/react-pdf#support-for-non-latin-characters,
pdf.js needs the bundled cMaps files to work.
2021-12-02 17:10:28 +08:00
spencerwooo
97a0eb91fc
format according to headwind sequence 2021-09-04 15:15:09 +01:00
spencerwooo
e374d5ba61
fix markdown bg and text colors 2021-08-29 15:32:27 +01:00
spencerwooo
ae8ada58ca
dark mode support, close #14 2021-08-23 16:14:08 +01:00
spencerwooo
c7813a7614 preview ms office files 2021-06-29 16:20:35 +01:00
spencerwooo
6e78ac80ad responsive pdf preview 2021-06-29 15:31:57 +01:00
spencerwooo
19b8212e1d add error page, download button 2021-06-25 15:15:00 +01:00
spencerwooo
a2f853259f add support for pdf previews with pdf.js 2021-06-25 00:42:46 +01:00