Skip to content

Commit

Permalink
implemented meal donor confirmation page
Browse files Browse the repository at this point in the history
  • Loading branch information
jho426 committed Aug 24, 2024
1 parent c7fe515 commit 2106b02
Show file tree
Hide file tree
Showing 11 changed files with 519 additions and 139 deletions.
217 changes: 201 additions & 16 deletions frontend/package-lock.json

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

6 changes: 3 additions & 3 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"jose": "^4.11.1",
"json-schema": "^0.3.0",
"json2csv": "^5.0.6",
"react": "^18.2.0",
"react": "^18.3.1",
"react-bootstrap": "^1.5.2",
"react-dom": "^18.2.0",
"react-dom": "^18.3.1",
"react-icons": "^5.0.1",
"react-json-schema": "^1.2.2",
"react-jsonschema-form": "^1.8.1",
Expand Down Expand Up @@ -109,4 +109,4 @@
"autoprefixer": "10.4.5",
"postcss-preset-env": "7.4.4"
}
}
}
5 changes: 5 additions & 0 deletions frontend/src/Routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import MealDonationForm from "./components/meal_donor/donation_form/MealDonation
import * as Paths from "./constants/Routes";
import Dashboard from "./pages/ASPDashboard";
import MealDonorCalendar from "./pages/MealDonorCalendar";
import MealDonorConfirmation from "./pages/MealDonorConfirmation";
import MealDonorDashboard from "./pages/MealDonorDashboard";
import NotFound from "./pages/NotFound";
import OnboardingRequestsPage from "./pages/OnboardingRequestsPage";
Expand Down Expand Up @@ -58,6 +59,10 @@ const Routes = (): React.ReactElement => {
path={Paths.MEAL_DONOR_UPCOMING_PAGE}
element={<UpcomingPage />}
/>
<Route
path={Paths.MEAL_DONOR_CONFIRMATION_PAGE}
element={<MealDonorConfirmation />}
/>
<Route
path={Paths.ONBOARDING_REQUESTS_PAGE}
element={<OnboardingRequestsPage />}
Expand Down
Binary file added frontend/src/assets/confirmation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2106b02

Please sign in to comment.