1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
Commit graph

18 commits

Author SHA1 Message Date
Naoyuki Kanezawa ef06aeee45 display error informations to top left (#615) 2017-01-01 22:32:42 -08:00
Naoyuki Kanezawa 0854855197 Fix meta and styles on error page (#600)
* set meta tag for mobile on error page

* make error page center
2017-01-01 11:36:17 -08:00
Naoyuki Kanezawa a87ef1a7af Incorporate styled-jsx (#420)
* integrate styled-jsx

* define styles of pages with styled-jsx

* bump styled-jsx

* bump styled-jsx

* error-debug: fix style

* bump styled-jsx

* fix examples to use styled-jsx

* bump styled-jsx
2016-12-19 10:42:19 -08:00
Naoyuki Kanezawa 8ddafaea5c custom document support (#405) 2016-12-16 10:42:40 -08:00
Naoyuki Kanezawa c7ba914f52 Handle runtime errors (#268)
* display runtime errors by error-debug

* server: fix status

* render Error component on client error

* server: render runtime errors of error template

* server: handle errors of error template on render404

* server: add a comment

* server: refactor renderJSON

* recover from runtime errors

* _error: check if xhr exists

* _error: improve client error

* _error: improve error message
2016-11-24 23:03:16 +09:00
mattcass 6a4da38d6b issue #254 vertically center default error (#258)
* issue #254 vertically center default error

* add ie responsive support
2016-11-16 16:29:58 -08:00
nkzawa 512067bb0a fix error-debug style 2016-11-15 02:31:42 +09:00
nkzawa b56428529d new color scheme for debug error page 2016-11-06 02:02:57 +09:00
nkzawa ef409af453 Revert "Revert "Add syntax highlighting to debug error page" (#197)"
This reverts commit f4ae99fc54.
2016-11-06 00:15:54 +09:00
Naoyuki Kanezawa f4ae99fc54 Revert "Add syntax highlighting to debug error page" (#197) 2016-11-04 21:23:00 +09:00
David Street bce4434db9 Add syntax highlighting to debug error page (#195) 2016-11-04 17:16:29 +09:00
Cole c5bbff412b Update system font stacks on error pages (#157)
* Enhance system font stack on _error.js

`-apple-system` = SF on Safari (macOS/iOS)
`BlinkMacSystemFont` = SF on Chrome (macOS)
`Roboto` for Android
`Segoe UI` for Windows
`Fira Sans` for Firefox OS
`Avenir` for pre-SF macOS
`Helvetica Neue, Lucida Grande` for older macOS

* Enhance system font stacks on _error-debug.js

Updates fonts to use better quality system fonts where commonly available
2016-10-30 15:07:18 +09:00
Ilmari Vacklin c69686b5fc Use -apply-system font on error page (#140)
The CSS rule on the error page doesn't work and the text on the page isn't rendered in SF UI Text. If we want to use SF on the error page, then, at least in Safari, we can use `-apply-system` as the font family.

I also added a fallback to sans-serif, just to be explicit.
2016-10-28 20:00:41 +02:00
nkzawa 83400a8f38 fix usage of next/css 2016-10-25 17:16:54 +09:00
Dan Zajdband e164074f8e Added glamor css (#38)
* Added glamor css

* Using pseudoclasses instead of calling functions

* Updated readme using style instead of default import for css
2016-10-21 09:39:20 -07:00
nkzawa 2e2db37ccb add error page for debug 2016-10-19 21:41:45 +09:00
nkzawa 1be8447a26 Merge branch 'master' into add/hot-reload 2016-10-17 11:10:16 +09:00
nkzawa 26e6193a97 hot-reload: initial 2016-10-15 00:05:08 +09:00