1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-22 08:14:18 +00:00

Add logo with no background

This commit is contained in:
Steffo 2023-08-08 04:18:41 +02:00
parent f6f6cbf9df
commit 0e2b2d05f7
Signed by: steffo
GPG key ID: 2A24051445686895
9 changed files with 14 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View file

@ -0,0 +1,9 @@
.pageHeader {
display: flex;
align-items: center;
gap: 2ex;
}
.pageLogo {
}

View file

@ -1,5 +1,5 @@
import {useTranslation} from "@/app/(i18n)/server"
import style from "@/app/[lang]/page.module.css"
import style from "./RootHeader.module.css"
import {default as React} from "react"
@ -8,7 +8,8 @@ export async function RootHeader({lng}: {lng: string}) {
return (
<header className={style.pageHeader}>
<h1>
<img className={style.pageLogo} src={"/logo-nbg-64.png"} alt={""}/>
<h1 className={style.pageTitle}>
{t("title")}
</h1>
</header>

View file

@ -28,7 +28,7 @@ export function StarredBoardsPanel({lng}: {lng: string}) {
</p>
</>
}
if(starred.length === 0) {
else if(starred.length === 0) {
content = <>
<p>
{t("existingStarredBoardsEmptyDescription")}

View file

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