diff --git a/app/(connected)/layout.tsx b/app/(connected)/layout.tsx index 2bcbb8a80..66078e331 100644 --- a/app/(connected)/layout.tsx +++ b/app/(connected)/layout.tsx @@ -15,8 +15,18 @@ export async function generateMetadata(): Promise { const conseiller = await getConseillerServerSide(user, accessToken) const siteTitle = 'Espace conseiller ' + (estPassEmploi(conseiller) ? 'pass emploi' : 'CEJ') - - return { title: { template: '%s - ' + siteTitle, default: siteTitle } } + const faviconPath = estPassEmploi(conseiller) + ? '/pass-emploi_favicon.png' + : '/cej_favicon.png' + + return { + title: { template: '%s - ' + siteTitle, default: siteTitle }, + icons: { + icon: [faviconPath, '/favicon.png'], + shortcut: faviconPath, + apple: faviconPath, + }, + } } export default async function LayoutWhenConnected({ diff --git a/public/pass-emploi_favicon.png b/public/pass-emploi_favicon.png new file mode 100644 index 000000000..4477c4498 Binary files /dev/null and b/public/pass-emploi_favicon.png differ