Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions hackathon_site/dashboard/frontend/src/pages/Cart/Cart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import LinearProgress from "@material-ui/core/LinearProgress";
import Header from "components/general/Header/Header";
import CartCard from "components/cart/CartCard/CartCard";
import CartSummary from "components/cart/CartSummary/CartSummary";
import AlertBox from "components/general/AlertBox/AlertBox";
import OrderLockAlert from "components/general/OrderLockAlert/OrderLockAlert";
import {
clearFilters,
Expand Down Expand Up @@ -75,6 +76,11 @@ const Cart = () => {
<>
<Header />
<Typography variant="h1">Cart</Typography>
<AlertBox
type="warning"
title="Cart Checking"
error="Your cart is not shared with teammates. Please coordinate with your team to submit a single consolidated order and avoid ordering duplicate items."
/>
<OrderLockAlert />
<CartErrorBox />
<Grid direction="row" spacing={6} className={styles.cart} container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ const Dashboard = () => {
<div className={styles.dashboard}>
{/* TODO: MOVE CREDIT TO NAVBAR */}
<Typography variant="h1">{hackathonName} Hardware Dashboard</Typography>
<AlertBox
type="warning"
title="Cart Checking"
error="Your cart is not shared with teammates. Please coordinate with your team to submit a single consolidated order and avoid ordering duplicate items."
/>
<DateRestrictionAlert />
{isTeamLoading || areOrdersLoading ? (
<LinearProgress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ const Inventory = () => {
</Drawer>

<Typography variant="h1">Hardware Inventory</Typography>
<AlertBox
type="warning"
title="Cart Checking"
error="Your cart is not shared with teammates. Please coordinate with your team to submit a single consolidated order and avoid ordering duplicate items."
/>
<AlertBox
title={"Disclaimer"}
error={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import Hidden from "@material-ui/core/Hidden";
import Button from "@material-ui/core/Button";
import RefreshIcon from "@material-ui/icons/Refresh";
import FilterListIcon from "@material-ui/icons/FilterList";
import AlertBox from "components/general/AlertBox/AlertBox";
import InventorySearch3D from "components/inventory/InventorySearch3D/InventorySearch3D";

import CircularProgress from "@material-ui/core/CircularProgress";
Expand Down Expand Up @@ -117,6 +118,11 @@ const Threedprinting = () => {
</Drawer> */}

<Typography variant="h1">3D Printing Services</Typography>
<AlertBox
type="warning"
title="Cart Checking"
error="Your cart is not shared with teammates. Please coordinate with your team to submit a single consolidated order and avoid ordering duplicate items."
/>

{userType === "participant" && <DateRestrictionAlert />}

Expand Down
Loading