Skip to content

Commit

Permalink
Add Metadatabyrån info box (LXL-4477)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersju committed Jul 9, 2024
1 parent fd45b67 commit b350e1d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vue-client/src/resources/json/copy.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,11 @@
"text": "På Libris underwebb finns introduktionsmaterial för självstudier till dig som vill fördjupa dina kunskaper inom länkade data, format och vokabulär, med mera.",
"linkUrl": "https://www.kb.se/libris/Om-LIBRIS/Introduktion-till-nya-Libris-och-XL/",
"linkText": "Till Introduktion till Libris"
},
"metadatabyran": {
"header": "Praxis och anvisningar i Metadatabyrån",
"text": "I Metadatabyrån hittar du anvisningar för katalogisering i Libris, riktlinjer och praxis för auktoritetsarbete, klassifikation och ämnesord, exempel från Libris katalogisering med mera.",
"linkUrl": "https://metadatabyran.kb.se/",
"linkText": "Till Metadatabyrån"
}
}
3 changes: 3 additions & 0 deletions vue-client/src/resources/json/serviceWidgetSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
},
"intro-component": {
"forced": true
},
"metadatabyran": {
"forced": true
}
},
"id.kb.se": {
Expand Down
6 changes: 6 additions & 0 deletions vue-client/src/views/LandingPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ export default {
:text="copy['instructional-videos'].text"
:link-text="copy['instructional-videos'].linkText"
:link-url="copy['instructional-videos'].linkUrl" />
<link-card
v-if="widgetShouldBeShown('metadatabyran')"
:header="copy['metadatabyran'].header"
:text="copy['metadatabyran'].text"
:link-text="copy['metadatabyran'].linkText"
:link-url="copy['metadatabyran'].linkUrl" />
</div>
</div>
</div>
Expand Down

0 comments on commit b350e1d

Please sign in to comment.