diff --git a/main/static/icon.icns b/main/static/icon.icns index e1d79ee..45221af 100644 Binary files a/main/static/icon.icns and b/main/static/icon.icns differ diff --git a/main/static/icon.ico b/main/static/icon.ico index b6bd419..01a6193 100644 Binary files a/main/static/icon.ico and b/main/static/icon.ico differ diff --git a/main/static/icon.png b/main/static/icon.png index 2f80a03..2ad4063 100644 Binary files a/main/static/icon.png and b/main/static/icon.png differ diff --git a/package.json b/package.json index 5ca073b..59bb0c1 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "taskr", + "name": "Taskr", "version": "0.4.0", "description": "A simple task manager app", "main": "main/index.js", @@ -17,15 +17,9 @@ }, "build": { "appId": "taskr", - "files": [ - "**/*", - "!renderer", - "renderer/out" - ], + "files": ["**/*", "!renderer", "renderer/out"], "win": { - "target": [ - "squirrel" - ], + "target": ["squirrel"], "icon": "main/static/icon.ico" }, "mac": { @@ -33,10 +27,7 @@ "icon": "main/static/icon.icns" }, "linux": { - "target": [ - "AppImage", - "deb" - ] + "target": ["AppImage", "deb"] } }, "dependencies": { @@ -70,11 +61,7 @@ "xo": "^0.18.2" }, "xo": { - "extends": [ - "prettier", - "prettier/react", - "plugin:react/recommended" - ], + "extends": ["prettier", "prettier/react", "plugin:react/recommended"], "rules": { "react/no-unescaped-entities": 0, "react/react-in-jsx-scope": 0, @@ -85,13 +72,8 @@ "no-return-assign": 0, "import/prefer-default-export": 0 }, - "ignores": [ - "node_modules" - ], - "globals": [ - "localStorage", - "document" - ] + "ignores": ["node_modules"], + "globals": ["localStorage", "document"] }, "lint-staged": { "*.js": [ diff --git a/renderer/components/icons/logo.js b/renderer/components/icons/logo.js new file mode 100644 index 0000000..71f2bd4 --- /dev/null +++ b/renderer/components/icons/logo.js @@ -0,0 +1,29 @@ +'use strict' + +const Logo = () => { + return ( + + + + + + + + + + + ) +} + +export default Logo diff --git a/renderer/pages/start.js b/renderer/pages/start.js index 802c2b7..3d59b15 100644 --- a/renderer/pages/start.js +++ b/renderer/pages/start.js @@ -10,6 +10,7 @@ import Page from './../layouts/page' // Components import Row from './../components/row' +import Logo from './../components/icons/logo' // Services import { getCookie } from './../services/cookies' @@ -42,25 +43,7 @@ class Start extends Component {
- - - - - - - - +

Taskr

A simple task manager app

diff --git a/renderer/services/local-storage.js b/renderer/services/local-storage.js index 822d5d2..81022f4 100644 --- a/renderer/services/local-storage.js +++ b/renderer/services/local-storage.js @@ -14,7 +14,8 @@ export const getUser = () => { user: { tasks: [], createOn: 'Today', - onboard: false + onboard: false, + pro: false } } diff --git a/renderer/services/settings.js b/renderer/services/settings.js index 2cd32ba..1ffc1ef 100644 --- a/renderer/services/settings.js +++ b/renderer/services/settings.js @@ -8,7 +8,7 @@ const { remote } = require('electron') const { writeJSON, readJson } = require('fs-extra') // Services -const { getUser, updateUser } = require('./api') +const { getUser, updateUser } = require('./local-storage') const notify = require('./notify') export const exportUser = () => {