Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ And that's it! Your `SkateHub Frontend` should now be up and running locally on

### 2024

- 2024-12-07 - Add custom `404 error` page [#91](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/91) _(v0.1.28)_
- 2024-12-07 - Implement user profile update functionality in AuthContext [#89](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/89) _(v0.1.27)_
- 2024-12-07 - Create `textarea` form component [#88](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/88) _(v0.1.26)_
- 2024-11-19 - Add reCAPTCHA verification to sign-up process [#70](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/70) _(v0.1.25)_
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "skatehub-frontend",
"version": "0.1.27",
"version": "0.1.28",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
Binary file added public/error404.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions src/pages/404.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import Link from "next/link";
import Image from "next/image";
import { Container, Flex, Text } from "@chakra-ui/react";

export default function Error404() {
return (
<Container minHeight="100vh" display="flex" justifyContent="center" alignItems="center" flexDirection="column">
<Flex marginBottom="4">
<Image src="/error404.gif" alt="404 Page Not Found" width={475} height={267} quality={80} />
</Flex>
<Text as="h1" fontSize="4xl" fontWeight="bold" textAlign="center" color="red.500">
404 Página Não Encontrada
</Text>
<Text as="h2" fontSize="2xl" fontWeight="bold">
Oops! Algo deu errado.
</Text>
<Text as="p" marginTop="4" fontSize="lg" textAlign="center">
A página que você está procurando pode ter sido removida ou está temporariamente indisponível.
</Text>
<Flex marginTop="4">
<Link href="/">Voltar para a página inicial</Link>
</Flex>
</Container>
);
}
Loading