diff --git a/next.config.js b/next.config.js index 1ac29385..04958589 100644 --- a/next.config.js +++ b/next.config.js @@ -9,6 +9,22 @@ const nextConfig = { 'xdefi-static.s3.eu-west-1.amazonaws.com', ], }, + async redirects() { + return [ + { + source: '/((?!_next|mobile).*)', + has: [ + { + type: 'header', + key: 'User-Agent', + value: '.*(Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile|WPDesktop).*', + }, + ], + permanent: true, + destination: '/mobile', + }, + ] + }, async rewrites() { return [ { diff --git a/package.json b/package.json index c3b7d6db..e7d6c77d 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,8 @@ "@cosmjs/cosmwasm-stargate": "^0.31.0", "@delphi-labs/shuttle-react": "^3.7.0", "@keplr-wallet/cosmos": "^0.12.20", + "@splinetool/react-spline": "^2.2.1", + "@splinetool/runtime": "^0.9.414", "@sentry/nextjs": "^7.61.1", "@tanstack/react-table": "^8.9.3", "@tippyjs/react": "^4.2.6", diff --git a/src/components/Account/AccountDetails.tsx b/src/components/Account/AccountDetails.tsx index e4785ea7..3d85b09e 100644 --- a/src/components/Account/AccountDetails.tsx +++ b/src/components/Account/AccountDetails.tsx @@ -1,3 +1,5 @@ +import classNames from 'classnames' + import DisplayCurrency from 'components/DisplayCurrency' import { FormattedNumber } from 'components/FormattedNumber' import { Gauge } from 'components/Gauge' @@ -36,9 +38,12 @@ function AccountDetails(props: Props) { return (
-
+
} /> Health @@ -50,11 +55,11 @@ function AccountDetails(props: Props) { animate />
-
+
Balance - +
) diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 6fc67d60..f7ef3214 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -4,7 +4,7 @@ import packageInfo from '../../package.json' export default function Footer() { return ( -