feat(client): unify brand mark — green king across sidebar, page header and favicon
- Replace the blue chess-piece SVG with a green king silhouette adapted from Cburnett's chess set (Wikimedia Commons, CC BY-SA 3.0); applies to the page-header logo and the browser favicon - Drop the placeholder green "C" square in the sidebar in favour of the same king SVG - Add a NOTICE file documenting the asset attribution and license
This commit is contained in:
1 parent
5424a9bba3
commit
6d892b7635
4 files changed
+53
-108
No files matched your search
@@ -6,6 +6,7 @@ import { toggleSidebar } from "@/Features/UI/uiSlice.js";
|
||||
import { useDispatch } from "react-redux";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import useSidebar from "@/Hooks/useSidebar";
|
||||
import KingIcon from "@/assets/icons/checkmate-icon.svg?react";
|
||||
|
||||
export const Logo = (props: StackProps) => {
|
||||
const { t } = useTranslation();
|
||||
@@ -23,19 +24,21 @@ export const Logo = (props: StackProps) => {
|
||||
sx={{ cursor: "pointer" }}
|
||||
{...props}
|
||||
>
|
||||
<Typography
|
||||
minWidth={theme.spacing(16)}
|
||||
minHeight={theme.spacing(16)}
|
||||
display={"flex"}
|
||||
justifyContent={"center"}
|
||||
alignItems={"center"}
|
||||
bgcolor={theme.palette.primary.main}
|
||||
borderRadius={theme.shape.borderRadius}
|
||||
color={theme.palette.primary.contrastText}
|
||||
fontSize={18}
|
||||
<Box
|
||||
sx={{
|
||||
width: theme.spacing(16),
|
||||
height: theme.spacing(16),
|
||||
display: "flex",
|
||||
justifyContent: "center",
|
||||
alignItems: "center",
|
||||
"& svg": {
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
},
|
||||
}}
|
||||
>
|
||||
C
|
||||
</Typography>
|
||||
<KingIcon />
|
||||
</Box>
|
||||
<Box
|
||||
overflow={"hidden"}
|
||||
sx={{
|
||||
|
||||
Reference in new issue
Block a user