mirror of
https://github.com/Steffo99/todocolors.git
synced 2024-11-25 17:54:18 +00:00
Add logo with no background
This commit is contained in:
parent
f6f6cbf9df
commit
0e2b2d05f7
9 changed files with 14 additions and 4 deletions
BIN
todoblue/public/logo-nbg-128.png
Normal file
BIN
todoblue/public/logo-nbg-128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
BIN
todoblue/public/logo-nbg-160.png
Normal file
BIN
todoblue/public/logo-nbg-160.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
BIN
todoblue/public/logo-nbg-32.png
Normal file
BIN
todoblue/public/logo-nbg-32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.5 KiB |
BIN
todoblue/public/logo-nbg-321.png
Normal file
BIN
todoblue/public/logo-nbg-321.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 59 KiB |
BIN
todoblue/public/logo-nbg-64.png
Normal file
BIN
todoblue/public/logo-nbg-64.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
9
todoblue/src/app/[lang]/(page)/RootHeader.module.css
Normal file
9
todoblue/src/app/[lang]/(page)/RootHeader.module.css
Normal file
|
@ -0,0 +1,9 @@
|
|||
.pageHeader {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2ex;
|
||||
}
|
||||
|
||||
.pageLogo {
|
||||
|
||||
}
|
|
@ -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>
|
||||
|
|
|
@ -28,7 +28,7 @@ export function StarredBoardsPanel({lng}: {lng: string}) {
|
|||
</p>
|
||||
</>
|
||||
}
|
||||
if(starred.length === 0) {
|
||||
else if(starred.length === 0) {
|
||||
content = <>
|
||||
<p>
|
||||
{t("existingStarredBoardsEmptyDescription")}
|
||||
|
|
|
@ -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).*)',
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue