Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Web UI for Across.
### Requirements

- [yarn v1.22.22](https://classic.yarnpkg.com/en/docs/install)
- NodeJS >=v20
- NodeJS >=22.18.0
- [Vercel CLI (35 or higher)](https://vercel.com/docs/cli)

### Local setup
Expand Down
9 changes: 4 additions & 5 deletions src/hooks/useTwitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,18 @@ import { twitterShareContestActive } from "utils";
const contestActiveParams = {
cardTitle: "Win 1,000 ACX!",
cardSubtitle:
"Post your transaction speed on X for a chance to win this week's 1,000 ACX giveaway #PoweredByIntents",
"Post your transaction speed on X for a chance to win this week's 1,000 ACX giveaway. Powered by Intents.",
modalTitle: "Share for a Chance to Win 1,000 ACX!",
};

const contestInactiveParams = {
cardTitle: "Wow, that was fast!",
cardSubtitle:
"This deserves a tweet. Show your friends how fast you bridged! #PoweredByIntents",
cardTitle: "That was fast! Tell the world!",
cardSubtitle: "",
modalTitle: "Too Fast Not to Share",
};

const tweetText =
"Check out how fast I just bridged with @AcrossProtocol\n #PoweredByIntents ⛺";
"Check out how fast I just bridged.\n\nGet there with @AcrossProtocol";

export function useTwitter() {
const { helpers } = useCurrentBreakpoint();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export function TwitterShareCard(props: TwitterShareProps) {
}

const Card = styled.div`
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
Expand Down Expand Up @@ -171,5 +172,6 @@ const Button = styled(SecondaryButton)`

@media ${QUERIES.tabletAndUp} {
width: unset;
margin-left: auto;
}
`;
Loading