Skip to content

armgit / ente

Public Imported from GitHub
0

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

Polish family invitation UI

Manav Rathi07e87b5c25e5
diff --git a/web/apps/accounts/public/images/family-invite-accepted.png b/web/apps/accounts/public/images/family-invite-accepted.png
new file mode 100644
index 0000000000..c44c6cf745
Binary files /dev/null and b/web/apps/accounts/public/images/family-invite-accepted.png differ
diff --git a/web/apps/accounts/src/pages/family.tsx b/web/apps/accounts/src/pages/family.tsx
index c1073eb779..7764b48a7e 100644
--- a/web/apps/accounts/src/pages/family.tsx
+++ b/web/apps/accounts/src/pages/family.tsx
@@ -108,8 +108,8 @@ const Page: React.FC = () => {
<Box
component="img"
alt=""
- src="/images/family-invite.png"
- sx={{ width: 160, height: "auto" }}
+ src="/images/family-invite-accepted.png"
+ sx={{ width: 200, height: "auto" }}
/>
<Stack sx={{ gap: 1.5 }}>
<Typography variant="h3">
@@ -120,10 +120,13 @@ const Page: React.FC = () => {
email: invite?.adminEmail,
})}
</Typography>
- <Typography sx={{ color: "text.muted" }}>
- {t("family_invite_open_ente")}
- </Typography>
</Stack>
+ <FocusVisibleButton
+ color="accent"
+ href="https://photos.ente.com"
+ >
+ {t("open_ente")}
+ </FocusVisibleButton>
</FamilyInviteContents>
) : (
<FamilyInviteContents>
diff --git a/web/apps/photos/src/components/FamilyManagement.tsx b/web/apps/photos/src/components/FamilyManagement.tsx
index b9f9ecfe6a..e1df4fa146 100644
--- a/web/apps/photos/src/components/FamilyManagement.tsx
+++ b/web/apps/photos/src/components/FamilyManagement.tsx
@@ -352,8 +352,8 @@ const FamilyMemberRow: React.FC<{
sx={{
width: 36,
height: 36,
- bgcolor: color,
- color: avatarTextColor,
+ bgcolor: invited ? "fill.muted" : color,
+ color: invited ? "text.muted" : avatarTextColor,
fontSize: 15,
}}
>
diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.json
index cebf0c8c90..2353bce059 100644
--- a/web/packages/base/locales/en-US/translation.json
+++ b/web/packages/base/locales/en-US/translation.json
@@ -255,7 +255,7 @@
"family_invite_accepted": "Welcome to the family",
"family_invite_accepted_description": "You are now sharing {{email}}'s plan.",
"family_invite_invalid": "This invite is invalid or no longer available.",
- "family_invite_open_ente": "You can now open Ente to start using the shared plan.",
+ "open_ente": "Open Ente",
"invite": "Invite",
"enter_valid_email": "Enter a valid email address",
"family_user_not_found": "No Ente account was found for this email address.",