Skip to content

Commit

Permalink
[INJIWEB-212]: introduce help screen and handle the error for fetchin…
Browse files Browse the repository at this point in the history
…g issuers in homepage with toaster

Signed-off-by: Vijay <[email protected]>
  • Loading branch information
vijay151096 committed Apr 16, 2024
1 parent 69d419f commit bea2391
Show file tree
Hide file tree
Showing 42 changed files with 399 additions and 90 deletions.
2 changes: 1 addition & 1 deletion inji-web/.env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
REACT_APP_MIMOTO_URL=http://localhost:3010
#REACT_APP_MIMOTO_URL=http://localhost:3010
210 changes: 210 additions & 0 deletions inji-web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions inji-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.0",
"react-scripts": "5.0.1",
"react-toastify": "^10.0.5",
"styled-components": "^6.1.8",
"web-vitals": "^2.1.4"
},
"scripts": {
Expand Down
Binary file removed inji-web/public/favicon.ico
Binary file not shown.
Binary file removed inji-web/public/inji-logo.png
Binary file not shown.
Binary file removed inji-web/public/logo192.png
Binary file not shown.
Binary file removed inji-web/public/logo512.png
Binary file not shown.
25 changes: 0 additions & 25 deletions inji-web/public/manifest.json

This file was deleted.

3 changes: 0 additions & 3 deletions inji-web/public/robots.txt

This file was deleted.

13 changes: 9 additions & 4 deletions inji-web/src/Router.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { createBrowserRouter } from "react-router-dom";
import Issuer from "./pages/IssuerPage";
import Home from "./pages/Home";
import Certificate from "./pages/Certificate";
import Issuer from "./pages/IssuerPage/IssuersPage";
import Home from "./pages/Home/HomePage";
import Certificate from "./pages/Certificate/CertificatePage";
import {HelpPage} from "./pages/Help/HelpPage";

export const router = createBrowserRouter([
{
Expand All @@ -18,6 +19,10 @@ export const router = createBrowserRouter([
},
{
path: "/issuers/:issuerId/certificate/:certificateId",
element: <Certificate/>,
element: <Certificate />,
},
{
path: "/help",
element: <HelpPage />,
},
]);
Loading

0 comments on commit bea2391

Please sign in to comment.