File tree 4 files changed +11
-6
lines changed
4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import OCADataValidator from "./OCADataValidator/OCADataValidator";
13
13
import LearnAboutSchemaRule from "./OCADataValidator/LearnAboutSchemaRule" ;
14
14
import LearnAboutDataVerification from "./OCADataValidator/LearnAboutDataVerification" ;
15
15
import OCAMerge from "./OCAMerge/OCAMerge" ;
16
- import Tutorial from "./Tutorial/Tutorial" ;
16
+ // import Tutorial from "./Tutorial/Tutorial";
17
17
18
18
export const Context = createContext ( ) ;
19
19
@@ -498,7 +498,7 @@ function App() {
498
498
path = "/oca-merge"
499
499
element = { < OCAMerge currentOCAMergePage = { currentOCAMergePage } /> }
500
500
/>
501
- < Route path = "/tutorial" element = { < Tutorial /> } />
501
+ { /* <Route path="/tutorial" element={<Tutorial />} /> */ }
502
502
</ Routes >
503
503
</ BrowserRouter >
504
504
</ Box >
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
2
import { useTranslation } from "react-i18next" ;
3
+ import i18next from "i18next" ;
3
4
import { Box , Typography } from "@mui/material" ;
4
5
import CustomAnchorLink from "../components/CustomAnchorLink" ;
5
6
import { CustomPalette } from "../constants/customPalette" ;
@@ -25,7 +26,7 @@ const QuickStart = () => {
25
26
/> { " " }
26
27
{ t ( "Or" ) } { " " }
27
28
< CustomRouterLink
28
- to = "/tutorial"
29
+ to = { `https://agrifooddatacanada.github.io/OCA_Composer_help_pages/ ${ i18next . language === "en-US" ? "en" : i18next . language } /TutorialAll/` }
29
30
text = { t ( "read the tutorial" ) }
30
31
overrideStyle = { { fontWeight : "500" , color : CustomPalette . PRIMARY } }
31
32
/> { " " }
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
2
import { useTranslation } from "react-i18next" ;
3
+ import i18next from "i18next" ;
3
4
import { Box , Typography , useMediaQuery } from "@mui/material" ;
4
5
import CustomAnchorLink from "../components/CustomAnchorLink" ;
5
6
import CustomRouterLink from "../components/CustomRouterLink" ;
@@ -25,8 +26,11 @@ export default function StartIntro() {
25
26
</ Box >
26
27
< Box sx = { { m : 2 , textAlign : "center" } } >
27
28
{ 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" ) } .
30
34
</ Box >
31
35
</ Typography >
32
36
< br />
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ export const catalogueInfoFormFields = {
52
52
"Activate" ,
53
53
"CAT-G" ,
54
54
"BENEFIT" ,
55
- "Lactanet "
55
+ "NDGP "
56
56
] ,
57
57
defaultValue : ""
58
58
}
You can’t perform that action at this time.
0 commit comments