diff --git a/app.vue b/app.vue index d61be25..f8ba32a 100644 --- a/app.vue +++ b/app.vue @@ -11,6 +11,11 @@ import '@gouvfr/dsfr/dist/dsfr.css' import '@gouvfr/dsfr/dist/utility/utility.css' import '@datagouv/components/dist/style.css' import '~/assets/css/overrides.css' +import { setupI18nWithExistingInstance } from '@datagouv/components' + +const app = useNuxtApp() + +setupI18nWithExistingInstance({ global: app.$i18n }) useHead({ titleTemplate: (titleChunk) => { diff --git a/assets/css/fonts.css b/assets/css/fonts.css index 9aeca3a..366c854 100644 --- a/assets/css/fonts.css +++ b/assets/css/fonts.css @@ -1,3 +1,12 @@ +@font-face { + font-weight: 800; + font-family: "Marianne"; + src: url("../fonts/Marianne-ExtraBold.woff2") format("woff2"), + url("../fonts/Marianne-ExtraBold.woff") format("woff"); + + font-display: swap; +} + @font-face { font-weight: 600; font-family: Spectral; diff --git a/assets/fonts/Marianne-ExtraBold.woff b/assets/fonts/Marianne-ExtraBold.woff new file mode 100644 index 0000000..ad85a55 Binary files /dev/null and b/assets/fonts/Marianne-ExtraBold.woff differ diff --git a/assets/fonts/Marianne-ExtraBold.woff2 b/assets/fonts/Marianne-ExtraBold.woff2 new file mode 100644 index 0000000..b98ec4f Binary files /dev/null and b/assets/fonts/Marianne-ExtraBold.woff2 differ diff --git a/components/Breadcrumb/Breadcrumb.vue b/components/Breadcrumb/Breadcrumb.vue index 8a96e6f..d18ccb6 100644 --- a/components/Breadcrumb/Breadcrumb.vue +++ b/components/Breadcrumb/Breadcrumb.vue @@ -2,7 +2,7 @@