Skip to content

armgit / ente

Public Imported from GitHub
0

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

Refine Space home and profile UI

Anand Baburajan1b83629fc4c0
diff --git a/web/apps/space/src/screens/HomeScreen.tsx b/web/apps/space/src/screens/HomeScreen.tsx
index c60e02e9c1..7ac876e8bb 100644
--- a/web/apps/space/src/screens/HomeScreen.tsx
+++ b/web/apps/space/src/screens/HomeScreen.tsx
@@ -33,6 +33,7 @@ import {
import {
spaceAppBackground,
spaceAppBackgroundColor,
+ spaceSurface,
spaceText,
spaceTextMuted,
} from "styles/colors";
@@ -62,7 +63,7 @@ const headerActionSize = spaceTouchTargetSize;
const headerAvatarSize = 36;
const headerAvatarImageSize = 26;
const headerChatCircleSize = 36;
-const headerChromeColor = "#EFEFEF";
+const headerChromeColor = "#F0F0F0";
const mediaPlaceholderColor = "#E5E7EA";
const headerHeight = 64;
const headerIconSize = 22;
@@ -702,7 +703,7 @@ export const FriendPostCircle: React.FC<FriendPostCircleProps> = ({
aria-hidden
sx={{
alignItems: "center",
- bgcolor: "rgba(255, 255, 255, 0.86)",
+ bgcolor: spaceSurface,
color: textSecondary,
display: "flex",
fontSize: 14,
diff --git a/web/apps/space/src/screens/ProfileScreen.tsx b/web/apps/space/src/screens/ProfileScreen.tsx
index 5af120c9bd..fa030bb88c 100644
--- a/web/apps/space/src/screens/ProfileScreen.tsx
+++ b/web/apps/space/src/screens/ProfileScreen.tsx
@@ -1852,6 +1852,7 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({
boxSizing: "border-box",
display: "flex",
flexDirection: "column",
+ gap: "16px",
justifyContent: "center",
minHeight: 0,
pb: 0,
@@ -1882,6 +1883,23 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({
{`${firstName} hasn't posted anything yet.`}
</Box>
)}
+ {isOwnerProfile && (
+ <Box
+ component="p"
+ sx={{
+ color: textSoft,
+ fontFamily:
+ '"Inter Variable", Inter, sans-serif',
+ fontSize: 14,
+ fontWeight: 500,
+ lineHeight: "20px",
+ m: 0,
+ maxWidth: 250,
+ }}
+ >
+ Share something from your day.
+ </Box>
+ )}
{isOwnerProfile && (
<Box
className="green-bg"
@@ -1931,7 +1949,7 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({
size={20}
strokeWidth={1.8}
/>
- Share a moment
+ Post
</Box>
)}
</Box>