From 3089c461fd3eb57687ac3960efd89ed45512f08c Mon Sep 17 00:00:00 2001 From: Luis Alvarez Date: Thu, 10 Oct 2019 18:39:56 -0500 Subject: [PATCH] Updated multiple examples to use /public --- examples/blog-starter/components/head.js | 1 - examples/blog-starter/posts/rss-feed.js | 2 +- .../blog-starter/{static => public}/favicon.ico | Bin .../blog-starter/{ => public}/static/_jolvera.png | Bin examples/blog-starter/{ => public}/static/next.svg | 0 .../{ => public}/static/site-feature.png | Bin .../components/head.js | 1 - .../{static => public}/favicon.ico | Bin .../{ => public}/static/instantsearch.css | 0 examples/with-asset-imports/README.md | 4 ++-- examples/with-asset-imports/pages/index.js | 2 +- .../with-asset-imports/{static => public}/logo.png | Bin .../{ => public}/static/img/angular.jpg | Bin .../{ => public}/static/img/nextjs.png | Bin .../{ => public}/static/img/reactjs.png | Bin .../with-noscript/{ => public}/static/img/vuejs.png | Bin examples/with-react-md/README.md | 4 ++-- examples/with-react-md/pages/index.js | 5 +---- .../public/react-md.light_blue-yellow.min.css | 1 + .../static/react-md.light_blue-yellow.min.css | 1 - 20 files changed, 8 insertions(+), 13 deletions(-) rename examples/blog-starter/{static => public}/favicon.ico (100%) rename examples/blog-starter/{ => public}/static/_jolvera.png (100%) rename examples/blog-starter/{ => public}/static/next.svg (100%) rename examples/blog-starter/{ => public}/static/site-feature.png (100%) rename examples/with-algolia-react-instantsearch/{static => public}/favicon.ico (100%) rename examples/with-algolia-react-instantsearch/{ => public}/static/instantsearch.css (100%) rename examples/with-asset-imports/{static => public}/logo.png (100%) rename examples/with-noscript/{ => public}/static/img/angular.jpg (100%) rename examples/with-noscript/{ => public}/static/img/nextjs.png (100%) rename examples/with-noscript/{ => public}/static/img/reactjs.png (100%) rename examples/with-noscript/{ => public}/static/img/vuejs.png (100%) create mode 100644 examples/with-react-md/public/react-md.light_blue-yellow.min.css delete mode 120000 examples/with-react-md/static/react-md.light_blue-yellow.min.css diff --git a/examples/blog-starter/components/head.js b/examples/blog-starter/components/head.js index 3b57c05c88277..e01831d4a8e54 100644 --- a/examples/blog-starter/components/head.js +++ b/examples/blog-starter/components/head.js @@ -18,7 +18,6 @@ const Head = props => ( content={props.description || defaultDescription} /> - ( - diff --git a/examples/with-asset-imports/static/logo.png b/examples/with-asset-imports/public/logo.png similarity index 100% rename from examples/with-asset-imports/static/logo.png rename to examples/with-asset-imports/public/logo.png diff --git a/examples/with-noscript/static/img/angular.jpg b/examples/with-noscript/public/static/img/angular.jpg similarity index 100% rename from examples/with-noscript/static/img/angular.jpg rename to examples/with-noscript/public/static/img/angular.jpg diff --git a/examples/with-noscript/static/img/nextjs.png b/examples/with-noscript/public/static/img/nextjs.png similarity index 100% rename from examples/with-noscript/static/img/nextjs.png rename to examples/with-noscript/public/static/img/nextjs.png diff --git a/examples/with-noscript/static/img/reactjs.png b/examples/with-noscript/public/static/img/reactjs.png similarity index 100% rename from examples/with-noscript/static/img/reactjs.png rename to examples/with-noscript/public/static/img/reactjs.png diff --git a/examples/with-noscript/static/img/vuejs.png b/examples/with-noscript/public/static/img/vuejs.png similarity index 100% rename from examples/with-noscript/static/img/vuejs.png rename to examples/with-noscript/public/static/img/vuejs.png diff --git a/examples/with-react-md/README.md b/examples/with-react-md/README.md index 0e262679130b7..26bb9f3620eef 100644 --- a/examples/with-react-md/README.md +++ b/examples/with-react-md/README.md @@ -27,11 +27,11 @@ Install it and run: ```bash npm install -ln -f -s ../node_modules/react-md/dist/react-md.light_blue-yellow.min.css static/react-md.light_blue-yellow.min.css +ln -f -s ../node_modules/react-md/dist/react-md.light_blue-yellow.min.css public/react-md.light_blue-yellow.min.css npm run dev # or yarn -ln -f -s ../node_modules/react-md/dist/react-md.light_blue-yellow.min.css static/react-md.light_blue-yellow.min.css +ln -f -s ../node_modules/react-md/dist/react-md.light_blue-yellow.min.css public/react-md.light_blue-yellow.min.css yarn dev ``` diff --git a/examples/with-react-md/pages/index.js b/examples/with-react-md/pages/index.js index 13a76b185a3aa..275c8969c11f9 100644 --- a/examples/with-react-md/pages/index.js +++ b/examples/with-react-md/pages/index.js @@ -73,10 +73,7 @@ export default () => { return (
- +