diff --git a/packages/grant-explorer/src/features/common/ShareButtons.tsx b/packages/grant-explorer/src/features/common/ShareButtons.tsx
index afa1a5b0ea..5384f13ae7 100755
--- a/packages/grant-explorer/src/features/common/ShareButtons.tsx
+++ b/packages/grant-explorer/src/features/common/ShareButtons.tsx
@@ -11,7 +11,9 @@ import { useState } from "react";
export const ShareButtons = ({
attestationLink,
+ isTop,
}: {
+ isTop?: boolean;
attestationLink: string;
}): JSX.Element => {
const twitterShareUrl = createTwitterAttestationShareUrl(attestationLink);
@@ -30,37 +32,47 @@ export const ShareButtons = ({
return (
-
Share
+
+ Share with your network!
+
-
-

+
+
+

window.open(farcasterShareUrl, "_blank")}
+ />
+
+
+
+
+

window.open(twitterShareUrl, "_blank")}
+ />
+
+
+
+
+

+
{tooltipVisible && ( // Render tooltip conditionally
-
+
Copied!
)}
-
-

window.open(twitterShareUrl, "_blank")}
- />
-
-
-

window.open(farcasterShareUrl, "_blank")}
- />
-
);
@@ -82,7 +94,7 @@ export function createTwitterShareUrl(props: TwitterButtonParams) {
}
export function createTwitterAttestationShareText(attestationLink: string) {
- return `Certified public goods supporter 🫡\n\nMy contribution is now onchain—check out the visual that represents my impact.\n\nHat tip to @gitcoin 💚\n\n${attestationLink}`;
+ return `Just minted my donation on Gitcoin 🫡\n\nMy impact is now onchain!\n\n${attestationLink}`;
}
export function createTwitterAttestationShareUrl(attestationLink: string) {
@@ -94,11 +106,10 @@ export function createTwitterAttestationShareUrl(attestationLink: string) {
export function getFarcasterAttestationShareText() {
const encodedText1 = encodeURIComponent(
- `Certified public goods supporter 🫡\n\nMy contribution is now onchain—check out the visual that represents my impact.\n\nHat tip to `
+ `Just minted my donation on Gitcoin 🫡\n\nMy impact is now onchain!`
);
- const encodedText2 = encodeURIComponent(` 💚\n`);
// NB: mentions should not be encoded
- return `${encodedText1}@gitcoin${encodedText2}`;
+ return encodedText1;
}
export function createFarcasterShareUrl(