32 Commits (bd2c6aec2b7b0db5db4f2210ebc710b9bbe98564)

Author SHA1 Message Date
Michael Fix 3abed8be72 Old TODOs / PWA work (#866)
* old TODOs

* fix up old next-offline TODO

* undo changes

* add apple touch icon
5 years ago
Mike Fix e1373ead8c nasa 5 years ago
Mike Fix 31747420d1 snippets and account pages 5 years ago
Michael Fix e0ed4bebdc Merge in 4.0.0 (#850)
* merge in 4.0

* dev mode with firebase impl

* useReducer for toasts state
5 years ago
Mike Fix d047e6394d fix synthwave filename, and minify 5 years ago
Adam Lusted b84474652c Added SynthWave '84 theme + Text Shadows (#810)
* - Added ability to set optional `text-shadows` on themes.
- Extended `THEMES` to include optional `shadows` setting.
- Added SynthWave '84 theme. See https://github.com/robb0wen/synthwave-vscode

* - Changed ID of `SynthWave-84` theme to `synthwave-84`
- Added synthwave-84 to LOCAL_STYLESHEETS
- Migrated SynthWave-84 theme to `static/themes/synthwave-84.css`
- reverted a few things from 3f9daaf9ecee4561f9fad1bbdb8f38fd58a631c6
  - Reverted global text-shadows
  - Reverted constants.js/themes model changes.

* Update Meta.js
5 years ago
Tim Neutkens 7fdda47816 Add autoExport (#782)
* Add autoExport

* Upgrade Next.js

* Upgrade Next.js

* export service worker to /public

* fix service worker build - file exported to /public (unwanted)

* next next@canary

* try to fix SW

* try to fix SW

* add back _next routing for now

* try a mix of configs

* Fix service-worker serving

* Remove _next route

* Next 9

* move stuff back into /static

* fix service-worker

* don't use canary next builds

* static/banner.png -> static/brand/banner.png

* remove now-build script
5 years ago
Michael Fix 876fc24859
Minify local CSS files (#811)
* minify custom css files

* add .min to local CSS files
5 years ago
Mike Fix 7b5ef35e98 improve the /about page 6 years ago
Michael Fix f5a1541389
robots.txt (#772) 6 years ago
Mike Fix 52692044ea add social banner 6 years ago
Michael Fix 117b4f021a
Add offline support (#699)
* add offline support

* update manifest to use desktop icon

* simplify next-offline config

* don't enable cache control on service workers
6 years ago
Mike Fix 54d8fff617 add desktop icon 6 years ago
Sean f6f0adee6b Add preset feature (#595)
* Add preset feature without create

* fix lint errors

* Add presets to Editor state

* add remove, update -> apply, omit presets

* replace name with index, add undo functionality

* fix reduce function

* Tweaks:

- Make remove filter setState atomic
- Remove broken sCU in BackgroundSelect
- Touch up style of arrow functions a little
- Remove titleBar from default settings
- Don't expose SETTINGS_KEYS
- Use hasOwnProperty instead of includes()

* refactor preset state into Settings

* move format code into editor and make it work again

* omit custom in applyPreset

* move presets array state into Settings

* keep custom sCU in BackgroundSelect

* pull out inline objects

* revert pages/index

* increase Presets font-size, remove margin-top

* Add ability to create presets

* also enable passing exportSize as prop

* move selectedPreset back into Settings (my bad Sean)

* replace splice with filter, getSavedX -> getX

* Revert "move selectedPreset back into Settings (my bad Sean)"

This reverts commit ae5da4700ea36ad7c31e697e83a2724be4b448f4.

* make sure background updates remove selected preset

* selectedPreset -> preset

* use onChange instead of selectPreset

* use preset id's instead of indexes

* bug fixes

* use disabled instead of pointer-events

* make .settings-presets-applied flex 💪

* make .settings-presets-arrow flex 💪

* move getPresets outside of `setState`

* move inline styles to style tag

* refactor using omitBy and isFunction

* remove lodash.isfunction

* fix applyPreset to disclude preset field

* move omit to getSettingsFromProps

* replace lodash.omit with omitBy solution

* .includes -> .indexOf

* add default preset and presetApplied state

* fix lint error

* remove presetApplied

* add more default presets

* fix default preset functionality

* tweaks

* preserve preset list scrollLeft b/w updates with a hack

* Use ref for preset content

* remove forwardRef
6 years ago
RDIL a10c5ea777 [ImgBot] optimizes images (#536)
*Total -- 401.09kb -> 183.65kb (54.21%)

/static/brand/logo-banner-transparent.png -- 148.38kb -> 59.75kb (59.73%)
/static/brand/logo-banner.png -- 114.03kb -> 50.66kb (55.58%)
/static/banner.png -- 44.72kb -> 22.02kb (50.77%)
/static/brand/logo-square.png -- 75.91kb -> 41.18kb (45.75%)
/static/brand/icon.png -- 18.05kb -> 10.04kb (44.39%)
6 years ago
zhao.zhang 2b6a91dfee feat: add atom one-light theme (#499) 6 years ago
Michael Fix d44fe06e28
Add files via upload 6 years ago
Michael Fix a9b25e05a3
Performance improvements (#458)
* Performance improvements

- Use font-display: swap
- Preload CSS links
- Compress all request payloads

* inline react spinner css

* remove @zeit/next-css, move custom themes to static

* update contributing docs

* spinner styles

* move spinner back to top level

* load codemirror synchronously
6 years ago
Michael Fix 86be3aae35
update spinner for react-codemirror2 (#470) 6 years ago
Michael Fix f018c454bf
Implement PWA functionality (#455)
* implement PWA functionality

* disable tweet button when offline

* just remove tweet button instead
6 years ago
briandennis f49b7649fb reorganize custom themes/modes 7 years ago
Ben Jervis f15d7a83e2 Adds Atom's One Dark theme (#319)
* Adds Atom's One Dark theme

* Moves one-dark.css into static

* Moves the file from a stylesheet link to an import

* Removes the link from constants
7 years ago
Michael Fix 7d95eb44b4
Improve Perf 1 (#282)
* Inline stylesheets

* Minify CSS

* Use Next CSS imports instead
7 years ago
Jake Dexheimer cbc6824b83 Background image settings (#169)
* Implement drag-n-drop image for backgrounds

- Closes #122

* In progress

* Add background-size, background-position settings

* Add ReactCrop

* Remove old bg sizing sliders

* Add resize observer

* Fix typo

* Disable select on sliders

* onAspectRatioChange hook

* Rename to backgroundColor

* Fix state issues

* Add backgroundMode toggle

* Rename ColorPicker

* Add upload-image margin

* Minor font-size change

* Fix build
7 years ago
Jake Dexheimer d5e2993a25 Add brand assets 7 years ago
Jake Dexheimer dac21e89cc Remove redundant css 7 years ago
Jake Dexheimer 0dd2198bd5 Add twitter banner 7 years ago
Jake Dexheimer 109edb660d Add social meta tags 7 years ago
Jake Dexheimer bf374f1728 Clean up styles
- Move globals out of Meta component
- Create style components for Reset and TypeSystem
7 years ago
Jake Dexheimer 641dfd90a7 Add type-system.css 7 years ago
briandennis 88edd12827 fix jank on editor load with spinner 8 years ago
Jake Dexheimer d99ea801be Add meta component 8 years ago