-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ 71f7840 🚀
- Loading branch information
0 parents
commit 1563924
Showing
62 changed files
with
316 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"files": { | ||
"main.css": "/farmhand/static/css/main.e758b576.css", | ||
"main.js": "/farmhand/static/js/main.05605c7d.js", | ||
"service-worker.js": "/farmhand/service-worker.js", | ||
"static/media/scarecrow-animated.gif": "/farmhand/static/media/scarecrow-animated.61bc878f82695d368346.gif", | ||
"static/media/francois-one-latin-400.woff": "/farmhand/static/media/francois-one-latin-400.bea899e866c63ff4b80a.woff", | ||
"static/media/francois-one-latin-400.woff2": "/farmhand/static/media/francois-one-latin-400.187e9b298c79ac6e93ca.woff2", | ||
"static/media/public-sans-latin-800italic.woff": "/farmhand/static/media/public-sans-latin-800italic.a50182cce641a7aae04d.woff", | ||
"static/media/public-sans-latin-700italic.woff": "/farmhand/static/media/public-sans-latin-700italic.31511726b671c9cad22a.woff", | ||
"static/media/public-sans-latin-600italic.woff": "/farmhand/static/media/public-sans-latin-600italic.21f3532533d7d8320a10.woff", | ||
"static/media/public-sans-latin-500italic.woff": "/farmhand/static/media/public-sans-latin-500italic.6a71316ca3a1f36a648b.woff", | ||
"static/media/public-sans-latin-200italic.woff": "/farmhand/static/media/public-sans-latin-200italic.00ed3937cc62183a9115.woff", | ||
"static/media/public-sans-latin-400italic.woff": "/farmhand/static/media/public-sans-latin-400italic.c45e3653710d3e12bed1.woff", | ||
"static/media/public-sans-latin-300italic.woff": "/farmhand/static/media/public-sans-latin-300italic.5d548207ff9138aff29a.woff", | ||
"static/media/public-sans-latin-700.woff": "/farmhand/static/media/public-sans-latin-700.572c82e8545af3a571a0.woff", | ||
"static/media/public-sans-latin-800.woff": "/farmhand/static/media/public-sans-latin-800.7b91ab8638f118ab8fc5.woff", | ||
"static/media/public-sans-latin-600.woff": "/farmhand/static/media/public-sans-latin-600.71ea4d49899aa31ec53e.woff", | ||
"static/media/public-sans-latin-500.woff": "/farmhand/static/media/public-sans-latin-500.c787739d39b6a5d4a8d2.woff", | ||
"static/media/public-sans-latin-200.woff": "/farmhand/static/media/public-sans-latin-200.81fd88b5edd6f234cdbb.woff", | ||
"static/media/public-sans-latin-400.woff": "/farmhand/static/media/public-sans-latin-400.45f5fe63291cbc2f5652.woff", | ||
"static/media/public-sans-latin-300.woff": "/farmhand/static/media/public-sans-latin-300.a3eeb20e868bd1eec2dc.woff", | ||
"static/media/public-sans-latin-900italic.woff": "/farmhand/static/media/public-sans-latin-900italic.403075d50e03591c2fd8.woff", | ||
"static/media/public-sans-latin-100italic.woff": "/farmhand/static/media/public-sans-latin-100italic.a41937cedb0484121b02.woff", | ||
"static/media/public-sans-latin-900.woff": "/farmhand/static/media/public-sans-latin-900.43f15f7b0f86f59504d1.woff", | ||
"static/media/public-sans-latin-100.woff": "/farmhand/static/media/public-sans-latin-100.da01b0eb41749c205eea.woff", | ||
"static/media/public-sans-latin-700italic.woff2": "/farmhand/static/media/public-sans-latin-700italic.3ee9247dd73228cef13e.woff2", | ||
"static/media/public-sans-latin-600italic.woff2": "/farmhand/static/media/public-sans-latin-600italic.71fc2985318776b4781d.woff2", | ||
"static/media/public-sans-latin-800italic.woff2": "/farmhand/static/media/public-sans-latin-800italic.50209502bdca2aae5e2f.woff2", | ||
"static/media/public-sans-latin-500italic.woff2": "/farmhand/static/media/public-sans-latin-500italic.4b989493b20b3b897384.woff2", | ||
"static/media/public-sans-latin-400italic.woff2": "/farmhand/static/media/public-sans-latin-400italic.5023189cac17c5e52692.woff2", | ||
"static/media/public-sans-latin-200italic.woff2": "/farmhand/static/media/public-sans-latin-200italic.c127b9812285bbd2eb5d.woff2", | ||
"static/media/public-sans-latin-300italic.woff2": "/farmhand/static/media/public-sans-latin-300italic.f4fbfd515a8e62946dcd.woff2", | ||
"static/media/public-sans-latin-800.woff2": "/farmhand/static/media/public-sans-latin-800.182fcca1fe5162408c26.woff2", | ||
"static/media/public-sans-latin-600.woff2": "/farmhand/static/media/public-sans-latin-600.4c7a6f90db4c813e41a6.woff2", | ||
"static/media/public-sans-latin-500.woff2": "/farmhand/static/media/public-sans-latin-500.f5fd22233ddd6fe91c45.woff2", | ||
"static/media/public-sans-latin-300.woff2": "/farmhand/static/media/public-sans-latin-300.e4e22775a10cf75de3f6.woff2", | ||
"static/media/public-sans-latin-700.woff2": "/farmhand/static/media/public-sans-latin-700.c8f169a509369bbe4805.woff2", | ||
"static/media/public-sans-latin-200.woff2": "/farmhand/static/media/public-sans-latin-200.c47ed6dc68fa8eaf3d5f.woff2", | ||
"static/media/public-sans-latin-400.woff2": "/farmhand/static/media/public-sans-latin-400.64a746adc492de574f61.woff2", | ||
"static/media/public-sans-latin-900italic.woff2": "/farmhand/static/media/public-sans-latin-900italic.cf33a69946eff32d83d2.woff2", | ||
"static/media/public-sans-latin-100italic.woff2": "/farmhand/static/media/public-sans-latin-100italic.fdf8925aa37f9a47db1a.woff2", | ||
"static/media/public-sans-latin-900.woff2": "/farmhand/static/media/public-sans-latin-900.553e2ba13475217d776d.woff2", | ||
"static/media/public-sans-latin-100.woff2": "/farmhand/static/media/public-sans-latin-100.7a5c00e277f2e0458132.woff2", | ||
"index.html": "/farmhand/index.html", | ||
"main.e758b576.css.map": "/farmhand/static/css/main.e758b576.css.map", | ||
"main.05605c7d.js.map": "/farmhand/static/js/main.05605c7d.js.map" | ||
}, | ||
"entrypoints": [ | ||
"static/css/main.e758b576.css", | ||
"static/js/main.05605c7d.js" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
// From: https://www.section.io/engineering-education/desktop-application-with-react/ | ||
const path = require('path') | ||
|
||
const { app, BrowserWindow } = require('electron') | ||
const isDev = require('electron-is-dev') | ||
|
||
const { autoUpdater } = require('electron-updater') | ||
|
||
function createWindow() { | ||
// Create the browser window. | ||
const win = new BrowserWindow({ | ||
width: 1024, | ||
height: 768, | ||
webPreferences: { | ||
nodeIntegration: true, | ||
}, | ||
icon: path.join(__dirname, './app-icons/Icon-512x512.png'), | ||
}) | ||
|
||
// and load the index.html of the app. | ||
// win.loadFile("index.html"); | ||
const hostUrl = isDev | ||
? 'http://localhost:3000' | ||
: `file://${path.join(__dirname, '../build/index.html')}` | ||
|
||
win.loadURL(hostUrl) | ||
|
||
// Open the DevTools. | ||
if (isDev) { | ||
win.webContents.openDevTools({ mode: 'detach' }) | ||
} | ||
|
||
autoUpdater.checkForUpdatesAndNotify() | ||
} | ||
|
||
// This method will be called when Electron has finished | ||
// initialization and is ready to create browser windows. | ||
// Some APIs can only be used after this event occurs. | ||
app.whenReady().then(createWindow) | ||
|
||
// Quit when all windows are closed, except on macOS. There, it's common | ||
// for applications and their menu bar to stay active until the user quits | ||
// explicitly with Cmd + Q. | ||
app.on('window-all-closed', () => { | ||
if (process.platform !== 'darwin') { | ||
app.quit() | ||
} | ||
}) | ||
|
||
app.on('activate', () => { | ||
if (BrowserWindow.getAllWindows().length === 0) { | ||
createWindow() | ||
} | ||
}) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,user-scalable=no"/><meta name="theme-color" content="#ffe3a1"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-status-bar-style" content="black"/><link rel="manifest" href="/farmhand/manifest.json"/><link rel="shortcut icon" href="/farmhand/favicon.ico"/><link rel="apple-touch-icon" href="/farmhand/app-icons/ios-appicon-76-76.png"/><link rel="apple-touch-icon" sizes="120x120" href="/farmhand/app-icons/ios-appicon-120-120.png"/><link rel="apple-touch-icon" sizes="152x152" href="/farmhand/app-icons/ios-appicon-152-152.png"/><link rel="apple-touch-icon" sizes="180x180" href="/farmhand/app-icons/ios-appicon-180-180.png"/><title>Farmhand</title><style>html{background-color:#666;background-image:url('data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAACNUlEQVRoge2YPW7CMBTH/w+hIgTXQB1yCy6R3oA5GwzpwsIWqVtvUE7QjVtk4B4smV6HxE7i70BIK9U/yRLE9vuwn99zAkQikUgkEolEIr8FTaCDR9BplfGoA6rgUIRe33zyjKGhDvSE7XmnDTjhoxG98Au7bQEAh9VGnx8mg2ZeLY0u3L/aZoGN8U5yv0qfA1bDgwywCS0S0PoimwYt6nYklxMEAHOXnrstBACuWmO6j4sElJVgbsUTURuOtND6kHPtjOHM2nbAafyg1edKriIXSa+LHEfQ1dfF5MB4xk+A6sAkxnORyBXuhQ8AcNXr8x3k7hkYx3g19Ymz4JB30DqbOe8vXnXCAYalaKhx6+JEn/rDgHrwCNYsNMRwwGL8BGiHmItksPGhUFaOLjO0Ev9ZXIVsMvrh1/ktMpCliAG6A0RZyc8KIaAOIyFfXCP4fDaPTf3FbA6A+bYFrS8iEz2XnEEZAVkpDac0BQDvfxMzAKDV98N2ma7WPXLuFSXbqptoxhrrVB1CtPC9OASx5119n1dzv6eaqs4McW6GNmy08KGsvC/1cdVvHkwh4gqbLt4sxOdzLSwrx7vI5QxKSa601KHoFTR9QVnIiFCgvnzseWOZYeHY2rDEFZS+SvmmsOk4NSi5MBcJc5GItzHZOs/k2IFNzlviyktcQ8dbCdkBaoy39Y0BAeCvxuY32AuXyv+5SjzjIqbydseGmmaYvoKN8XXtKTpCd2CKT5BT6IhEIpGR+QG4Bej6ikQYYQAAAABJRU5ErkJggg==');background-position:center;background-repeat:no-repeat;background-size:200px;height:100vh;image-rendering:pixelated}</style><script>!function(){const t={"jeremyckahn.github.io":"G-SH37EG4NP9","www.farmhand.life":"G-3KRQX38CYH"}[window.location.host];if(!t)return void console.warn("Unrecognized domain. No analytics will be recorded.");const e=document.createElement("script");function n(){dataLayer.push(arguments)}e.setAttribute("async",""),e.setAttribute("src",`https://www.googletagmanager.com/gtag/js?id=${t}`),document.head.appendChild(e),window.dataLayer=window.dataLayer||[],n("js",new Date),n("config",t)}()</script><script defer="defer" src="/farmhand/static/js/main.05605c7d.js"></script><link href="/farmhand/static/css/main.e758b576.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"short_name": "Farmhand", | ||
"name": "Farmhand", | ||
"icons": [ | ||
{ | ||
"src": "favicon.ico", | ||
"sizes": "64x64 32x32 24x24 16x16", | ||
"type": "image/x-icon" | ||
}, | ||
{ | ||
"src": "logo192.png", | ||
"type": "image/png", | ||
"sizes": "192x192" | ||
}, | ||
{ | ||
"src": "logo512.png", | ||
"type": "image/png", | ||
"sizes": "512x512" | ||
}, | ||
{ | ||
"src": "logoMaskable.png", | ||
"type": "image/png", | ||
"purpose": "maskable", | ||
"sizes": "731x731" | ||
} | ||
], | ||
"start_url": "./index.html", | ||
"display": "standalone", | ||
"theme_color": "#ffe3a1", | ||
"background_color": "#ffffff" | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,165 @@ | ||
/* | ||
object-assign | ||
(c) Sindre Sorhus | ||
@license MIT | ||
*/ | ||
|
||
/*! | ||
Copyright (c) 2018 Jed Watson. | ||
Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
*/ | ||
|
||
/*! | ||
localForage -- Offline Storage, Improved | ||
Version 1.10.0 | ||
https://localforage.github.io/localForage | ||
(c) 2013-2017 Mozilla, Apache License 2.0 | ||
*/ | ||
|
||
/*! | ||
* @member farmhand.Farmhand#state | ||
* @type {farmhand.state} | ||
*/ | ||
|
||
/*! | ||
* @param {Object} [overrides] Data to patch into this.state when persisting. | ||
* @return {Promise} | ||
*/ | ||
|
||
/*! | ||
* @param {ServiceWorkerRegistration} registration | ||
*/ | ||
|
||
/*! | ||
* @param {boolean} [isFirstDay=false] | ||
*/ | ||
|
||
/*! | ||
* @param {farmhand.module:enums.dialogView} dialogView | ||
*/ | ||
|
||
/*! | ||
* @param {farmhand.state} prevState | ||
*/ | ||
|
||
/*! | ||
* prr | ||
* (c) 2013 Rod Vagg <rod@vagg.org> | ||
* https://github.com/rvagg/prr | ||
* License: MIT | ||
*/ | ||
|
||
/*! | ||
* @param {(farmhand.plotContent|farmhand.crop)?} plotContent | ||
* @returns {number?} | ||
*/ | ||
|
||
/*! | ||
* Determine if an object is a Buffer | ||
* | ||
* @author Feross Aboukhadijeh <https://feross.org> | ||
* @license MIT | ||
*/ | ||
|
||
/*! | ||
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com | ||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) | ||
*/ | ||
|
||
/*! | ||
* The buffer module from node.js, for the browser. | ||
* | ||
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org> | ||
* @license MIT | ||
*/ | ||
|
||
/*! | ||
* The buffer module from node.js, for the browser. | ||
* | ||
* @author Feross Aboukhadijeh <https://feross.org> | ||
* @license MIT | ||
*/ | ||
|
||
/*! | ||
* repeat-string <https://github.com/jonschlinkert/repeat-string> | ||
* | ||
* Copyright (c) 2014-2015, Jon Schlinkert. | ||
* Licensed under the MIT License. | ||
*/ | ||
|
||
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ | ||
|
||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ | ||
|
||
/** | ||
* @license IDBWrapper - A cross-browser wrapper for IndexedDB | ||
* Version 1.7.2 | ||
* Copyright (c) 2011 - 2017 Jens Arps | ||
* http://jensarps.de/ | ||
* | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
/** | ||
* @license React | ||
* react-is.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** @license React v0.20.2 | ||
* scheduler.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** @license React v16.13.1 | ||
* react-is.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** @license React v17.0.2 | ||
* react-dom.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** @license React v17.0.2 | ||
* react-jsx-runtime.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** @license React v17.0.2 | ||
* react.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/**! | ||
* is | ||
* the definitive JavaScript type testing library | ||
* | ||
* @copyright 2013 Enrico Marino | ||
* @license MIT | ||
*/ |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.