1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-22 16:24:19 +00:00

Add no background icons

This commit is contained in:
Steffo 2023-08-08 04:30:03 +02:00
parent 0e2b2d05f7
commit c8270156e8
Signed by: steffo
GPG key ID: 2A24051445686895
7 changed files with 48 additions and 11 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

View file

Before

Width:  |  Height:  |  Size: 595 KiB

After

Width:  |  Height:  |  Size: 595 KiB

View file

@ -11,37 +11,73 @@
"src": "logo-wbg-32.png", "src": "logo-wbg-32.png",
"sizes": "32x32", "sizes": "32x32",
"type": "image/png", "type": "image/png",
"purpose": "maskable any" "purpose": "maskable"
}, },
{ {
"src": "logo-wbg-64.png", "src": "logo-wbg-64.png",
"sizes": "64x64", "sizes": "64x64",
"type": "image/png", "type": "image/png",
"purpose": "maskable any" "purpose": "maskable"
}, },
{ {
"src": "logo-wbg-128.png", "src": "logo-wbg-128.png",
"sizes": "128x128", "sizes": "128x128",
"type": "image/png", "type": "image/png",
"purpose": "maskable any" "purpose": "maskable"
}, },
{ {
"src": "logo-wbg-256.png", "src": "logo-wbg-256.png",
"sizes": "256x256", "sizes": "256x256",
"type": "image/png", "type": "image/png",
"purpose": "maskable any" "purpose": "maskable"
}, },
{ {
"src": "logo-wbg-512.png", "src": "logo-wbg-512.png",
"sizes": "512x512", "sizes": "512x512",
"type": "image/png", "type": "image/png",
"purpose": "maskable any" "purpose": "maskable"
}, },
{ {
"src": "favicon.ico", "src": "logo-nbg-32.png",
"sizes": "32x32",
"type": "image/png",
"purpose": "any"
},
{
"src": "logo-nbg-64.png",
"sizes": "64x64",
"type": "image/png",
"purpose": "any"
},
{
"src": "logo-nbg-128.png",
"sizes": "128x128",
"type": "image/png",
"purpose": "any"
},
{
"src": "logo-nbg-160.png",
"sizes": "160x160",
"type": "image/png",
"purpose": "any"
},
{
"src": "logo-nbg-321.png",
"sizes": "321x321",
"type": "image/png",
"purpose": "any"
},
{
"src": "favicon-wbg.ico",
"sizes": "32x32 64x64 128x128 256x256 512x512", "sizes": "32x32 64x64 128x128 256x256 512x512",
"type": "image/x-icon", "type": "image/x-icon",
"purpose": "maskable any" "purpose": "maskable"
},
{
"src": "favicon-nbg.ico",
"sizes": "32x32 64x64 128x128 160x160 321x321",
"type": "image/x-icon",
"purpose": "any"
} }
] ]
} }

View file

@ -5,5 +5,6 @@
} }
.pageLogo { .pageLogo {
width: 64px;
height: 64px;
} }

View file

@ -8,7 +8,7 @@ export async function RootHeader({lng}: {lng: string}) {
return ( return (
<header className={style.pageHeader}> <header className={style.pageHeader}>
<img className={style.pageLogo} src={"/logo-nbg-64.png"} alt={""}/> <img className={style.pageLogo} src={"/logo-nbg-160.png"} width={64} height={64} alt={""}/>
<h1 className={style.pageTitle}> <h1 className={style.pageTitle}>
{t("title")} {t("title")}
</h1> </h1>

View file

@ -18,7 +18,7 @@ export const metadata: NextMetadata = {
creator: "Steffo", creator: "Steffo",
robots: "noindex, nofollow", robots: "noindex, nofollow",
manifest: "manifest.json", manifest: "manifest.json",
icons: "favicon.ico" icons: "favicon-wbg.ico"
} }
export default function layout({children}: { children: ReactNode }) { export default function layout({children}: { children: ReactNode }) {

View file

@ -18,6 +18,6 @@ export function middleware(request: NextRequest) {
export const config = { export const config = {
matcher: [ matcher: [
'/((?!api|_next|manifest.json|logo-[nw]bg-[0-9]*.png|favicon.ico).*)', '/((?!api|_next|manifest.json|logo-[nw]bg-[0-9]*.png|favicon-[nw]bg.ico).*)',
] ]
} }