diff --git a/netlify.toml b/netlify.toml index ace4c69..1c10419 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,2 +1,4 @@ [context."master".environment] VUE_APP_ATLAS_GRAPHQL_ENDPOINT = "https://explorehomer-atlas.scaife-viewer.org/graphql/" +[context."feature/passage-metadata-improvements".environment] + VUE_APP_ATLAS_GRAPHQL_ENDPOINT = "https://explorehomer-feature-pa-bpryib.herokuapp.com/graphql/" diff --git a/package.json b/package.json index e35b340..a45b4f3 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "@fortawesome/fontawesome-svg-core": "^1.2.28", "@fortawesome/free-solid-svg-icons": "^5.13.0", "@fortawesome/vue-fontawesome": "^0.1.9", - "@scaife-viewer/scaife-widgets": "0.13.1", + "@scaife-viewer/scaife-widgets": "0.14.0", "apollo-boost": "^0.4.7", "core-js": "^3.6.5", "graphql": "^15.0.0", diff --git a/src/App.vue b/src/App.vue index 02d468c..ce2a27f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -24,6 +24,9 @@ margin: 0; padding: 0; } + :root { + --scaife-brand-color: #{$explorehomer-brand}; + } #app { font-family: $font-family-sans; -webkit-font-smoothing: antialiased; @@ -36,7 +39,21 @@ div.main-layout > .widget { border-top: none; } + div.main-layout > .widget > .main-widget-heading { + // heading is currently unused, but the slot is defined + // in scaife-skeleton + display: none; + } a { color: $explorehomer-brand; } + + .new-alexandria-widget { + font-family: $font-family-serif; + font-size: 14px; + line-height: 18px; + .new-alexandria-container { + padding-right: 1rem; + } + } diff --git a/src/components/ImageViewer.vue b/src/components/ImageViewer.vue index 29e9830..6ef110f 100644 --- a/src/components/ImageViewer.vue +++ b/src/components/ImageViewer.vue @@ -3,13 +3,18 @@