Skip to content

Commit

Permalink
add excite booklet
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy committed Nov 1, 2024
1 parent bdb8655 commit 333ce9a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/src/routes/student_main_view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { cancelTransactionToken } from "../api";
import { UserType } from "../types/user";
import Decimal from "decimal.js";
import { UserContext } from "../UserProvider";
import { MenuBook } from "@mui/icons-material";

export default function StudentMainPage() {
const navigate = useNavigate();
Expand Down Expand Up @@ -64,6 +65,11 @@ export default function StudentMainPage() {
<Typography variant="body1">Welcome, {user.name}!</Typography>
<Typography variant="h6">Your balance:</Typography>
<Typography variant="h3">${user.balance}</Typography>
<Link to={"https://tinyurl.com/excitebooklet24"} style={{ color: "#FFFFFF" }}>
<Button variant="contained" startIcon={<MenuBook/>}>
EXCITE Booklet
</Button>
</Link>
<Link to={"/student/topup"} style={{ color: "#FFFFFF" }}>
<Button variant="outlined" color="white">
Top-up Balance
Expand Down

0 comments on commit 333ce9a

Please sign in to comment.