diff --git a/src/app/screens/Home/DefaultView/index.tsx b/src/app/screens/Home/DefaultView/index.tsx index cbed228736..1f7380cb5e 100644 --- a/src/app/screens/Home/DefaultView/index.tsx +++ b/src/app/screens/Home/DefaultView/index.tsx @@ -1,8 +1,4 @@ -import { - ArrowRightIcon, - ReceiveIcon, - SendIcon, -} from "@bitcoin-design/bitcoin-icons-react/filled"; +import { ArrowRightIcon } from "@bitcoin-design/bitcoin-icons-react/filled"; import Button from "@components/Button"; import Loading from "@components/Loading"; import TransactionsTable from "@components/TransactionsTable"; @@ -108,40 +104,40 @@ const DefaultView: FC = (props) => { toast.success(tCommon("actions.copied_to_clipboard")); }} > - {accountLoading && ( - <> - ⚡️  - - - )} - {!accountLoading && ( - <> - ⚡️ {lightningAddress} - + + {!accountLoading ? ( + lightningAddress + ) : ( + )} )} -
-
{isBlockedUrl && ( @@ -192,4 +188,22 @@ const DefaultView: FC = (props) => { ); }; +const HomeButton = ({ + icon, + onClick, + children, +}: { + icon: React.ReactNode; + children: React.ReactNode; + onClick: () => void; +}) => ( + +); + export default DefaultView; diff --git a/src/i18n/locales/en/translation.json b/src/i18n/locales/en/translation.json index e7a2fb17c3..7071ad7e84 100644 --- a/src/i18n/locales/en/translation.json +++ b/src/i18n/locales/en/translation.json @@ -970,6 +970,7 @@ "balance": "Balance", "or": "or", "website": "Website", + "apps": "Apps", "actions": { "back": "Back", "delete": "Delete", diff --git a/static/assets/icons/popicons/apps.svg b/static/assets/icons/popicons/apps.svg new file mode 100644 index 0000000000..afc3aafb48 --- /dev/null +++ b/static/assets/icons/popicons/apps.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/assets/icons/popicons/bolt.svg b/static/assets/icons/popicons/bolt.svg new file mode 100644 index 0000000000..322a332826 --- /dev/null +++ b/static/assets/icons/popicons/bolt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/assets/icons/popicons/receive.svg b/static/assets/icons/popicons/receive.svg new file mode 100644 index 0000000000..fccc34f974 --- /dev/null +++ b/static/assets/icons/popicons/receive.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/assets/icons/popicons/send.svg b/static/assets/icons/popicons/send.svg new file mode 100644 index 0000000000..8f50f506cc --- /dev/null +++ b/static/assets/icons/popicons/send.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tailwind.config.js b/tailwind.config.js index 4489242621..3a99b4694b 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -53,13 +53,9 @@ module.exports = { "surface-00dp": surfaceColor, "surface-01dp": lighten(surfaceColor, 5), "surface-02dp": lighten(surfaceColor, 7), - "surface-03dp": lighten(surfaceColor, 8), - "surface-04dp": lighten(surfaceColor, 9), - "surface-06dp": lighten(surfaceColor, 11), "surface-08dp": lighten(surfaceColor, 12), "surface-12dp": lighten(surfaceColor, 14), "surface-16dp": lighten(surfaceColor, 15), - "surface-24dp": lighten(surfaceColor, 16), }, }, backgroundImage: (theme) => ({