From 4de10a25f0b0627d230a966e006d1f917e120d95 Mon Sep 17 00:00:00 2001
From: Alexander Belopashentsev <61732514+belopash@users.noreply.github.com>
Date: Tue, 2 Jul 2024 17:17:39 +0500
Subject: [PATCH] feat: update logo and favicon (#36)
---
index.html | 2 +-
public/favicon.v3.png | Bin 0 -> 1613 bytes
src/components/Logo/Logo.tsx | 20 ++++++++++++++------
3 files changed, 15 insertions(+), 7 deletions(-)
create mode 100644 public/favicon.v3.png
diff --git a/index.html b/index.html
index a4fcb45..5e5246f 100644
--- a/index.html
+++ b/index.html
@@ -6,7 +6,7 @@
Subsquid Network App
-
+
diff --git a/public/favicon.v3.png b/public/favicon.v3.png
new file mode 100644
index 0000000000000000000000000000000000000000..f61996426f18f3a49bdee9ba82b4c33c74fc6f0c
GIT binary patch
literal 1613
zcmd5-`#;kQ09~`yW*)Q1EA!g&PM%?8t2K0&yt6dh!f^3Pq03UY@A8kKQ#h@O;pNH#zS+o}`ZkN?b>M%}^h9YZ8)rE3@J$F$wNGvz_$FdB-MJ6cOxb
zELJ6~Ro6E8Ur;25g2>p+6ob~8?2v1*Uf4gAYi
zkcwUst4iJYdXUlq$n9|QTd=g7NC{BJa4Sv#r~~K(7)ESYh2m(ASkA2Yg8JezO(CTY
zZe(ZbM*BW^5OwiIPdU`oREcnpYlLRxfYsE~i$4ANM~_;`crIRZjk6{f6Vu1xvjB$)
zjB0PylUWxm^~f`>v4<9A7EZ(+k++qx6S=q65F3v{?QuoatA-F3cz
zQivWqOv)>D6-R>?d_U3+`_Bp1zisgq!wkC9@%shim6rqahdQ(lcaSoY58ih+g>T+f
z3fQwGnQmPxZnWhGx;+%x#>h!YN-kqE>Wzk2Z>l({8j+G>qq)
zxC_Y8&q~g`;K(B+%|E9l9(3QmZg-cb+U;)hDovEg`9}od@wDngDWjK&!a=(GE}Aq-
z%+}WlotE|rhU=J=?qN$$?#qh`nWrNCnzhSly1f0GUtkwAlT9zrboaL5j1zn1PJi@m$I1
zdS+H|XuqN{;*Q4%Y4>FJzy3R^#SLpZL8$1jn(w1$5R+PNGcU^8`Ny%eq7M6PeAW$3
zYxA-7&P5hW=4HAF7Oa^h!S0TUwe^ZAS;M}#ytllFqKs`9y%uP=TD
zRG#6Lik}WFKej19188LC-bff+m@O=G0<2$$2mZ}<3aL`z6tjrq-iy-JY;YdT&)m+4
zk9VY@eTv5G@jCKhr(L{w$y_14Q#8-1TPt?KdhvFs_J&?>G{O}oSgI;v8?vzes%|{6
zYE$FGgG@?k$@L$BU&5ifnxj00%&4ZWIQvKz{bxdFT>n92$X&=@CKsCW5xD8(tiIx`
z3$}6yOD~V>d$pvTBgS?NMvt8I9;0OTNdQuD<<^hzs|;XaIe4Wc$jmFv&W?ugL-4g9
z#Hm|KhAoifBDwm)vwz9v9F{On2nNkGX&e67!A*D7(wy>~qnbQ7rS^
zJ#fcJo|0E=i|wQe>{Ue0!CHcOZ!?trh=N-}!44=~pOwQ1_XP&%jXlhENz=XQN3OGY
zjeuzTYph>naEH9p8-A^v5bjKiZZV1rw|e3nv*dC24O1=WzQ?N0F8-n?R#|#{Vs1+D
zr3W$DFnxdsgJX`m>!}wKpw|EiBFEw
G+5Z6$1;WAr
literal 0
HcmV?d00001
diff --git a/src/components/Logo/Logo.tsx b/src/components/Logo/Logo.tsx
index 792e1f1..22b8979 100644
--- a/src/components/Logo/Logo.tsx
+++ b/src/components/Logo/Logo.tsx
@@ -1,9 +1,9 @@
import React from 'react';
import { Box, styled, useMediaQuery, useTheme } from '@mui/material';
-import { upperFirst } from 'lodash-es';
import { getSubsquidNetwork } from '@network/useSubsquidNetwork';
+import upperFirst from 'lodash-es/upperFirst';
export const LogoWrapper = styled('div', {
name: 'LogoWrapper',
@@ -41,19 +41,27 @@ export const LogoSecondary = styled(Box, {
export function Logo({ color = '#fff' }: { color?: string }) {
const theme = useTheme();
const narrow = useMediaQuery(theme.breakpoints.down('lg'));
- const size = 32;
const network = getSubsquidNetwork();
+ const size = 20;
return (
-
+
+ {upperFirst(network)}
+ {/*
{!narrow ? (
<>
SUBSQUID
- {upperFirst(network)}
- >
- ) : null}
+ >
+ ) : null} */}
);
}