Skip to content

Commit

Permalink
Merge pull request #70 from fga-eps-mds/feature/55-dashboard
Browse files Browse the repository at this point in the history
Feature/55 dashboard
  • Loading branch information
GRVial authored Sep 4, 2024
2 parents 2ed7d06 + 22df15d commit f1f0d45
Show file tree
Hide file tree
Showing 12 changed files with 2,066 additions and 611 deletions.
993 changes: 557 additions & 436 deletions package-lock.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"dependencies": {
"@emailjs/browser": "^3.11.0",
"@fortawesome/fontawesome-free": "^6.6.0",
"@hookform/resolvers": "^3.3.2",
"@radix-ui/react-icons": "^1.3.0",
"@testing-library/jest-dom": "^5.17.0",
Expand All @@ -13,6 +14,9 @@
"body-parser": "^1.20.2",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"html2canvas": "^1.4.1",
"jspdf": "^2.5.1",
"jspdf-autotable": "^3.8.3",
"papaparse": "^5.4.1",
"pg": "^8.11.3",
"react": "^18.2.0",
Expand All @@ -23,6 +27,7 @@
"react-router-dom": "^6.17.0",
"react-scripts": "5.0.1",
"react-toastify": "^9.1.3",
"recharts": "^2.12.7",
"shelljs": "^0.8.5",
"web-vitals": "^2.1.4",
"yup": "^1.3.2"
Expand Down
3 changes: 2 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import ViewContract from "./pages/ViewContract";
import UpdateRoutine from "./components/forms/CounterRoutineForm";
import AuditPrinter from "./pages/AuditPrinter";
import AddContador from "./pages/AddContador";

import Dashboard from "./pages/Dashboard";
function App() {
return (
<>
Expand All @@ -47,6 +47,7 @@ function App() {
<Route path="/editarContrato" element={<EditContractForm />} />
<Route path="/listagemContrato" element={<ContractList />} />
<Route path="/definirRotina" element={<UpdateRoutine />} />
<Route path="/dashboard" element={<Dashboard />} />
<Route path="/verContrato/:id" element={<ViewContract />} />
<Route path="/registrarContadores" element={<AddContador />} />
<Route element={<AdminRoutes />}>
Expand Down
1 change: 1 addition & 0 deletions src/components/navbar/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ const Navbar = () => {
<Link to="/padroescadastrados">Padrões de impressora cadastrados</Link>
<Link to="/definirRotina">Rotina de Registro Automático</Link>
<Link to="/registrarContadores">Registrar Contadores</Link>
<Link to="/dashboard">Dashboard</Link>

</div>
)}
Expand Down
Loading

0 comments on commit f1f0d45

Please sign in to comment.