Skip to content

armgit / ente

Public Imported from GitHub
0

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

Swap

Manav Rathi61d0c090b742
diff --git a/web/apps/auth/src/pages/auth.tsx b/web/apps/auth/src/pages/auth.tsx
index 1562bae3e8..bbb54e0027 100644
--- a/web/apps/auth/src/pages/auth.tsx
+++ b/web/apps/auth/src/pages/auth.tsx
@@ -3,7 +3,7 @@ import { stashRedirect } from "@/accounts/services/redirect";
import { EnteLogo } from "@/base/components/EnteLogo";
import { LoadingIndicator } from "@/base/components/loaders";
import { FocusVisibleButton } from "@/base/components/mui/FocusVisibleButton";
-import { NavbarBase } from "@/base/components/Navbar";
+import { NavbarBaseNormalFlow } from "@/base/components/Navbar";
import {
OverflowMenu,
OverflowMenuOption,
@@ -134,11 +134,19 @@ const AuthNavbar: React.FC = () => {
const { logout } = useAppContext();
return (
- <NavbarBase>
- <Stack direction="row" sx={{ flex: 1, justifyContent: "center" }}>
- <EnteLogo />
- </Stack>
- <Stack direction="row" sx={{ position: "absolute", right: "24px" }}>
+ <NavbarBaseNormalFlow
+ sx={{
+ position: "sticky",
+ top: 0,
+ left: 0,
+ mb: 2,
+ zIndex: 1,
+ backgroundColor: "backdrop.muted",
+ backdropFilter: "blur(7px)",
+ }}
+ >
+ <EnteLogo />
+ <Box sx={{ position: "absolute", right: "24px" }}>
<OverflowMenu ariaID="auth-options">
<OverflowMenuOption
color="critical"
@@ -148,8 +156,8 @@ const AuthNavbar: React.FC = () => {
{t("logout")}
</OverflowMenuOption>
</OverflowMenu>
- </Stack>
- </NavbarBase>
+ </Box>
+ </NavbarBaseNormalFlow>
);
};