✨(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.
This commit is contained in:
committed by
Anthony LC
parent
0537572542
commit
7a1601c682
BIN
src/frontend/apps/impress/public/favicon-dark.png
Normal file
BIN
src/frontend/apps/impress/public/favicon-dark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
BIN
src/frontend/apps/impress/public/favicon.png
Normal file
BIN
src/frontend/apps/impress/public/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 992 B |
@@ -38,6 +38,19 @@ export default function App({ Component, pageProps }: AppPropsWithLayout) {
|
||||
)}
|
||||
/>
|
||||
<link rel="icon" href="/favicon.ico" sizes="any" />
|
||||
<link rel="icon" href="/favicon.png" type="image/png" />
|
||||
<link
|
||||
rel="icon"
|
||||
href="/favicon.png"
|
||||
type="image/png"
|
||||
media="(prefers-color-scheme: light)"
|
||||
/>
|
||||
<link
|
||||
rel="icon"
|
||||
href="/favicon-dark.png"
|
||||
type="image/png"
|
||||
media="(prefers-color-scheme: dark)"
|
||||
/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
</Head>
|
||||
<AppProvider>{getLayout(<Component {...pageProps} />)}</AppProvider>
|
||||
|
||||
Reference in New Issue
Block a user