+
{
switch (modalId) {
case ModalId.Project:
return ProjectCard;
- case ModalId.Login1:
- return LoginCard_1;
- case ModalId.Login2:
- return LoginCard_2;
+ case ModalId.LoginScanWallet:
+ return ScanningWalletCard;
+ case ModalId.LoginNativeWallet:
+ return LoginNativeWalletCard;
+ case ModalId.LoginSuccess:
+ return LoginSuccessCard;
case ModalId.Vote:
return VoteCard;
default:
diff --git a/src/Components/Shared/Navbar/NavMobile.tsx b/src/Components/Shared/Navbar/NavMobile.tsx
index 0e0ff6c..d818bc3 100644
--- a/src/Components/Shared/Navbar/NavMobile.tsx
+++ b/src/Components/Shared/Navbar/NavMobile.tsx
@@ -58,7 +58,7 @@ export default function NavMobile() {
-
+
{navLinks.map((link, idx) => -
diff --git a/src/Components/Shared/Navbar/Navbar.tsx b/src/Components/Shared/Navbar/Navbar.tsx
index 8cad468..f7d381d 100644
--- a/src/Components/Shared/Navbar/Navbar.tsx
+++ b/src/Components/Shared/Navbar/Navbar.tsx
@@ -27,8 +27,8 @@ export default function Navbar() {
-
-
2.2k sats
+
+
2.2k sats
>
diff --git a/src/index.css b/src/index.css
index 62210ec..1c99e91 100644
--- a/src/index.css
+++ b/src/index.css
@@ -9,7 +9,7 @@
}
.btn-primary {
- @apply bg-primary-600 hover:bg-primary-500 text-white;
+ @apply bg-primary-500 hover:bg-primary-400 text-white;
}
.btn-gray {
diff --git a/src/redux/features/modals.slice.ts b/src/redux/features/modals.slice.ts
index 98d39a7..92cbc19 100644
--- a/src/redux/features/modals.slice.ts
+++ b/src/redux/features/modals.slice.ts
@@ -10,8 +10,9 @@ export enum Direction {
export enum ModalId {
None,
Project,
- Login1,
- Login2,
+ LoginScanWallet,
+ LoginNativeWallet,
+ LoginSuccess,
Vote,
}
@@ -28,10 +29,10 @@ interface StoreState {
}
const initialState = {
- isOpen: false,
+ isOpen: true,
isLoading: false,
direction: Direction.START,
- openModals: [] as OpenModal[],
+ openModals: [{ modalId: ModalId.LoginSuccess }] as OpenModal[],
} as StoreState;
export const modalSlice = createSlice({
diff --git a/src/utils/Wrapper.tsx b/src/utils/Wrapper.tsx
index 4bc16e7..7b0fc1f 100644
--- a/src/utils/Wrapper.tsx
+++ b/src/utils/Wrapper.tsx
@@ -1,8 +1,11 @@
import { QueryClient, QueryClientProvider } from 'react-query'
-import 'react-multi-carousel/lib/styles.css';
+
import { Provider } from 'react-redux';
import { store } from '../redux/store';
+import 'react-multi-carousel/lib/styles.css';
+import "react-loader-spinner/dist/loader/css/react-spinner-loader.css";
+
const queryClient = new QueryClient()
diff --git a/tailwind.config.js b/tailwind.config.js
index e2e465e..3e37ad3 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -36,7 +36,6 @@ module.exports = {
800: "#2C1E93",
900: "#1C127A",
},
- fire: "#ff6a00",
sucess: {
300: "#6CE9A6",
400: "#32D583",
@@ -44,6 +43,10 @@ module.exports = {
600: "#039855",
700: "#027A48",
},
+
+ // Custom Colors
+ thunder: "#ffd400",
+ fire: "#ff6a00",
},
fontSize: {
h1: ["36px", "30px"],