Skip to content

Commit

Permalink
Merge pull request #331 from matematikk-mooc/KURSP-910-footer-text
Browse files Browse the repository at this point in the history
KURSP-910: Fix text on links in footer
  • Loading branch information
manilpit authored Oct 26, 2023
2 parents f06a90f + cb868b8 commit 563f0a0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/vue/components/footer/PageFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
</div>

<div class="page-footer--link-container">
<PageFooterLink :url="'https://kompetanseudirno.azureedge.net/udirdesign/omkompetanseudirno.html'">Om kompetanskepakker</PageFooterLink>
<PageFooterLink :url="'https://kompetanseudirno.azureedge.net/udirdesign/omkompetanseudirno.html'"><template v-slot:footerlink>Om kompetanskepakker</template></PageFooterLink>
<div class="page-footer--divider"></div>
<PageFooterLink :url="'mailto:[email protected]'">Kontakt</PageFooterLink>
<PageFooterLink :url="'mailto:[email protected]'"><template v-slot:footerlink>Kontakt</template></PageFooterLink>
<div class="page-footer--divider"></div>
<PageFooterLink :url="'https://kompetanseudirno.azureedge.net/udirdesign/privacypolicy.html?v=1_0'">Personvernerklæring</PageFooterLink>
<PageFooterLink :url="'https://kompetanseudirno.azureedge.net/udirdesign/privacypolicy.html?v=1_0'"><template v-slot:footerlink>Personvernerklæring</template></PageFooterLink>
<div class="page-footer--divider"></div>
<span class="page-footer--accessibility-declaration">
Tilgjengelighetserklæring på
</span>

<PageFooterLink aria-label="Tilgjengelighetserklæring på bokmål" :type="'open-in-new'" :url="'https://uustatus.no/nb/erklaringer/publisert/2796ebc6-161f-4dc9-9429-70d7dd136431'">Bokmål</PageFooterLink>
<PageFooterLink aria-label="Tilgjengelighetserklæring på nynorsk" :type="'open-in-new'" :url="'https://uustatus.no/nn/erklaringer/publisert/2796ebc6-161f-4dc9-9429-70d7dd136431'">Nynorsk</PageFooterLink>
<PageFooterLink aria-label="Tilgjengelighetserklæring på bokmål" :type="'open-in-new'" :url="'https://uustatus.no/nb/erklaringer/publisert/2796ebc6-161f-4dc9-9429-70d7dd136431'"><template v-slot:footerlink>Bokmål</template></PageFooterLink>
<PageFooterLink aria-label="Tilgjengelighetserklæring på nynorsk" :type="'open-in-new'" :url="'https://uustatus.no/nn/erklaringer/publisert/2796ebc6-161f-4dc9-9429-70d7dd136431'"><template v-slot:footerlink>Nynorsk</template></PageFooterLink>
</div>
</div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion src/vue/components/footer/PageFooterLink.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<a :href="url" class="page-footer--link">
<Icon v-if="type == 'open-in-new'" :name="'open_in_new'"/>
<slot name="footerlink"></slot>
<Icon v-if="type == 'open-in-new'" :name="'open_in_new'"/>
</a>
</template>
<script setup>
Expand Down

0 comments on commit 563f0a0

Please sign in to comment.