From cbdbf006ea54b1402836dd5bb9cd77bf28d427ee Mon Sep 17 00:00:00 2001 From: Max Stoiber Date: Mon, 10 Dec 2018 09:35:46 +0100 Subject: [PATCH] Make it deploy-able --- README.md | 6 +++--- now.json | 14 ++++++++++++++ package.json | 1 - public/index.html | 2 +- 4 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 now.json diff --git a/README.md b/README.md index 894a185..f7ba063 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# Color Schemer +# [Color Schemer](https://colors.styled-components.com) -**[styled-components.com/color-schemer](https://styled-components.com/color-schemer/)** +**[colors.styled-components.com](https://colors.styled-components.com)** -[![The color schemer app](https://cloud.githubusercontent.com/assets/7525670/23553930/c8f83efc-001a-11e7-810a-7c7916dc1f29.png)](https://styled-components.com/color-schemer/) +[![The color schemer app](https://cloud.githubusercontent.com/assets/7525670/23553930/c8f83efc-001a-11e7-810a-7c7916dc1f29.png)](https://colors.styled-components.com) A demo React app built with [`💅 styled-components`](https://github.com/styled-components/styled-components) and [`✨ polished`](https://github.com/styled-components/polished). diff --git a/now.json b/now.json new file mode 100644 index 0000000..058eac5 --- /dev/null +++ b/now.json @@ -0,0 +1,14 @@ +{ + "version": 2, + "name": "color-schemer", + "builds": [ + { "src": "package.json", "use": "@now/static-build" } + ], + "routes": [ + {"src": "^/static/(.*)", "dest": "/static/$1"}, + {"src": "^/favicon.ico", "dest": "/favicon.ico"}, + {"src": "^/asset-manifest.json", "dest": "/asset-manifest.json"}, + {"src": "^/manifest.json", "dest": "/manifest.json"}, + {"src": "^/(.*)", "dest": "/index.html"} + ] +} \ No newline at end of file diff --git a/package.json b/package.json index 333ee34..a3c2a9f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,6 @@ "name": "colors", "version": "0.1.0", "private": true, - "homepage": "https://styled-components.com/color-schemer/", "devDependencies": { "gh-pages": "^0.12.0", "lint-staged": "^3.3.1", diff --git a/public/index.html b/public/index.html index 84d2e74..d1fc561 100644 --- a/public/index.html +++ b/public/index.html @@ -19,7 +19,7 @@ - +