From 6d82b8682a45379fe9a691a327cc0e6aa8b69ffd Mon Sep 17 00:00:00 2001 From: "anhara.akter" Date: Tue, 12 Nov 2024 15:59:15 +0100 Subject: [PATCH] feat(us-2910):modifier le favicon passEmploi --- app/(connected)/layout.tsx | 14 ++++++++++++-- public/pass-emploi_favicon.png | Bin 0 -> 3240 bytes 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 public/pass-emploi_favicon.png 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 0000000000000000000000000000000000000000..4477c4498043ca372fc827b4b32bf9cdb6a53040 GIT binary patch literal 3240 zcmcgv=|2<-7oLr=H1>TPazheRvW+E-ZOATL35BtnI|kX6uI(Bk%h*LoW6hpx%T~w| zqLDRHm>Ck$G`#M&_aAuQ56^ji&-p!H&WH0m&q=njFov;-umJ!77}~_Z=8WV11q<_8 z?bmT1JtJ1EiBm8DAaLPd0MRyo?4C7&!8XSFfVy$9Z)XC6(KFWr02*dSg84X!ab|E=db#t2*y-ORW^2cqaKQxQf$oFN$h4b2G>kXlTbdJowTC4 z@L&wJYyafVMj>2CmbR!CMjcbbjE@xtFYXaC98O7))+jV<4L1;B4Cxi)1_T=b#{TD` zP>Ccq&A?a5f4#nPxX91X7P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