Skip to content

Commit

Permalink
update constants
Browse files Browse the repository at this point in the history
  • Loading branch information
eanders-ms committed Feb 11, 2024
1 parent d382968 commit d5ae202
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion teachertool/src/components/HomeScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { Button } from "react-common/components/controls/Button";
import { classList } from "react-common/components/util";
import { showModal } from "../transforms/showModal";
import { resetRubricAsync } from "../transforms/resetRubricAsync";
import Constants from "../constants";

// eslint-disable-next-line import/no-internal-modules
import { Swiper, SwiperSlide } from "swiper/react";
import { Mousewheel, Navigation } from "swiper";
Expand All @@ -21,7 +23,7 @@ const Welcome: React.FC = () => {
<h1>{lf("Welcome to MakeCode Project Insights!")}</h1>
<p>
{lf("This tool is designed to help you evaluate student projects using a rubric.")}{" "}
<Link target="_blank" href="https://makecode.com/teachertool">
<Link target="_blank" href={Constants.LearnMoreLink}>
{lf("Learn More.")}
</Link>
</p>
Expand Down
6 changes: 6 additions & 0 deletions teachertool/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@
export namespace Strings {
export const ConfirmReplaceRubric = lf("This will replace your current rubric. Continue?");
}

namespace Constants {
export const LearnMoreLink = "https://makecode.com/teachertool"; // TODO: Replace with gwlink or aka.ms link
}

export default Constants;

0 comments on commit d5ae202

Please sign in to comment.