diff --git a/package-lock.json b/package-lock.json index fc5fb65..3b6ecc8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "hprc-data-explorer", "version": "0.0.0", "dependencies": { - "@databiosphere/findable-ui": "15.0.0", + "@databiosphere/findable-ui": "15.0.2", "@emotion/react": "^11.13.0", "@emotion/styled": "^11.13.0", "@mdx-js/loader": "^3.0.1", @@ -1046,9 +1046,9 @@ } }, "node_modules/@databiosphere/findable-ui": { - "version": "15.0.0", - "resolved": "https://registry.npmjs.org/@databiosphere/findable-ui/-/findable-ui-15.0.0.tgz", - "integrity": "sha512-5fnEu/0kTz5KkUeRTVWmpLw8PPZVaTSl139XkoR/7eI2dic9CDp/BJGiNC4WxpTZaEXBvASwmFR5lZfpWdpLPg==", + "version": "15.0.2", + "resolved": "https://registry.npmjs.org/@databiosphere/findable-ui/-/findable-ui-15.0.2.tgz", + "integrity": "sha512-q6ANGEVeYmF8XjCAAiXadIva6tYZ4sO29grgQYAdcewgw1B7BxbiP7OXlQ9jAhSVGILZelWH8jqgFIR09lCrBw==", "engines": { "node": "20.10.0" }, diff --git a/package.json b/package.json index 5163a88..e1d4646 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "build-catalog-source": "python3 catalog-build/build-sequencing-data.py && python3 catalog-build/build-assemblies.py && python3 catalog-build/build-annotations.py" }, "dependencies": { - "@databiosphere/findable-ui": "15.0.0", + "@databiosphere/findable-ui": "15.0.2", "@emotion/react": "^11.13.0", "@emotion/styled": "^11.13.0", "@mdx-js/loader": "^3.0.1", diff --git a/site-config/hprc-data-explorer/local/config.ts b/site-config/hprc-data-explorer/local/config.ts index 8763092..67b915e 100644 --- a/site-config/hprc-data-explorer/local/config.ts +++ b/site-config/hprc-data-explorer/local/config.ts @@ -11,9 +11,11 @@ import { rawSequencingDataEntityConfig } from "./index/rawSequencingDataEntityCo const LOCALHOST = "http://localhost:3000"; const APP_TITLE = "HPRC Data Explorer"; const BROWSER_URL = LOCALHOST; +const GIT_HUB_REPO_URL = + "https://github.com/human-pangenomics/hprc-data-explorer"; const HOME_PAGE_PATH = ROUTE.RAW_SEQUENCING_DATA; -export function makeConfig(browserUrl: string): SiteConfig { +export function makeConfig(browserUrl: string, gitHubUrl: string): SiteConfig { return { appTitle: APP_TITLE, browserURL: browserUrl, @@ -27,9 +29,11 @@ export function makeConfig(browserUrl: string): SiteConfig { alignmentEntityConfig, ], explorerTitle: APP_TITLE, + gitHubUrl, layout: { footer: { Branding: "", + versionInfo: true, }, header: { logo: C.Logo({ @@ -70,6 +74,6 @@ export function makeConfig(browserUrl: string): SiteConfig { }; } -const config: SiteConfig = makeConfig(BROWSER_URL); +const config: SiteConfig = makeConfig(BROWSER_URL, GIT_HUB_REPO_URL); export default config;