π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Inline
Manav Rathif15729d73f65
diff --git a/web/apps/photos/src/components/Badge.tsx b/web/apps/photos/src/components/Badge.tsxdeleted file mode 100644index 0e5da17d9d..0000000000--- a/web/apps/photos/src/components/Badge.tsx+++ /dev/null@@ -1,11 +0,0 @@-import { Box, styled } from "@mui/material";--export const Badge = styled(Box)(({ theme }) => ({- borderRadius: theme.shape.borderRadius,- padding: "2px 4px",- backgroundColor: theme.colors.black.muted,- backdropFilter: `blur(${theme.colors.blur.muted})`,- color: theme.colors.white.base,- textTransform: "uppercase",- ...theme.typography.mini,-}));diff --git a/web/apps/photos/src/components/pages/gallery/PlanSelector/plans/planRow.tsx b/web/apps/photos/src/components/pages/gallery/PlanSelector/plans/planRow.tsxindex 9701baf01a..d0bbb87460 100644--- a/web/apps/photos/src/components/pages/gallery/PlanSelector/plans/planRow.tsx+++ b/web/apps/photos/src/components/pages/gallery/PlanSelector/plans/planRow.tsx@@ -3,7 +3,6 @@ import { FlexWrapper, FluidContainer } from "@ente/shared/components/Container";import ArrowForward from "@mui/icons-material/ArrowForward";import Done from "@mui/icons-material/Done";import { Box, Button, ButtonProps, Typography, styled } from "@mui/material";-import { Badge } from "components/Badge";import { PLAN_PERIOD } from "constants/gallery";import { t } from "i18next";import { Plan, Subscription } from "types/billing";@@ -101,3 +100,13 @@ export function PlanRow({</PlanRowContainer>);}++const Badge = styled(Box)(({ theme }) => ({+ borderRadius: theme.shape.borderRadius,+ padding: "2px 4px",+ backgroundColor: theme.colors.black.muted,+ backdropFilter: `blur(${theme.colors.blur.muted})`,+ color: theme.colors.white.base,+ textTransform: "uppercase",+ ...theme.typography.mini,+}));