diff --git a/components/evenements/Page.vue b/components/evenements/Page.vue index 544d7c0..f09fd4d 100644 --- a/components/evenements/Page.vue +++ b/components/evenements/Page.vue @@ -25,7 +25,14 @@ defineProps<{ // Une seule police ajoutée, pour les titres : précharger évite le saut de l'en-tête (font-display: swap). useHead({ - link: [{ rel: 'preload', href: '/medias/evenements/polices/fraunces-600-latin.woff2', as: 'font', type: 'font/woff2', crossorigin: '' }], + link: [ + { rel: 'preload', href: '/medias/evenements/polices/fraunces-600-latin.woff2', as: 'font', type: 'font/woff2', crossorigin: '' }, + // Icônes du Ruetz, à la place de celles d'AEP (clés identiques à nuxt.config.ts) + { key: 'icon-svg', rel: 'icon', type: 'image/svg+xml', href: '/favicon-event.svg' }, + { key: 'icon-32', rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicon-event-32.png' }, + { key: 'icon-16', rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicon-event-16.png' }, + { key: 'icon-apple', rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon-event.png' }, + ], }) diff --git a/nuxt.config.ts b/nuxt.config.ts index 7d41a8a..5230f2f 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -5,10 +5,11 @@ export default defineNuxtConfig({ head: { htmlAttrs: { lang: 'fr' }, link: [ - { rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' }, - { rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicon-32.png' }, - { rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicon-16.png' }, - { rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' }, + // key : les pages d'événement remplacent ces quatre icônes par celles du Ruetz (Page.vue) + { key: 'icon-svg', rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' }, + { key: 'icon-32', rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicon-32.png' }, + { key: 'icon-16', rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicon-16.png' }, + { key: 'icon-apple', rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' }, ], }, }, diff --git a/public/apple-touch-icon-event.png b/public/apple-touch-icon-event.png new file mode 100644 index 0000000..57ffa4d Binary files /dev/null and b/public/apple-touch-icon-event.png differ diff --git a/public/favicon-event-16.png b/public/favicon-event-16.png new file mode 100644 index 0000000..6224a7c Binary files /dev/null and b/public/favicon-event-16.png differ diff --git a/public/favicon-event-32.png b/public/favicon-event-32.png new file mode 100644 index 0000000..f928f50 Binary files /dev/null and b/public/favicon-event-32.png differ diff --git a/public/favicon-event.svg b/public/favicon-event.svg new file mode 100644 index 0000000..44d0cec --- /dev/null +++ b/public/favicon-event.svg @@ -0,0 +1,3 @@ + + +Created by Fina Arfianafrom Noun Project \ No newline at end of file