diff --git a/README.md b/README.md index 2a22e72..08014ee 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,14 @@ -# gallery.code +# Coldemo Gallery & Playground -Visit: https://fritx.github.io/gallery.code/ +Visit: https://coldemo.github.io/ **Todo** - [ ] vscode tsconfig src/\* alias (being reverted by npm-run-dev) - [ ] antd4, safe js exec sandbox - see pureproxy -- [ ] storage list, reset btn, gh deploy +- [ ] storage list, reset btn, sandboxNode, batch-screenshot, responsive-improve +- [ ] lang ts/tsx/vue/py/rb/java +- [x] gh-pages, lang js/jsx, react/vue, umd-hack - [x] code read from url, storybook cards - [x] web worker for babel transform - [x] react-drag-sizing, gentleSpin diff --git a/package.json b/package.json index d8cbd8e..3efb893 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "typescript": "3.5.2" }, "scripts": { - "deploy": "npm run build && gh-pages -d ./build", + "deploy": "npm run build && gh-pages -d ./build -b master -r https://github.com/coldemo/coldemo.github.io", "dev": "npm start", "start": "react-scripts start", "build": "react-scripts build", diff --git a/public/code/hello-world.jsx.png b/public/code/hello-world.jsx.png index 12292ce..a03a7d2 100644 Binary files a/public/code/hello-world.jsx.png and b/public/code/hello-world.jsx.png differ diff --git a/src/AppRouter.tsx b/src/AppRouter.tsx index 37a6a8a..08a779b 100644 --- a/src/AppRouter.tsx +++ b/src/AppRouter.tsx @@ -13,7 +13,7 @@ function AppRouter() { - + diff --git a/src/gallery/page.css b/src/gallery/page.css index 571a950..ed64daa 100644 --- a/src/gallery/page.css +++ b/src/gallery/page.css @@ -38,6 +38,18 @@ } } +@media (max-width: 450px) { + .ant-card-body { + padding: 12px; + } + .ant-card-meta-title { + font-size: 12px; + } + .page-gallery .ant-card-cover { + height: 120px; + } +} + .page-gallery .ant-spin-nested-loading, .page-gallery .ant-spin-container { position: static;