-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: redesign component for unauth pages * feat: update nextjs to 14.1.0 version * feat: refactor profile and auth layout * feat: update pnpm lock file * feat: add lodash types to fe * feat: update dependencies on front-end * feat: add empty line at the end to css file
- Loading branch information
Showing
41 changed files
with
2,471 additions
and
2,980 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
export { default as Link } from './Link'; | ||
export { default as Table } from './Table'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,34 @@ | ||
import { useCallback } from 'react'; | ||
import { NextPage } from 'next'; | ||
import Head from 'next/head'; | ||
import router from 'next/router'; | ||
import { NextPage } from 'next'; | ||
import { Stack, Title, Text, Button } from '@mantine/core'; | ||
|
||
import { RoutePath } from 'routes'; | ||
|
||
const NotFound: NextPage = () => { | ||
const handleClick = useCallback(() => { | ||
router.push(RoutePath.Home); | ||
}, []); | ||
const NotFound: NextPage = () => ( | ||
<> | ||
<Head> | ||
<title>Page not found</title> | ||
</Head> | ||
|
||
return ( | ||
<> | ||
<Head> | ||
<title>Page not found</title> | ||
</Head> | ||
<Stack | ||
m="auto" | ||
w={328} | ||
h="100vh" | ||
justify="center" | ||
display="flex" | ||
> | ||
<Title order={2}>Oops! The page is not found.</Title> | ||
<Stack | ||
h="100vh" | ||
w={328} | ||
justify="center" | ||
m="auto" | ||
> | ||
<Title order={2}>Oops! The page is not found.</Title> | ||
|
||
<Text mx={0} mt={20} mb={24} c="gray.6"> | ||
The page you are looking for may have been removed, | ||
or the link you followed may be broken. | ||
</Text> | ||
<Text mx={0} mt={20} mb={24} c="gray.6"> | ||
The page you are looking for may have been removed, | ||
or the link you followed may be broken. | ||
</Text> | ||
|
||
<Button | ||
type="submit" | ||
onClick={handleClick} | ||
> | ||
Go to homepage | ||
</Button> | ||
</Stack> | ||
</> | ||
); | ||
}; | ||
<Button onClick={() => router.push(RoutePath.Home)}> | ||
Go to homepage | ||
</Button> | ||
</Stack> | ||
</> | ||
); | ||
|
||
export default NotFound; |
5 changes: 0 additions & 5 deletions
5
template/apps/web/src/pages/_app/PageConfig/MainLayout/Footer/index.module.css
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
template/apps/web/src/pages/_app/PageConfig/MainLayout/Footer/index.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.