Buckets:
| import React from 'react' | |
| import { errorStyles, errorThemeCss, WarningIcon } from './error-styles' | |
| // This is the static 500.html page for App Router apps. | |
| // Always a server error, rendered at build time. | |
| function AppError() { | |
| return ( | |
| <html id="__next_error__"> | |
| <head> | |
| <title>500: This page couldn’t load</title> | |
| <style dangerouslySetInnerHTML={{ __html: errorThemeCss }} /> | |
| </head> | |
| <body> | |
| <div style={errorStyles.container}> | |
| <div style={errorStyles.card}> | |
| <WarningIcon /> | |
| <h1 style={errorStyles.title}>This page couldn’t load</h1> | |
| <p style={errorStyles.message}> | |
| A server error occurred. Reload to try again. | |
| </p> | |
| <form style={errorStyles.form}> | |
| <button type="submit" style={errorStyles.button}> | |
| Reload | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| </body> | |
| </html> | |
| ) | |
| } | |
| export default AppError | |
Xet Storage Details
- Size:
- 1.02 kB
- Xet hash:
- 5f12ad9a16339b83b1a25395503dbe1dc4e958ad0790dd5212d5e9f7d1b44ada
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.