A toy pastebin on Cloudflare Workers with E2EE, React frontend and S3-compatible storage backend
Go to file
Peter Cai 2b42e19ecb
fix transition between pages by using a custom LinkButton
by replacing everything with a `<Redirect/>` on switching, it produces a
short blink while the new page appears. But we cannot just use `<Link/>`
because an `<a>` cannot be "disabled". Wrapping `Link` around `button`
is invalid HTML5.

Instead, hack together a custom component for the job.
2020-02-19 19:17:57 +08:00
src fix transition between pages by using a custom LinkButton 2020-02-19 19:17:57 +08:00
.babelrc setup frontend project 2020-02-17 19:35:45 +08:00
.gitignore inital commit 2020-02-16 20:55:36 +08:00
config.json.example add config.json.example 2020-02-19 17:17:44 +08:00
index-web.js begin implementing paste function 2020-02-18 11:43:48 +08:00
index.js index.js: remove useless commented code 2020-02-17 17:01:59 +08:00
package-lock.json implement browser code viewer 2020-02-18 20:27:24 +08:00
package.json add publish 2020-02-18 21:47:58 +08:00
webpack.config.js support NODE_ENV 2020-02-18 18:46:28 +08:00
webpack.config.web.js styles: add mobile support 2020-02-19 15:37:45 +08:00