Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Update icon

vishnukvmd66ce7680af73
diff --git a/web/apps/locker/public/images/locker.svg b/web/apps/locker/public/images/locker.svg
new file mode 100644
index 0000000000..995a9de212
--- /dev/null
+++ b/web/apps/locker/public/images/locker.svg
@@ -0,0 +1,8 @@
+<svg width="42" height="9" viewBox="0 0 42 9" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M37.2266 8.90356V2.44756H39.0146V4.27156L38.7626 3.74356C38.9546 3.28756 39.2626 2.94356 39.6866 2.71156C40.1106 2.47156 40.6266 2.35156 41.2346 2.35156V4.07956C41.1546 4.07156 41.0826 4.06756 41.0186 4.06756C40.9546 4.05956 40.8866 4.05556 40.8146 4.05556C40.3026 4.05556 39.8866 4.20356 39.5666 4.49956C39.2546 4.78756 39.0986 5.23956 39.0986 5.85556V8.90356H37.2266Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M32.8598 8.99956C32.1238 8.99956 31.4758 8.85556 30.9158 8.56756C30.3638 8.27956 29.9358 7.88756 29.6318 7.39156C29.3278 6.88756 29.1758 6.31556 29.1758 5.67556C29.1758 5.02756 29.3238 4.45556 29.6198 3.95956C29.9238 3.45556 30.3358 3.06356 30.8558 2.78356C31.3758 2.49556 31.9638 2.35156 32.6198 2.35156C33.2518 2.35156 33.8198 2.48756 34.3238 2.75956C34.8358 3.02356 35.2398 3.40756 35.5358 3.91156C35.8318 4.40756 35.9798 5.00356 35.9798 5.69956C35.9798 5.77156 35.9758 5.85556 35.9678 5.95156C35.9598 6.03956 35.9518 6.12356 35.9438 6.20356H30.6998V5.11156H34.9598L34.2398 5.43556C34.2398 5.09956 34.1718 4.80756 34.0358 4.55956C33.8998 4.31156 33.7118 4.11956 33.4718 3.98356C33.2318 3.83956 32.9518 3.76756 32.6318 3.76756C32.3118 3.76756 32.0278 3.83956 31.7798 3.98356C31.5398 4.11956 31.3518 4.31556 31.2158 4.57156C31.0798 4.81956 31.0118 5.11556 31.0118 5.45956V5.74756C31.0118 6.09956 31.0878 6.41156 31.2398 6.68356C31.3998 6.94756 31.6198 7.15156 31.8998 7.29556C32.1878 7.43156 32.5238 7.49956 32.9078 7.49956C33.2518 7.49956 33.5518 7.44756 33.8078 7.34356C34.0718 7.23956 34.3118 7.08356 34.5278 6.87556L35.5238 7.95556C35.2278 8.29156 34.8558 8.55156 34.4078 8.73556C33.9598 8.91156 33.4438 8.99956 32.8598 8.99956Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M23.5519 7.584L23.5999 5.304L26.6119 2.448H28.8439L25.9519 5.388L24.9799 6.18L23.5519 7.584ZM22.0039 8.904V0H23.8759V8.904H22.0039ZM26.8159 8.904L24.6319 6.192L25.8079 4.74L29.0839 8.904H26.8159Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M18.0688 8.99956C17.3728 8.99956 16.7528 8.85956 16.2088 8.57956C15.6648 8.29156 15.2368 7.89556 14.9248 7.39156C14.6208 6.88756 14.4688 6.31556 14.4688 5.67556C14.4688 5.02756 14.6208 4.45556 14.9248 3.95956C15.2368 3.45556 15.6648 3.06356 16.2088 2.78356C16.7528 2.49556 17.3728 2.35156 18.0688 2.35156C18.7488 2.35156 19.3408 2.49556 19.8448 2.78356C20.3488 3.06356 20.7207 3.46756 20.9607 3.99556L19.5087 4.77556C19.3407 4.47156 19.1288 4.24756 18.8728 4.10356C18.6248 3.95956 18.3528 3.88756 18.0568 3.88756C17.7368 3.88756 17.4488 3.95956 17.1927 4.10356C16.9368 4.24756 16.7328 4.45156 16.5808 4.71556C16.4368 4.97956 16.3648 5.29956 16.3648 5.67556C16.3648 6.05156 16.4368 6.37156 16.5808 6.63556C16.7328 6.89956 16.9368 7.10356 17.1927 7.24756C17.4488 7.39156 17.7368 7.46356 18.0568 7.46356C18.3528 7.46356 18.6248 7.39556 18.8728 7.25956C19.1288 7.11556 19.3407 6.88756 19.5087 6.57556L20.9607 7.36756C20.7207 7.88756 20.3488 8.29156 19.8448 8.57956C19.3408 8.85956 18.7488 8.99956 18.0688 8.99956Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M10.1575 8.99956C9.46947 8.99956 8.85747 8.85556 8.32147 8.56756C7.79347 8.27956 7.37347 7.88756 7.06147 7.39156C6.75747 6.88756 6.60547 6.31556 6.60547 5.67556C6.60547 5.02756 6.75747 4.45556 7.06147 3.95956C7.37347 3.45556 7.79347 3.06356 8.32147 2.78356C8.85747 2.49556 9.46947 2.35156 10.1575 2.35156C10.8375 2.35156 11.4455 2.49556 11.9815 2.78356C12.5175 3.06356 12.9375 3.45156 13.2415 3.94756C13.5455 4.44356 13.6975 5.01956 13.6975 5.67556C13.6975 6.31556 13.5455 6.88756 13.2415 7.39156C12.9375 7.88756 12.5175 8.27956 11.9815 8.56756C11.4455 8.85556 10.8375 8.99956 10.1575 8.99956ZM10.1575 7.46356C10.4695 7.46356 10.7495 7.39156 10.9975 7.24756C11.2455 7.10356 11.4415 6.89956 11.5855 6.63556C11.7295 6.36356 11.8015 6.04356 11.8015 5.67556C11.8015 5.29956 11.7295 4.97956 11.5855 4.71556C11.4415 4.45156 11.2455 4.24756 10.9975 4.10356C10.7495 3.95956 10.4695 3.88756 10.1575 3.88756C9.84547 3.88756 9.56547 3.95956 9.31747 4.10356C9.06947 4.24756 8.86947 4.45156 8.71747 4.71556C8.57347 4.97956 8.50147 5.29956 8.50147 5.67556C8.50147 6.04356 8.57347 6.36356 8.71747 6.63556C8.86947 6.89956 9.06947 7.10356 9.31747 7.24756C9.56547 7.39156 9.84547 7.46356 10.1575 7.46356Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M0 8.90391V0.503906H1.944V7.31991H6.156V8.90391H0Z" fill="white" style="fill:white;fill-opacity:1;"/>
+</svg>
diff --git a/web/apps/locker/src/components/LockerNavbar.tsx b/web/apps/locker/src/components/LockerNavbar.tsx
index 0414859a85..c10efeb515 100644
--- a/web/apps/locker/src/components/LockerNavbar.tsx
+++ b/web/apps/locker/src/components/LockerNavbar.tsx
@@ -50,9 +50,13 @@ export const LockerNavbar: React.FC<LockerNavbarProps> = ({
<Box
component="img"
- src="/images/ente-locker-white.svg"
- alt="Ente Locker"
- sx={{ height: 26, width: "auto" }}
+ src="/images/locker.svg"
+ alt="Locker"
+ sx={{
+ height: 20,
+ width: "auto",
+ filter: "brightness(0) invert(1)",
+ }}
></Box>
<Box sx={{ width: 40 }} />
diff --git a/web/apps/locker/src/components/LockerSidebar.tsx b/web/apps/locker/src/components/LockerSidebar.tsx
index 7d05229d7e..c60c4e3f64 100644
--- a/web/apps/locker/src/components/LockerSidebar.tsx
+++ b/web/apps/locker/src/components/LockerSidebar.tsx
@@ -4,7 +4,14 @@ import DeleteOutlineIcon from "@mui/icons-material/DeleteOutline";
import FolderOutlinedIcon from "@mui/icons-material/FolderOutlined";
import HomeOutlinedIcon from "@mui/icons-material/HomeOutlined";
import LogoutOutlinedIcon from "@mui/icons-material/LogoutOutlined";
-import { Box, IconButton, Stack, Typography } from "@mui/material";
+import {
+ Box,
+ IconButton,
+ Stack,
+ Typography,
+ useTheme,
+} from "@mui/material";
+import { EnteLogo } from "ente-base/components/EnteLogo";
import {
RowButton,
RowButtonDivider,
@@ -66,6 +73,7 @@ export const LockerSidebar: React.FC<LockerSidebarProps> = ({
userDetails,
}) => {
const { logout } = useBaseContext();
+ const theme = useTheme();
const displayCollections = visibleLockerCollections(collections);
const totalItems = collections.reduce(
(sum, collection) => sum + collection.items.length,
@@ -134,11 +142,17 @@ export const LockerSidebar: React.FC<LockerSidebarProps> = ({
}}
>
<Box
- component="img"
- src="/images/ente-locker-white.svg"
- alt="Ente Locker"
- sx={{ height: 24, width: "auto", px: 1 }}
- />
+ sx={{
+ px: 1,
+ lineHeight: 0,
+ color: "#111111",
+ ...theme.applyStyles("dark", {
+ color: "rgba(255,255,255,0.92)",
+ }),
+ }}
+ >
+ <EnteLogo height={18} />
+ </Box>
<IconButton onClick={onClose} color="secondary">
<CloseIcon />
</IconButton>