@museumwnf/viewer-layout 3.13.2 → 3.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -11
- package/dist/minisite.js +1427 -333
- package/dist/viewer-layout.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -827,17 +827,10 @@ export default {
|
|
|
827
827
|
`legacy/bg_fading_left.gif`, `legacy/bg_fading_right.gif`,
|
|
828
828
|
`legacy/ico_item(_selected).gif`, `legacy/print_dark.gif`,
|
|
829
829
|
`legacy/arrow_inner_black.gif`), plus the logos and maps the settings name.
|
|
830
|
-
- **
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
alike. Baroque Art's pages print an artist and a material line, show a
|
|
835
|
-
placement's detail views (`details`) as its views, captioned from their own
|
|
836
|
-
text, the first view's and the detail they show (`detailViewCaption`), and
|
|
837
|
-
draw its home band: who curated the exhibition (its `credits` text), the
|
|
838
|
-
partner institutions (`partnerListHref`), each curator named over its logo
|
|
839
|
-
(`place`, `country`), and the designer (`design`). Its menu has no Artistic
|
|
840
|
-
Introduction and no bars, and its footer links the language policy.
|
|
830
|
+
- **Discover Baroque Art's exhibitions** are a product of their own, with
|
|
831
|
+
pages of their own (below). `family: 'BAR'` on `minisiteNavigation` and
|
|
832
|
+
`minisiteSettings` still draws them on these pages until every Discover
|
|
833
|
+
Baroque Art site has moved to its own; it goes in the next release.
|
|
841
834
|
- **The theme**: `minisite.css` reads `--minisite-*` tokens for every value an
|
|
842
835
|
exhibition's stylesheet set — colours, fonts and the positions of its titles,
|
|
843
836
|
menus and links on its pictures, the Arabic ones under `[dir='rtl']`.
|
|
@@ -849,6 +842,61 @@ export default {
|
|
|
849
842
|
curator legacy named itself (`{ name, country, href, logo, space }`).
|
|
850
843
|
- **The texts** are viewer-i18n's `minisite` bundle (class `minisite`).
|
|
851
844
|
|
|
845
|
+
### Discover Baroque Art's mini-sites
|
|
846
|
+
|
|
847
|
+
Discover Baroque Art's virtual exhibitions are a product of their own, on
|
|
848
|
+
pages of their own (legacy's `exhibitions/BAR/generic_*.php`), with their own
|
|
849
|
+
frame, caption rules and stylesheet (`src/minisite/baroqueart/`,
|
|
850
|
+
`minisite-baroqueart.css`, classes `mwnf-baroqueart-*`). They share with every
|
|
851
|
+
mini-site only how it reads its records, the order of its pages, which record a
|
|
852
|
+
view opens, the tooltip and the Word document, so a change to another family's
|
|
853
|
+
pages never reaches them. Their exports are named `Baroqueart*` / `baroqueart*`,
|
|
854
|
+
and their sites are created from `baroqueart-minisite-template`.
|
|
855
|
+
|
|
856
|
+
```js
|
|
857
|
+
import {
|
|
858
|
+
BAROQUEART_NO_COUNTRY, BaroqueartHome, baroqueartNavigation, baroqueartRoutes, baroqueartSettings, BaroqueartShell,
|
|
859
|
+
} from '@museumwnf/viewer-layout/minisite'
|
|
860
|
+
|
|
861
|
+
const parent = 'https://museumwithnofrontiers.github.io/baroqueart'
|
|
862
|
+
|
|
863
|
+
export default {
|
|
864
|
+
// …datasetPackage, siteName, site, features, languages, chrome…
|
|
865
|
+
shell: BaroqueartShell,
|
|
866
|
+
navigation: baroqueartNavigation({ languages: languageLabels(languages), parent }),
|
|
867
|
+
minisite: baroqueartSettings({
|
|
868
|
+
parent,
|
|
869
|
+
menuSecondColumnFrom: 7,
|
|
870
|
+
curators: [{ partner: '<uuid>', place: 'Brno', country: 'cze', logo: 'legacy/CZ-46.png', space: 35 }],
|
|
871
|
+
design: { name: 'Yasar University Izmir, Turkey', logo: 'legacy/yasar.png', href: 'http://www.yasar.edu.tr/en/' },
|
|
872
|
+
banner: 'legacy/banner.png',
|
|
873
|
+
noCountry: BAROQUEART_NO_COUNTRY,
|
|
874
|
+
documentTitle: 'MWNF DISCOVER BAROQUE ART - Exhibition',
|
|
875
|
+
}),
|
|
876
|
+
views: { home: BaroqueartHome },
|
|
877
|
+
extraViews: baroqueartRoutes(sectionMeta()),
|
|
878
|
+
}
|
|
879
|
+
```
|
|
880
|
+
|
|
881
|
+
- **Routes** (`baroqueartRoutes`): `home`, `introduction`, `exhibition`
|
|
882
|
+
(`/exhibition/<theme>/<page>`) and the `zoom` window, marked `meta.bare`.
|
|
883
|
+
Legacy linked no credits window and drew no map for these exhibitions.
|
|
884
|
+
- **The captions** (`baroqueartCaption`): the page's own text first, the
|
|
885
|
+
record's own otherwise, and under the place an artist line (an object's
|
|
886
|
+
artist, a monument's architects) and a material line. A placement's detail
|
|
887
|
+
views (`details`) are its views (`baroqueartSlotsOf`), captioned from their
|
|
888
|
+
own text, the first view's and the detail they show
|
|
889
|
+
(`baroqueartDetailViewCaption`); a view never takes the first view's
|
|
890
|
+
detail name (`baroqueartWithFirstView`).
|
|
891
|
+
- **The home band**: who curated the exhibition (its `credits` text), the
|
|
892
|
+
partner institutions (`partnerListHref`), each curator named over its logo
|
|
893
|
+
with the city and country legacy wrote after it (`place`, `country`), and
|
|
894
|
+
the designer (`design`); the home picture (`banner`) sits against the footer.
|
|
895
|
+
- **The frame**: the menu over the footer has no Artistic Introduction and no
|
|
896
|
+
bars, its Exhibitions leads to the exhibition's own home, and the footer
|
|
897
|
+
links the language policy.
|
|
898
|
+
- **The texts** are viewer-i18n's `minisiteBaroque` bundle (`BAROQUEART_LABELS`).
|
|
899
|
+
|
|
852
900
|
### Sharing History's mini-sites
|
|
853
901
|
|
|
854
902
|
Sharing History's virtual exhibitions are a family of their own, on pages of
|