Skip to content

Commit 7a1601c

Browse files
PanchoutNathanAntoLC
authored andcommitted
✨(frontend) update favicon files and links
- Added new favicon files: favicon-dark.png and favicon.png. - Updated the _app.tsx file to link to the new favicon files, supporting both light and dark color schemes.
1 parent 0537572 commit 7a1601c

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed
1.15 KB
Loading
992 Bytes
Loading

src/frontend/apps/impress/src/pages/_app.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,19 @@ export default function App({ Component, pageProps }: AppPropsWithLayout) {
3838
)}
3939
/>
4040
<link rel="icon" href="/favicon.ico" sizes="any" />
41+
<link rel="icon" href="/favicon.png" type="image/png" />
42+
<link
43+
rel="icon"
44+
href="/favicon.png"
45+
type="image/png"
46+
media="(prefers-color-scheme: light)"
47+
/>
48+
<link
49+
rel="icon"
50+
href="/favicon-dark.png"
51+
type="image/png"
52+
media="(prefers-color-scheme: dark)"
53+
/>
4154
<meta name="viewport" content="width=device-width, initial-scale=1" />
4255
</Head>
4356
<AppProvider>{getLayout(<Component {...pageProps} />)}</AppProvider>

0 commit comments

Comments
 (0)