Update TweetModal.tsx

simple UX clean up yk how it is
This commit is contained in:
fISHIE
2026-01-21 16:04:18 +05:00
parent 274af2f9ba
commit f69fbefcd6

View File

@@ -62,7 +62,7 @@ export function TweetModal({
</DialogTitle> </DialogTitle>
<DialogDescription className={language === "dv" ? "dhivehi" : ""}> <DialogDescription className={language === "dv" ? "dhivehi" : ""}>
{language === "en" {language === "en"
? "Help spread the word by posting about this petition." ? "Help spread the word by sharing this petition with your friends."
: "މި ޕެޓިޝަންގައި ވީހާވެސް ގިނަ ބަޔަކު ބައިވެރިކުރުމަށްޓަކައި އެކްސްގައި ޕޯސްޓް ކޮށްދެއްވާ."} : "މި ޕެޓިޝަންގައި ވީހާވެސް ގިނަ ބަޔަކު ބައިވެރިކުރުމަށްޓަކައި އެކްސްގައި ޕޯސްޓް ކޮށްދެއްވާ."}
</DialogDescription> </DialogDescription>
</DialogHeader> </DialogHeader>
@@ -72,7 +72,7 @@ export function TweetModal({
onClick={openTwitterIntent} onClick={openTwitterIntent}
className={`w-full bg-black hover:bg-neutral-800 ${language === "dv" ? "dhivehi" : ""}`} className={`w-full bg-black hover:bg-neutral-800 ${language === "dv" ? "dhivehi" : ""}`}
> >
{language === "en" ? "Post" : "ޕޯސްޓް ކުރައްވާ"} {language === "en" ? "Share on" : "ޕޯސްޓް ކުރައްވާ"}
<XIcon className="h-4 w-4 ml-2" /> <XIcon className="h-4 w-4 ml-2" />
</Button> </Button>
@@ -81,7 +81,6 @@ export function TweetModal({
onClick={onClose} onClick={onClose}
className={`w-full ${language === "dv" ? "dhivehi" : ""}`} className={`w-full ${language === "dv" ? "dhivehi" : ""}`}
> >
<X className="h-4 w-4 mr-2" />
{language === "en" ? "Maybe Later" : "ފަހުން"} {language === "en" ? "Maybe Later" : "ފަހުން"}
</Button> </Button>
</div> </div>