diff --git a/package.json b/package.json index 193c8219..a8f09fdc 100644 --- a/package.json +++ b/package.json @@ -121,6 +121,7 @@ "i18next-http-middleware": "^3.1.0", "ini": "^1.3.6", "isomorphic-unfetch": "^3.0.0", + "json-schema": "0.4.0", "loadable-components": "^2.2.3", "lodash": "4.17.21", "lucene": "^2.1.1", @@ -130,7 +131,7 @@ "moment": "^2.25.3", "node-fetch": "2.6.5", "node-notifier": "8.0.1", - "node-sass": "^4.13.0", + "node-sass": "4.14.0", "nth-check": "2.0.1", "performant-array-to-tree": "^1.7.1", "postcss-modules-extract-imports": "3.0.0", @@ -181,6 +182,10 @@ "**/**/node-notifier": "^8.0.1", "**/**/prismjs": "^1.25.0", "**/**/url-parse": "^1.5.2", +<<<<<<< HEAD +======= + "**/**/json-schema": "^0.4.0", +>>>>>>> prod "@digg/react-ideal-image": "file:local_modules/digg_react-ideal-image-1.0.2.tgz" }, "jest": { diff --git a/src/assets/Illustration_1.tsx b/src/assets/Illustration_1.tsx index cc8311af..45c54007 100644 --- a/src/assets/Illustration_1.tsx +++ b/src/assets/Illustration_1.tsx @@ -1,5 +1,6 @@ import React from 'react'; +import i18n from 'i18n'; const illustration_1 = require('./illustration_1.png'); -export const Illustration_1: React.SFC = () => Illustration dator; +export const Illustration_1: React.SFC = () => {i18n.t('common|illustration-1')}; diff --git a/src/assets/Illustration_2.tsx b/src/assets/Illustration_2.tsx index d7cf2300..53d680d8 100644 --- a/src/assets/Illustration_2.tsx +++ b/src/assets/Illustration_2.tsx @@ -1,5 +1,6 @@ import React from 'react'; +import i18n from 'i18n'; const illustration_2 = require('./illustration_2.png'); -export const Illustration_2: React.SFC = () => Illustration dator; +export const Illustration_2: React.SFC = () => {i18n.t('common|illustration-2')}; diff --git a/src/assets/Illustration_3.tsx b/src/assets/Illustration_3.tsx index 8ae9107f..bc1bdf0b 100644 --- a/src/assets/Illustration_3.tsx +++ b/src/assets/Illustration_3.tsx @@ -1,5 +1,6 @@ import React from 'react'; +import i18n from 'i18n'; const illustration_3 = require('./illustration_3.png'); -export const Illustration_3: React.SFC = () => Illustration dator; +export const Illustration_3: React.SFC = () => {i18n.t('common|illustration-3')}; diff --git a/src/assets/TopImage.tsx b/src/assets/TopImage.tsx index 09af3b28..78d4c830 100644 --- a/src/assets/TopImage.tsx +++ b/src/assets/TopImage.tsx @@ -1,5 +1,6 @@ import React from 'react'; +import i18n from 'i18n'; const topimage = require('./start_bg1.jpg'); -export const TopImage: React.SFC = () =>  ; +export const TopImage: React.SFC = () => {i18n.t('common|top-image')}/; diff --git a/src/components/StartPageComponents/SearchBlock.tsx b/src/components/StartPageComponents/SearchBlock.tsx index bb348adc..152d0097 100644 --- a/src/components/StartPageComponents/SearchBlock.tsx +++ b/src/components/StartPageComponents/SearchBlock.tsx @@ -56,9 +56,6 @@ export class SearchBlock extends React.Component {
{ - // window.location.href = `/${i18n.languages[0]}/datasets?p=1&q=&f=`; - // }} > {
{ - // window.location.href = `/${i18n.languages[0]}/concepts?p=1&q=&f=`; - // }} > {i18n.t('pages|search|concepts')}{' '} - {i18n.t('common|beta')} @@ -96,19 +89,15 @@ export class SearchBlock extends React.Component {
{ - // window.location.href = `/${i18n.languages[0]}/specifications?p=1&q=&f=`; - // }} > {i18n.t('pages|search|specifications')}{' '} - {i18n.t('common|beta')} diff --git a/src/pages/DetailPages/ConceptPage.tsx b/src/pages/DetailPages/ConceptPage.tsx index c4283a1a..2ca41129 100644 --- a/src/pages/DetailPages/ConceptPage.tsx +++ b/src/pages/DetailPages/ConceptPage.tsx @@ -666,7 +666,10 @@ export const ConceptPage: React.FC = ({ env, match }) => {
{/* Left column */}
+<<<<<<< HEAD BETA +======= +>>>>>>> prod

{entry.title}

diff --git a/src/pages/DetailPages/SpecificationPage.tsx b/src/pages/DetailPages/SpecificationPage.tsx index b8acfcbf..8cc68a7a 100644 --- a/src/pages/DetailPages/SpecificationPage.tsx +++ b/src/pages/DetailPages/SpecificationPage.tsx @@ -231,10 +231,12 @@ export const SpecificationPage: React.FC = ({
{/* Left column */}
+<<<<<<< HEAD BETA +======= +>>>>>>> prod

{entry.title}

-