From 9455770e63a2fb0d957c9749d915711183005423 Mon Sep 17 00:00:00 2001 From: M4rk9696 Date: Sun, 14 Apr 2019 21:50:04 +0530 Subject: [PATCH] chore: Small changes for v0.3.2 - Add css to make it responsive - Change zip structure to make it work in Firefox - Add quotes - Bump version --- README.md | 6 +++--- manifest.json | 2 +- package.json | 4 ++-- public/assets/quotes.json | 13 +++++++++---- public/global.css | 6 ++++-- 5 files changed, 19 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 959fac2..6c9fe09 100644 --- a/README.md +++ b/README.md @@ -12,14 +12,14 @@ Coming Soon ## Building from source -*Note that you will need to have [Node.js](https://nodejs.org) installed.* +*Note that you will need to have [Node.js](https://nodejs.org) and Yarn installed.* ```bash yarn install - NODE_ENV=production grunt + yarn build ``` -The final build will be in build folder. +The final build will be in home-blocks folder. * Go to Manage Extensions in Chrome * Select Developer Mode * Load Unpacked diff --git a/manifest.json b/manifest.json index 92b9776..4f02505 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Home Blocks", - "version": "0.0.2", + "version": "0.3.2", "description": "Custom home page!", "chrome_url_overrides": { "newtab": "index.html" diff --git a/package.json b/package.json index 9fbf894..4cd2def 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Home-Blocks", - "version": "0.3", + "version": "0.3.2", "devDependencies": { "@tivac/eslint-plugin-svelte": "^1.2.1", "cross-env": "^5.1.5", @@ -24,7 +24,7 @@ }, "scripts": { "dev_build": "cross-env NODE_ENV=development webpack --progress --colors --watch", - "build": "NODE_ENV=production grunt && zip -r home-blocks.zip home-blocks/", + "build": "NODE_ENV=production grunt && cd home-blocks; zip -r -FS ../home-blocks.zip *", "dev": "webpack-dev-server --hot --port 3000", "lint": "eslint --ext .html,.js src/", "test": "echo 'Add tests'" diff --git a/public/assets/quotes.json b/public/assets/quotes.json index b8976c4..3313cce 100644 --- a/public/assets/quotes.json +++ b/public/assets/quotes.json @@ -11,10 +11,12 @@ "inspiration": [ "He never lost heart, and never looked back. He marched in one direction, and that direction was dead ahead.", "Non Visum Vindere", + "You miss 100% of the shots you don't take", "Eyes are Useless when the Mind is Blind", "life is 10% what happens to me and 90% how I react to it", "Expect the Unexpected", - "I went to a bookstore and asked the saleswoman, “where’s the self-help section?” She said if she told me, it would defeat the purpose." + "I went to a bookstore and asked the saleswoman, “where’s the self-help section?” She said if she told me, it would defeat the purpose.", + "To live and let live" ], "zen": [ "無", @@ -22,6 +24,9 @@ "仏に逢えば仏を殺せ", "逢佛殺佛" ], + "other": [ + "In whatever way you identify with Me, in the same way do I carry out your wishes" + ], "philosophy": [ "Never attribute to malice that which is adequately explained by stupidity.", "Pluralitas non est ponenda sine necessitate", @@ -29,9 +34,9 @@ "Know thyself" ], "mark": [ - "Do not ask a question you know the answer to", - "Do not ask a question you do not want to know the answer to", - "Do not ask a question you do not want to be asked" + "Don't ask a question you know the answer to", + "Don't ask a question you don't want to know the answer to", + "Don't ask a question you don't want to be asked" ], "security": [ "MYSQL Server 5.5.45 secretly runs two parallel databases for people who say 'S-Q-L' and 'SEQUEL'", diff --git a/public/global.css b/public/global.css index d254dc4..e6763b6 100644 --- a/public/global.css +++ b/public/global.css @@ -66,8 +66,10 @@ button:focus { position: relative; } -.inline { - padding: 0 100px; +@media only screen and (min-width: 1000px) { + .inline { + padding: 0 100px; + } } .top-buttons, .bottom-buttons{