Skip to content

Commit

Permalink
Merge pull request #321 from reservoirprotocol/armando/grwth-3290-500…
Browse files Browse the repository at this point in the history
…-explorer-error-page

feat: 500 page
  • Loading branch information
pedromcunha authored Sep 19, 2023
2 parents 331edaf + c413e2f commit 18e1a04
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pages/500.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { NextPage } from 'next'
import { Text, Flex, Box } from 'components/primitives'
import Layout from 'components/Layout'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faWarning } from '@fortawesome/free-solid-svg-icons'

const IndexPage: NextPage = () => {
return (
<Layout>
<Flex
direction="column"
align="center"
css={{ py: '200px', px: '$3', textAlign: 'center' }}
>
<Box css={{ color: '$gray11', mb: '30px' }}>
<FontAwesomeIcon icon={faWarning} size="2xl" />
</Box>
<Text style="body1" color="subtle" css={{ mb: '$1' }}>
500 Error.
</Text>
<Text style="body1" color="subtle">
Something went wrong. Try refreshing or check back soon.
</Text>
</Flex>
</Layout>
)
}

export default IndexPage

1 comment on commit 18e1a04

@vercel
Copy link

@vercel vercel bot commented on 18e1a04 Sep 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.