Skip to content

Commit

Permalink
Merge pull request #92 from jpcmf/develop
Browse files Browse the repository at this point in the history
Develop to Main
  • Loading branch information
jpcmf authored Dec 8, 2024
2 parents a3c7b60 + da3818f commit f73d16c
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 1 deletion.
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>
);
}

0 comments on commit f73d16c

Please sign in to comment.