Skip to content

Commit

Permalink
Develop add ico link (#2563)
Browse files Browse the repository at this point in the history
* Launch FlyIcon

* Restore airdrop feature

* Use a instead of Link

* Fix icon, upgrade Sentry, fix leaderboard next env

* add new fly token with improved background

* rename flyicon to flytoken

* Resolve broken imports

* Fix referrer

---------

Co-authored-by: user <[email protected]>
  • Loading branch information
af-afk and user authored Mar 14, 2024
1 parent 66e2e8f commit abbab77
Show file tree
Hide file tree
Showing 8 changed files with 318 additions and 219 deletions.
14 changes: 2 additions & 12 deletions web/app.fluidity.money/app/entry.server.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { EntryContext } from "@remix-run/node";
import { RemixServer, useLocation, useMatches } from "@remix-run/react";
import { RemixServer } from "@remix-run/react";
import { renderToString } from "react-dom/server";
import * as Sentry from "@sentry/remix";
import { useEffect } from "react";

export default function handleRequest(
request: Request,
Expand All @@ -28,15 +27,6 @@ if (process.env.NODE_ENV === "production") {

Sentry.init({
dsn,
tracesSampleRate: 1.0,
integrations: [
new Sentry.BrowserTracing({
routingInstrumentation: Sentry.remixRouterInstrumentation(
useEffect,
useLocation,
useMatches
),
}),
],
tracesSampleRate: 1.0
});
} else console.log("Running in development, ignoring Sentry initialisation...");
2 changes: 1 addition & 1 deletion web/app.fluidity.money/app/routes/$network/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ export default function Dashboard() {
<ul className="sidebar-nav">
<li key="ico">
<div />
<a onClick={() => window?.open("https://launchmoby.com")}>
<a style={{"cursor": "pointer"}} href="https://launchmoby.com" target="_blank" rel="noreferrer">
<Text className="dashboard-navbar-default"><FlyIcon /> ICO</Text>
</a>
</li>
Expand Down
30 changes: 2 additions & 28 deletions web/app.fluidity.money/app/styles/dashboard.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 1 addition & 14 deletions web/app.fluidity.money/app/styles/transfer.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions web/app.fluidity.money/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
"@remix-run/react": "^1.7.1",
"@remix-run/serve": "^1.7.1",
"@saberhq/token-utils": "^1.14.9",
"@sentry/remix": "^7.17.2",
"@sentry/react": "^7.106.1",
"@sentry/remix": "^7.106.1",
"@sentry/tracing": "^7.106.1",
"@solana/wallet-adapter-base": "^0.9.18",
"@solana/wallet-adapter-react": "^0.15.23",
"@solana/wallet-adapter-wallets": "^0.19.5",
Expand Down Expand Up @@ -97,8 +99,6 @@
"@metamask/providers": "^10.0.0",
"@remix-run/dev": "^1.7.1",
"@remix-run/node": "^1.7.1",
"@sentry/react": "^7.12.1",
"@sentry/tracing": "^7.12.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/bn.js": "^5.1.1",
Expand Down
1 change: 1 addition & 0 deletions web/leaderboard/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
4 changes: 2 additions & 2 deletions web/surfing/src/assets/images/FlyIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit abbab77

Please sign in to comment.