File tree Expand file tree Collapse file tree 5 files changed +192
-154
lines changed Expand file tree Collapse file tree 5 files changed +192
-154
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ import { $api } from "../stores/api";
28
28
import { DefaultError , useQueryClient } from "@tanstack/react-query" ;
29
29
import { i18n } from "../stores/i18n" ;
30
30
import { C } from "../configuration" ;
31
+ import logo from "/logo.svg" ;
31
32
32
33
const messages = i18n ( "RootRoute" , {
33
34
title : "Home" ,
@@ -67,7 +68,7 @@ function Root() {
67
68
< AppShell . Header >
68
69
< Group justify = "space-between" >
69
70
< Link to = "/" >
70
- < Brand title = { C . env . title } />
71
+ < Brand title = { C . env . title } logoPath = { logo } />
71
72
</ Link >
72
73
{ sessionStore . email && (
73
74
< Group >
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ services:
78
78
THEME_COLOR : uzhGold
79
79
TITLE : LEMON
80
80
volumes :
81
- - logo.svg:/usr/share/nginx/logo.svg
81
+ - ./ logo.svg:/usr/share/nginx/html /logo.svg
82
82
labels :
83
83
- " com.centurylinklabs.watchtower.enable=true"
84
84
- " traefik.enable=true"
Original file line number Diff line number Diff line change 1
1
import { Group , Stack , Title } from "@mantine/core" ;
2
- import React , { ComponentType } from "react" ;
3
2
4
3
type Props = {
5
4
title : string ;
6
- Logo : ComponentType < React . SVGProps < SVGSVGElement > | React . ImgHTMLAttributes < HTMLImageElement > > ;
5
+ logoPath : string ;
7
6
} ;
8
7
9
- export function Brand ( { title, Logo } : Props ) {
8
+ export function Brand ( { title, logoPath } : Props ) {
10
9
return (
11
10
< Group className = "quassel-Brand" gap = "md" >
12
- < Logo className = "quassel-Logo" />
11
+ < img src = { logoPath } className = "quassel-Logo" />
13
12
< Stack gap = { 0 } >
14
13
< Title order = { 2 } c = "black" >
15
14
{ title }
You can’t perform that action at this time.
0 commit comments