diff --git a/.env b/.env index aeb61d18..0b3ba1d9 100644 --- a/.env +++ b/.env @@ -5,3 +5,5 @@ REACT_APP_PROXY=http://localhost REACT_APP_API_TIMEOUT=180000 REACT_APP_TAG_EDITORIAL=editorial REACT_APP_ENABLE_AUTH_0=false +REACT_APP_GITHUB_RELEASES_API_ENDPOINT=https://api.github.com/repos/c2dh/journal-of-digital-history/releases +REACT_APP_GITHUB_WIKI_FAQ=https://raw.githubusercontent.com/wiki/c2dh/journal-of-digital-history/FAQ.md diff --git a/package-lock.json b/package-lock.json index 1245108b..2bca0cea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "jdh", - "version": "2.2.8", + "version": "2.2.9", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -10428,9 +10428,9 @@ "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=" }, "linkify-it": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-3.0.2.tgz", - "integrity": "sha512-gDBO4aHNZS6coiZCKVhSNh43F9ioIL4JwRjLZPkoLIY4yZFwg264Y5lu2x6rb1Js42Gh6Yqm2f6L2AJcnkzinQ==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-3.0.3.tgz", + "integrity": "sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ==", "requires": { "uc.micro": "^1.0.1" } @@ -10648,21 +10648,21 @@ } }, "markdown-it": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-12.0.0.tgz", - "integrity": "sha512-zPq5nGY5L8FXVwffjbXwPqzh9TgkrZ4NDTWuiX5wUP0l/wvmlnJR+6ebbNlLqYzB7erhlAwxQusgXa1VqojTQg==", + "version": "12.3.2", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-12.3.2.tgz", + "integrity": "sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg==", "requires": { "argparse": "^2.0.1", - "entities": "~2.0.0", + "entities": "~2.1.0", "linkify-it": "^3.0.1", "mdurl": "^1.0.1", "uc.micro": "^1.0.5" }, "dependencies": { "entities": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.3.tgz", - "integrity": "sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ==" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz", + "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==" } } }, diff --git a/package.json b/package.json index b3bd4942..b7d468d8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jdh", - "version": "2.2.9", + "version": "3.0.0", "private": true, "dependencies": { "@auth0/auth0-react": "^1.1.0", @@ -32,7 +32,7 @@ "lodash.findindex": "^4.6.0", "lodash.groupby": "^4.6.0", "lodash.intersection": "^4.4.0", - "markdown-it": "^12.0.0", + "markdown-it": "^12.3.2", "markdown-it-mathjax3": "^3.0.0-0", "markdown-it-replace-link": "^1.1.0", "mathjax": "^3.2.0", diff --git a/src/App.js b/src/App.js index 316cd081..0a32b0a5 100644 --- a/src/App.js +++ b/src/App.js @@ -67,6 +67,11 @@ const Guidelines = lazy(() => import('./pages/Guidelines')) const NotFound = lazy(() => import('./pages/NotFound')) const ArticleViewer = lazy(() => import('./pages/ArticleViewer')) const Fingerprint = lazy(() => import('./pages/Fingerprint')) +const FingerprintViewer = lazy(() => import('./pages/FingerprintViewer')) +const FingerprintExplained = lazy(() => import ('./pages/FingerprintExplained')) +const ReleaseNotes = lazy(() => import ('./pages/ReleaseNotes')) +const Faq = lazy(() => import ('./pages/Faq')) + const { startLangShort, lang } = getStartLang() console.info('start language:', lang, startLangShort) i18n @@ -123,6 +128,10 @@ function LangRoutes() { + + + + @@ -206,7 +215,7 @@ export default function App() { -
+