|
11 | 11 | <h3>{{t('message.ods-footer.block_2.title') }}</h3>
|
12 | 12 | <div class="footer-information__social">
|
13 | 13 | <a class="footer__link" href="https://www.facebook.com/people/opendataswiss/61558495974785/" target="_blank">
|
14 |
| - <v-icon icon="fa:fa-brands fa-facebook-f" class="icon icon--base footer-information__icon" /> |
| 14 | + <SvgIcon icon="Facebook" class="icon icon--base footer-information__icon" /> |
15 | 15 | Facebook
|
16 | 16 | </a>
|
17 | 17 | <a class="footer__link" href="https://www.linkedin.com/showcase/opendata-swiss/" target="_blank">
|
18 |
| - <v-icon icon="fa:fa-brands fa-linkedin" class="icon icon--base footer-information__icon"/> |
19 |
| - Linkedin</a> |
| 18 | + <SvgIcon icon="LinkedIn" class="icon icon--base footer-information__icon"/> |
| 19 | + LinkedIn</a> |
20 | 20 | <a class="footer__link" href="https://www.instagram.com/opendata.swiss/" target="_blank">
|
21 |
| - <v-icon icon="fa:fa-brands fa-instagram" class="icon icon--base footer-information__icon" />Instagram</a> |
| 21 | + <SvgIcon icon="Instagram" class="icon icon--base footer-information__icon" />Instagram</a> |
22 | 22 | <a class="footer__link" href="https://x.com/opendataswiss" target="_blank">
|
23 |
| - <v-icon icon="fa:fa-brands fa-x-twitter" class="icon icon--base footer-information__icon" />𝕏</a> |
| 23 | + <SvgIcon icon="Twitter" class="icon icon--base footer-information__icon" />𝕏</a> |
24 | 24 | </div>
|
25 |
| - <v-btn |
26 |
| - :href="t('message.ods-footer.block_2.news_mail_href')" |
27 |
| - target="_blank" |
28 |
| - rounded="0" |
29 |
| - variant="outlined" |
30 |
| - append-icon="mdi:mdi-arrow-right" |
31 |
| - :title="t('message.ods-footer.block_2.news_mail_aria_label')" |
32 |
| - :aria-label="t('message.ods-footer.block_2.news_mail_aria_label')" |
33 |
| - ><strong>NewsMail</strong></v-btn> |
| 25 | + <OdsButton |
| 26 | + :title="t('message.ods-footer.block_2.news_mail_aria_label')" |
| 27 | + :aria-label="t('message.ods-footer.block_2.news_mail_aria_label')" |
| 28 | + icon="ArrowRight" |
| 29 | + icon-right |
| 30 | + size="sm" |
| 31 | + variant="outline-negative" |
| 32 | + @click="openLink(t('message.ods-footer.block_2.news_mail_href')) " |
| 33 | + > |
| 34 | + <span >NewsMail</span> |
| 35 | + </OdsButton> |
34 | 36 | </div>
|
35 | 37 |
|
36 | 38 | <div class="footer-information__entry">
|
|
46 | 48 |
|
47 | 49 | <script setup lang="ts">
|
48 | 50 | import { useI18n } from 'vue-i18n'
|
| 51 | +import OdsButton from '../OdsButton.vue' |
| 52 | +import SvgIcon from '../SvgIcon.vue' |
| 53 | +
|
49 | 54 |
|
50 | 55 | const { t } = useI18n()
|
51 | 56 |
|
| 57 | +function openLink(url: string) { |
| 58 | + window.open(url, '_blank') |
| 59 | +
|
| 60 | +} |
| 61 | +
|
52 | 62 | </script>
|
53 | 63 |
|
54 | 64 | <style lang="scss" scoped>
|
|
0 commit comments