231 Commits (85be5281c6bfceb67ecf2049de325037dbe7feb2)

Author SHA1 Message Date
Mike Fix cba075a613
proactively defend against falsey snippets 3 years ago
aymanesarrar 0e95506d35
eslint config for nextjs (#1322)
* eslint config for nextjs

* removed plugins, settings, parser from the config

* changed the script to next lint and installed the eslint next config package

* lint fixes

* move to dev dependencies

* remove unnecessary rules

* remove unnecessary babel deps

* lint on root dir

Co-authored-by: Mike Fix <mrfix84@gmail.com>
3 years ago
Mike Fix c76585e800
remove micro 3 years ago
Mike Fix a327b44e0c
move image/ to pages/ (#1301) 3 years ago
Mike Fix 3aef99b033
fix register on dev 3 years ago
Michael Fix 0e7fc9f916
Try out next-pwa (#1056)
* try our next-pwa

* remove unregister

* skip waiting
3 years ago
Rizda Dwi Prasetya ea050b4335
fix no longer valid gist-based carbon url example in `about` page. (#1261)
* fix no longer valid gist based carbon url example

* add new content contributor

* keep text as is on /about

Co-authored-by: Mike Fix <mrfix84@gmail.com>
3 years ago
Mike Fix c70de8f116
move oembed api routes to pages/ 3 years ago
Bereket Semagn aeafb93d9f
Added contributors page 🎉 (#1193)
* Added contributors page

* Updated contributors page

* Removed contributors.js file

* undo some changes

* clean up code

* undo more changes

* simplify transition

Co-authored-by: Mike Fix <mrfix84@gmail.com>
4 years ago
Michael Fix 91a7e49e99
remove mock stripe (#1191) 4 years ago
Michael Fix e6950a0029
improve keyboard shortcuts (#1159) 4 years ago
Michael Fix 75c925db84
fix issue 1138 (#1139) 4 years ago
M. Bagher Abiat d863fdec1d
Anonymous functions (#1111)
* Theme.js file anonymous functoins warning disabled.

* Settings.js file anonymous functoins warning disabled.

* About.js file anonymous functoins warning disabled.

* Snippets.js file anonymous functoins warning disabled.

* Logo.js file anonymous functoins warning disabled.

* Reset.js file anonymous functoins warning disabled.

* Language.js file anonymous functoins warning disabled.

* Typography.js file anonymous functoins warning disabled.

* Font.js file anonymous functoins warning disabled.

* Billing.js file anonymous functoins warning disabled.

* all anonymous functoins warning disabled with the prefered style.

* Update components/Billing.js

Co-authored-by: Michael Fix <mrfix84@gmail.com>

Co-authored-by: Michael Fix <mrfix84@gmail.com>
4 years ago
Mike Fix 8a3c964649
fix typo 4 years ago
Michael Fix 361d170f7e
remove transparent row (#1084) 4 years ago
Mike Fix d033baf749
remove unused state from Embed/index 4 years ago
Mike Fix c733d8dd93
make main window flex box so announcement always renders correctly 4 years ago
Max Filenko af9437fc01
Fix broken link (#1061)
When 'Contribute' header in the README file was changed by b6995ff
to 'Contribute & Support' the link on the about page wasn't updated
accordingly.
4 years ago
Mike Fix d627e132f9
update keyboard shortcuts in /about 4 years ago
Michael Fix fb917d01a9
Fix a11y dark embed (#1019)
* fix a11y-dark embed bug

Closes #1018

* extract global highlights into a component
5 years ago
Michael Fix 042a20b60e
allow passing filename query param to get snippet (#1007) 5 years ago
Mike Fix 4ab1cf5360
import Fonts in embeds
- Closes #993
5 years ago
Michael Fix 419070e895
Snippets name input (#992)
* snippets name input

* set 'name' property

* code

* update snippet name in /snippets

* fix imports

* snippet name -> add a name
5 years ago
Mike Fix 3061b5d08b
use next/document Html 5 years ago
Michael Fix fdcde85a48
Use getServerSideProps (#982)
* use getServerSideProps

* return host too
5 years ago
Michael Fix ae9b4445f1
run prettier with new config (#983)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
5 years ago
Michael Fix 3acbd9ef9c
New copy action menu (#970)
* move copy actions to a new menu

* clean up copy menu

* clean up export menu

* move flex into reset styles

* use real ellipses

* fix copy menu id and classNames

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
5 years ago
Catalin Miron 9dfdd96c82
Show `Sign Out` only for logged in users (#961) 5 years ago
Mike Fix 36930c8cf2
update exports
- Closes #915
5 years ago
Mike Fix 40bf2160cd
move next head to /pages/account 5 years ago
Mike Fix d186958075
move stripe out of head 5 years ago
Michael Fix 10cc6fdb93
Improve mobile UI (#875)
* make toolbar fit window on mobile

* don't prefetch /about

* improve /about page

* fix layout for /account and /snippets

* fix img on /about mobile

* unneeded change
5 years ago
Michael Fix 31b5b99598 Kbd elements in about (#871)
* WIP

* improve /about with keyboard shortcuts

* clean up about styles
5 years ago
Mike Fix e4da412d83 move to use meta and shift symbols to define keyboard listening 5 years ago
Mike Fix 1c3ef894e3 move /snippets list auth header code into lib 5 years ago
Mike Fix ed056e39d2 fix snippets list request auth 5 years ago
Mike Fix e1373ead8c nasa 5 years ago
Mike Fix 1372a4066d create delete button from /snippets 5 years ago
Mike Fix 31747420d1 snippets and account pages 5 years ago
Mike Fix 044e000788 improve about page 5 years ago
Mike Fix 0d26638d1d remove routing TODO 5 years ago
Mike Fix f3e912d999 SSR embeds 5 years ago
Mike Fix 37c546437b fix embeds for now 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
Chris Brown d5fd308828 Update about.js (#847) 5 years ago
Michael Fix 552a9c99be
Store Unsplash background image not dataturl (#836)
* store background image, not background selection in presets

* move localStorage into save utils

* curry omit util fn

* clean up manual image upload by URL

* refactor image changes

* separate uploadImage from selectImage

* upgrade visual regression testing tests

* add TODOs
5 years ago
Michael Fix 4ec70a2bf6
Repository changes from org change (#840)
* dawnlabs -> carbon-app

* update READMEs

* remove logo from translated readmes

* change project link

* update license

* remove case study link from translated READMEs
5 years ago
Michael Fix 1cdaa6f13a
send embed postmessage to top window (#821) 5 years ago
Mike Fix 875f1782d6 add immediate timeout for embed postMessage 5 years ago
Michael Fix e82e95c093
use eitherx to implement index page boundary (#805) 5 years ago