Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: new tosidrop popup #548

Merged
merged 1 commit into from
Jan 4, 2025
Merged
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
12 changes: 0 additions & 12 deletions client/src/components/PopUp/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,6 @@ const PopUp = () => {
></FontAwesomeIcon>
</div>
<p className="mt-5">{popupInfo.text}</p>
<div className="flex w-full mt-5">
<a
href={popupInfo.buttonLink}
target="_blank"
rel="noreferrer"
className="ml-auto"
>
<button className="tosi-button px-5 py-2.5 rounded-lg">
{popupInfo.buttonText}
</button>
</a>
</div>
</div>
</div>
);
Expand Down
7 changes: 3 additions & 4 deletions server/public/json/popup.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"title": "TosiDrop has moved to a new domain!",
"text": "TosiDrop has moved from app.tosidrop.io to tosidrop.me! Update your bookmarks and saved links.",
"buttonText": "Let's go!",
"buttonLink": "https://tosidrop.me/"
"title": "Welcome to TosiDrop!",
"text": "Welcome to the new TosiDrop. We're making some updates, so it may look a little different, but the team is working on bringing new features to the site. Be sure to update your bookmarks to tosidrop.me",
"buttonText": "Close"
}
Loading