π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: reverted the title and copy icon
vnay-devb10b1285e839
diff --git a/web/apps/paste/src/features/paste/components/PasteCreatePanel.tsx b/web/apps/paste/src/features/paste/components/PasteCreatePanel.tsxindex 93f939b02e..853e9e7d06 100644--- a/web/apps/paste/src/features/paste/components/PasteCreatePanel.tsx+++ b/web/apps/paste/src/features/paste/components/PasteCreatePanel.tsx@@ -43,27 +43,14 @@ export const PasteCreatePanel = ({const isNearCharLimit = inputText.length >= nearLimitThreshold;const isCreateDisabled = isInputEmpty;const privacyPills = [+ "Private",isMobile ? "E2EE" : "End-to-end encrypted",+ "One-time view","Auto-deletes after 24 hours",];return (<Box sx={{ width: "100%", maxWidth: "100%", minWidth: 0 }}>- <Typography- component="h2"- sx={{- color: tokens.text.primary,- fontWeight: 600,- fontSize: { xs: "1.08rem", sm: "1.18rem" },- lineHeight: 1.35,- letterSpacing: "0.01em",- textAlign: "center",- mb: { xs: 1.25, sm: 1.5 },- maxWidth: "100%",- }}- >- Share private data with secure, one-time links- </Typography><Boxsx={{position: "relative",diff --git a/web/apps/paste/src/features/paste/components/PasteLinkCard.tsx b/web/apps/paste/src/features/paste/components/PasteLinkCard.tsxindex 30d7249fe1..3ecd2b95f5 100644--- a/web/apps/paste/src/features/paste/components/PasteLinkCard.tsx+++ b/web/apps/paste/src/features/paste/components/PasteLinkCard.tsx@@ -1,8 +1,6 @@import { Link01Icon } from "@hugeicons/core-free-icons";import { HugeiconsIcon } from "@hugeicons/react";-import CheckRoundedIcon from "@mui/icons-material/CheckRounded";import CloseRoundedIcon from "@mui/icons-material/CloseRounded";-import ContentCopyRoundedIcon from "@mui/icons-material/ContentCopyRounded";import QrCode2RoundedIcon from "@mui/icons-material/QrCode2Rounded";import {Box,@@ -255,12 +253,9 @@ export const PasteLinkCard = ({flex: 1,minWidth: 0,display: "flex",- flexDirection: "row",alignItems: "center",boxSizing: "border-box",- gap: { xs: 0.75, sm: 1 },- pl: { xs: 1.9, sm: 2.2 },- pr: { xs: 0.85, sm: 1 },+ px: { xs: 1.9, sm: 2.2 },py: { xs: 1.05, sm: 1.2 },borderRadius: "14px",border: `1px solid ${tokens.surface.linkRowBorder}`,@@ -284,9 +279,10 @@ export const PasteLinkCard = ({sx={{display: "flex",alignItems: "center",- justifyContent: "flex-start",- flex: 1,- minWidth: 0,+ justifyContent: { xs: "flex-start", md: "center" },+ height: "100%",+ width: "100%",+ maxWidth: "100%",gap: 0.9,color: tokens.text.primary,textDecoration: "none",@@ -319,7 +315,9 @@ export const PasteLinkCard = ({<Boxcomponent="span"sx={{+ flex: { xs: 1, md: "0 1 auto" },minWidth: 0,+ maxWidth: { md: "calc(100% - 28px)" },overflow: "hidden",textOverflow: "ellipsis",whiteSpace: "nowrap",@@ -329,39 +327,6 @@ export const PasteLinkCard = ({{link}</Box></Typography>- <IconButton- type="button"- aria-label={showCopied ? "Copied" : "Copy link"}- onClick={(event) => {- event.preventDefault();- event.stopPropagation();- handleCopyClick();- }}- sx={{- flexShrink: 0,- width: { xs: 36, sm: 38 },- height: { xs: 36, sm: 38 },- borderRadius: "10px",- color: tokens.text.primary,- bgcolor: "transparent",- "&:hover": {- bgcolor: tokens.frame.headerIconHoverBg,- },- }}- >- {showCopied ? (- <CheckRoundedIcon- sx={{- fontSize: { xs: 20, sm: 21 },- color: tokens.text.copied,- }}- />- ) : (- <ContentCopyRoundedIcon- sx={{ fontSize: { xs: 20, sm: 21 } }}- />- )}- </IconButton></Box>{arrow && (<Box