From 64c7831c81be2f5bce5bd619f7583d788f37a213 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Wed, 22 Sep 2021 03:33:15 -0400 Subject: [PATCH] convert milestones to mui --- src/Milestones/ui/MilestonesRoot.tsx | 33 +++++++++++++++------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/src/Milestones/ui/MilestonesRoot.tsx b/src/Milestones/ui/MilestonesRoot.tsx index 0252232a0..9a974ed6d 100644 --- a/src/Milestones/ui/MilestonesRoot.tsx +++ b/src/Milestones/ui/MilestonesRoot.tsx @@ -3,6 +3,9 @@ import { Milestones } from "../Milestones"; import { Milestone } from "../Milestone"; import * as React from "react"; +import Typography from "@mui/material/Typography"; +import Box from "@mui/material/Box"; + interface IProps { player: IPlayer; } @@ -21,25 +24,25 @@ export function MilestonesRoot(props: IProps): JSX.Element { const milestones = Milestones.map((milestone: Milestone, i: number) => { if (i <= n + 1) { return ( - + + [{milestone.fulfilled(props.player) ? "x" : " "}] {milestone.title} + ); } }); return ( -
-

Milestones

-

- Milestones don't reward you for completing them. They are here to guide you if you're lost. They will reset when - you install Augmentations. -

-
+ <> + Milestones + + + Milestones don't reward you for completing them. They are here to guide you if you're lost. They will reset + when you install Augmentations. + +
-

Completing fl1ght.exe

-
  • {milestones}
  • -
    + Completing fl1ght.exe + {milestones} + + ); }