mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-11-04 08:05:42 +00:00 
			
		
		
		
	feat: internal server error page
This commit is contained in:
		
							
								
								
									
										21
									
								
								site/src/pages/internal-server-error.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								site/src/pages/internal-server-error.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
import { Button, Paper, Text } from "@mantine/core";
 | 
			
		||||
import { Layout } from "../components/layouts/layout";
 | 
			
		||||
 | 
			
		||||
export const InternalServerError = () => {
 | 
			
		||||
  return (
 | 
			
		||||
    <Layout>
 | 
			
		||||
      <Paper shadow="md" p={30} mt={30} radius="md" withBorder>
 | 
			
		||||
        <Text size="xl" fw={700}>
 | 
			
		||||
          Internal Server Error
 | 
			
		||||
        </Text>
 | 
			
		||||
        <Text>
 | 
			
		||||
          An error occured on the server and it currently cannot serve your
 | 
			
		||||
          request.
 | 
			
		||||
        </Text>
 | 
			
		||||
        <Button fullWidth mt="xl" onClick={() => window.location.replace("/")}>
 | 
			
		||||
          Try again
 | 
			
		||||
        </Button>
 | 
			
		||||
      </Paper>
 | 
			
		||||
    </Layout>
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
		Reference in New Issue
	
	Block a user