From 03bf877f64f6c0042b2dac824474f1f9197952cf Mon Sep 17 00:00:00 2001 From: Prrorr2 Date: Wed, 9 Aug 2023 17:22:24 +0200 Subject: [PATCH] Colors alive --- src/App.jsx | 5 ++--- src/Components/Header.jsx | 9 ++++----- src/Components/Pay.jsx | 8 ++++---- src/Components/Transactions.jsx | 34 +++++++++++++++++++++------------ src/Screens/MainApp.jsx | 4 ++-- tailwind.config.js | 8 ++++++++ 6 files changed, 42 insertions(+), 26 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 87428e8..ae7d65f 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -4,7 +4,6 @@ import { useState, useEffect } from "react"; import MainApp from "./Screens/MainApp.jsx"; import sjcl from "sjcl"; export default function App() { - const colors = { primary: "bg-blue-200", secondary: "bg-emerald-400" }; const [keys, setKeys] = useState({ public: "", private: "" }); if (keys.private !== "") { console.log("heykj"); @@ -20,8 +19,8 @@ export default function App() { } console.log(keys); return keys.private.length < 10 ? ( - + ) : ( - + ); } diff --git a/src/Components/Header.jsx b/src/Components/Header.jsx index 35faa7b..19eb56b 100644 --- a/src/Components/Header.jsx +++ b/src/Components/Header.jsx @@ -30,13 +30,12 @@ export default function Header({ keys, setKeys }) { }); } return ( -
-
-

Balance Actual:

-

{balance}

+
+
+

{balance} BLC