Commit Graph

31 Commits (796994d3afdb5c81f71e4a884b62b490fce3ef1f)

Author SHA1 Message Date
Mike Fix e1373ead8c nasa
Mike Fix 31747420d1 snippets and account pages
Michael Fix e0ed4bebdc Merge in 4.0.0 ()
* merge in 4.0

* dev mode with firebase impl

* useReducer for toasts state
Mike Fix d047e6394d fix synthwave filename, and minify
Adam Lusted b84474652c Added SynthWave '84 theme + Text Shadows ()
* - 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
Tim Neutkens 7fdda47816 Add autoExport ()
* 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
Michael Fix 876fc24859
Minify local CSS files ()
* minify custom css files

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

* update manifest to use desktop icon

* simplify next-offline config

* don't enable cache control on service workers
Mike Fix 54d8fff617 add desktop icon
Sean f6f0adee6b Add preset feature ()
* 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
RDIL a10c5ea777 [ImgBot] optimizes images ()
*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%)
zhao.zhang 2b6a91dfee feat: add atom one-light theme ()
Michael Fix d44fe06e28
Add files via upload
Michael Fix a9b25e05a3
Performance improvements ()
* 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
Michael Fix 86be3aae35
update spinner for react-codemirror2 ()
Michael Fix f018c454bf
Implement PWA functionality ()
* implement PWA functionality

* disable tweet button when offline

* just remove tweet button instead
briandennis f49b7649fb reorganize custom themes/modes
Ben Jervis f15d7a83e2 Adds Atom's One Dark theme ()
* 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
Michael Fix 7d95eb44b4
Improve Perf 1 ()
* Inline stylesheets

* Minify CSS

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

- Closes 

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