add favicon for notifications back

This commit is contained in:
k00b 2025-08-09 18:15:47 -05:00
parent 1379c419df
commit 3c637e5ec2

View File

@ -23,6 +23,7 @@ import { useWalletIndicator } from '@/wallets/client/hooks'
import SwitchAccountList, { nextAccount, useAccounts } from '@/components/account' import SwitchAccountList, { nextAccount, useAccounts } from '@/components/account'
import { useShowModal } from '@/components/modal' import { useShowModal } from '@/components/modal'
import { numWithUnits } from '@/lib/format' import { numWithUnits } from '@/lib/format'
import Head from 'next/head'
export function Brand ({ className }) { export function Brand ({ className }) {
return ( return (
@ -120,6 +121,9 @@ export function NavNotifications ({ className }) {
return ( return (
<> <>
<Head>
<link rel='shortcut icon' href={hasNewNotes ? '/favicon-notify.png' : '/favicon.png'} />
</Head>
<Link href='/notifications' passHref legacyBehavior> <Link href='/notifications' passHref legacyBehavior>
<Nav.Link eventKey='notifications' className={classNames('position-relative', className)}> <Nav.Link eventKey='notifications' className={classNames('position-relative', className)}>
<NoteIcon height={28} width={20} className='theme' /> <NoteIcon height={28} width={20} className='theme' />