diff --git a/testnet-faucet/src/App.tsx b/testnet-faucet/src/App.tsx
index a645b36e51..4d8866a968 100644
--- a/testnet-faucet/src/App.tsx
+++ b/testnet-faucet/src/App.tsx
@@ -4,6 +4,7 @@ import { NymThemeProvider } from './theme'
import { Form } from './components/form'
import { Header } from './components/header'
import { GlobalContextProvider } from './context'
+import { Subheader } from './components/subheader'
export const App = () => {
return (
@@ -26,6 +27,7 @@ export const App = () => {
+
diff --git a/testnet-faucet/src/components/balance.tsx b/testnet-faucet/src/components/balance.tsx
index d87cb35a25..8e7c7d89aa 100644
--- a/testnet-faucet/src/components/balance.tsx
+++ b/testnet-faucet/src/components/balance.tsx
@@ -1,39 +1,34 @@
import { useContext } from 'react'
-import { Card, CardHeader, Typography } from '@mui/material'
-import { GlobalContext } from '../context'
+import { CardHeader, Typography } from '@mui/material'
import { CancelOutlined, CheckCircleOutline } from '@mui/icons-material'
+import { GlobalContext } from '../context'
export const Balance = () => {
- const { tokensAreAvailable, balance } = useContext(GlobalContext)
- console.log(balance)
+ const { tokensAreAvailable } = useContext(GlobalContext)
+
return (
- `1px solid ${theme.palette.common.white}`,
- p: 2,
- }}
- >
-
- {tokensAreAvailable
- ? 'Tokens are available'
- : 'Tokens are not currently available'}
-
- }
- action={
- tokensAreAvailable ? (
-
- ) : (
-
- )
- }
- />
-
+
+ {tokensAreAvailable
+ ? 'Tokens are available'
+ : 'Tokens are not currently available'}
+
+ }
+ avatar={
+ tokensAreAvailable ? (
+
+ ) : (
+
+ )
+ }
+ />
)
}
diff --git a/testnet-faucet/src/components/form/index.tsx b/testnet-faucet/src/components/form/index.tsx
index 746da38f1f..586d37a503 100644
--- a/testnet-faucet/src/components/form/index.tsx
+++ b/testnet-faucet/src/components/form/index.tsx
@@ -53,7 +53,7 @@ export const Form = ({ withInputField }: { withInputField?: boolean }) => {
return (
{
- const matches = useMediaQuery('(min-width: 500px)')
return (
-
+
Nym testnet Sandbox faucet
- {matches && (
-
- NYMT tokens to your address
-
- )}
-
+
diff --git a/testnet-faucet/src/components/subheader.tsx b/testnet-faucet/src/components/subheader.tsx
new file mode 100644
index 0000000000..ee1ab59758
--- /dev/null
+++ b/testnet-faucet/src/components/subheader.tsx
@@ -0,0 +1,14 @@
+import React from 'react'
+import { Typography } from '@mui/material'
+
+export const Subheader = () => {
+ return (
+
+ Send 101 NYMT tokens to your address
+
+ )
+}