Skip to content

Commit

Permalink
feat(about): add new pages for about section
Browse files Browse the repository at this point in the history
Three new files have been added to the about section of the frontpage application:
- `addpage.tsx`: This file exports the `AddPage` component from the `EditablePages` feature and sets the access level to `private`.
- `notfound.tsx`: This file exports the `NotFoundError` component from the `common/components/errors` directory and sets the access level to `public`.
- `notfoundauth.tsx`: This file exports the `NotFoundErrorAuth` component from the `common/components/errors` directory and sets the access level to `public`.

These new pages have been added to enhance the functionality and user experience of the about section in the frontpage application.
  • Loading branch information
ktun95 committed Feb 8, 2024
1 parent c090069 commit 6967e9d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/dicty-frontpage/src/pages/about/addpage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { AddPage } from "../../features/EditablePages/AddPage"
import { ACCESS } from "../../app/routes/types"

// eslint-disable-next-line unicorn/prefer-export-from, import/no-default-export
export default AddPage
export const access = ACCESS.private
6 changes: 6 additions & 0 deletions apps/dicty-frontpage/src/pages/about/notfound.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { NotFoundError } from "../../common/components/errors/NotFoundError"
import { ACCESS } from "../../app/routes/types"

// eslint-disable-next-line unicorn/prefer-export-from, import/no-default-export
export default NotFoundError
export const access = ACCESS.public
6 changes: 6 additions & 0 deletions apps/dicty-frontpage/src/pages/about/notfoundauth.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { NotFoundErrorAuth } from "../../common/components/errors/NotFoundErrorAuth"
import { ACCESS } from "../../app/routes/types"

// eslint-disable-next-line unicorn/prefer-export-from, import/no-default-export
export default NotFoundErrorAuth
export const access = ACCESS.public

0 comments on commit 6967e9d

Please sign in to comment.