MCPcopy Create free account
hub / github.com/dailydotdev/apps / ServerError

Function ServerError

packages/shared/src/components/errors/ServerError.tsx:15–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13import { Image } from '../image/Image';
14
15function ServerError(): ReactElement {
16 return (
17 <div className="flex max-h-full w-full flex-col items-center justify-center gap-4 self-center text-center laptop:w-[21.25rem] laptop:max-w-[21.25rem]">
18 <Image
19 className="h-40 w-40 object-contain"
20 src={cloudinaryCharmSomethingWentWrong}
21 alt="daily.dev charm — something went wrong"
22 loading="lazy"
23 />
24 <Typography type={TypographyType.LargeTitle} bold>
25 Production is down
26 <br />
27 (FML)
28 </Typography>
29 <Typography
30 type={TypographyType.Body}
31 bold
32 color={TypographyColor.Tertiary}
33 >
34 Our team&apos;s on it! Try refreshing the page and cross your fingers,
35 or send our engineers some good vibes on X (Twitter).
36 </Typography>
37 <Button
38 variant={ButtonVariant.Subtle}
39 className="w-full"
40 icon={<TerminalIcon />}
41 href={statusPage}
42 target="_blank"
43 rel={anchorDefaultRel}
44 tag="a"
45 >
46 Check system status
47 </Button>
48 <Button
49 variant={ButtonVariant.Subtle}
50 className="w-full"
51 icon={<TwitterIcon />}
52 href={twitter}
53 target="_blank"
54 rel={anchorDefaultRel}
55 tag="a"
56 >
57 Cheer our engineers
58 </Button>
59 </div>
60 );
61}
62export default ServerError;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected