Skip to content

Commit d23facb

Browse files
Merge pull request #273 from agrifooddatacanada/agreeable-mushroom
Nov 29 prod deployment
2 parents c7f2cbe + aa216b1 commit d23facb

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

src/App.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import OCADataValidator from "./OCADataValidator/OCADataValidator";
1313
import LearnAboutSchemaRule from "./OCADataValidator/LearnAboutSchemaRule";
1414
import LearnAboutDataVerification from "./OCADataValidator/LearnAboutDataVerification";
1515
import OCAMerge from "./OCAMerge/OCAMerge";
16-
import Tutorial from "./Tutorial/Tutorial";
16+
// import Tutorial from "./Tutorial/Tutorial";
1717

1818
export const Context = createContext();
1919

@@ -498,7 +498,7 @@ function App() {
498498
path="/oca-merge"
499499
element={<OCAMerge currentOCAMergePage={currentOCAMergePage} />}
500500
/>
501-
<Route path="/tutorial" element={<Tutorial />} />
501+
{/* <Route path="/tutorial" element={<Tutorial />} /> */}
502502
</Routes>
503503
</BrowserRouter>
504504
</Box>

src/Landing/Quick_Start.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from "react";
22
import { useTranslation } from "react-i18next";
3+
import i18next from "i18next";
34
import { Box, Typography } from "@mui/material";
45
import CustomAnchorLink from "../components/CustomAnchorLink";
56
import { CustomPalette } from "../constants/customPalette";
@@ -25,7 +26,7 @@ const QuickStart = () => {
2526
/>{" "}
2627
{t("Or")}{" "}
2728
<CustomRouterLink
28-
to="/tutorial"
29+
to={`https://agrifooddatacanada.github.io/OCA_Composer_help_pages/${i18next.language === "en-US" ? "en" : i18next.language}/TutorialAll/`}
2930
text={t("read the tutorial")}
3031
overrideStyle={{ fontWeight: "500", color: CustomPalette.PRIMARY }}
3132
/>{" "}

src/StartSchema/StartIntro.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from "react";
22
import { useTranslation } from "react-i18next";
3+
import i18next from "i18next";
34
import { Box, Typography, useMediaQuery } from "@mui/material";
45
import CustomAnchorLink from "../components/CustomAnchorLink";
56
import CustomRouterLink from "../components/CustomRouterLink";
@@ -25,8 +26,11 @@ export default function StartIntro() {
2526
</Box>
2627
<Box sx={{ m: 2, textAlign: "center" }}>
2728
{t("Watch our tutorial video on creating a schema. Or")}{" "}
28-
<CustomRouterLink to="/tutorial" text={t("read the tutorial")} /> {t("instead")}
29-
.
29+
<CustomRouterLink
30+
to={`https://agrifooddatacanada.github.io/OCA_Composer_help_pages/${i18next.language === "en-US" ? "en" : i18next.language}/TutorialAll/`}
31+
text={t("read the tutorial")}
32+
/>{" "}
33+
{t("instead")}.
3034
</Box>
3135
</Typography>
3236
<br />

src/constants/catalogueInfo.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const catalogueInfoFormFields = {
5252
"Activate",
5353
"CAT-G",
5454
"BENEFIT",
55-
"Lactanet"
55+
"NDGP"
5656
],
5757
defaultValue: ""
5858
}

0 commit comments

Comments
 (0)