-
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <>
+ Welcome to Melem
+
+ Campaigner Dashboard
+ >
+
+
+
+ Connect your wallet to claim the exclusive benefits
+ from Melem
+
+ To access the Beta Dashboard, please go to the{' '}
+
+ Melem Telegram Channel
+ {' '}
+ and request the beta account
+
+
+
+
connectCasperDashAsync()}
+ className="bg-amber-500 flex flex-1 flex-row gap-3 items-center justify-start p-4 rounded w-full cursor-pointer"
+ >
+
+
+
+
+ Casperdash
+
+
+
connectCasperWalletAsync()}
+ className="bg-amber-500 flex flex-1 flex-row gap-3 items-center justify-start p-4 rounded w-full cursor-pointer"
+ >
+
+
+
+
+ Casper Wallet
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- Welcome to Melem Campaigner Dashboard
-
-
- Connect your wallet to claim the exclusive benefits from Melem
-
-
- To access the Beta Dashboard, please go to the{' '}
-
- Melem Telegram Channel
- {' '}
- and request the beta account
-
-
-
-
-
+ >
);
};
diff --git a/packages/admin/src/modules/AdminWelcome/styled.tsx b/packages/admin/src/modules/AdminWelcome/styled.tsx
deleted file mode 100644
index 9cebefac..00000000
--- a/packages/admin/src/modules/AdminWelcome/styled.tsx
+++ /dev/null
@@ -1,136 +0,0 @@
-import { Paper, Box, Container } from '@mui/material';
-import Button from '@mui/material/Button';
-import MenuItem from '@mui/material/MenuItem';
-import { styled } from '@mui/material/styles';
-
-export const StyledWelcomePage = styled(Container)`
- display: flex;
- height: 100vh;
-`;
-
-export const StyledWelcomeBlock = styled(Paper)`
- background-color: ${({ theme }) => theme.palette.primary.dark};
- max-width: 520px;
- margin-left: auto;
- margin-right: auto;
- padding: 24px;
- border-radius: ${(props) => props.theme.spacing(4)};
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-125%, -50%);
- min-width: 460px;
- padding: ${(props) => props.theme.spacing(6)};
- color: ${({ theme }) => {
- const textColor = theme.palette.getContrastText(theme.palette.primary.dark);
- return textColor ?? theme.palette.primary.contrastText;
- }};
-`;
-
-export const StyledBox = styled(Box)`
- flex: 0 0 auto;
- position: relative;
-
- &.left {
- width: 70%;
- height: 100%;
- }
-
- &.right {
- width: 30%;
- }
-`;
-
-export const StyledImageOverlay = styled(Box)`
- background-color: ${({ theme }) => theme.palette.primary.dark};
- position: absolute;
- width: 100%;
- height: 100%;
-`;
-
-// const Keyframes = styled("div")({
-// "@keyframes bgAnimate": {
-// 0% {
-// background-position: 76% 0%;
-// }
-// 50% {
-// background-position:25% 100%;
-// }
-// 100% {
-// background-position:76% 0%
-// }
-// },
-// background: linear-gradient(205deg, #04011c, #7040f2);
-// background-size: 400% 400%;
-
-// -webkit-animation: AnimationName 31s ease infinite;
-// -moz-animation: AnimationName 31s ease infinite;
-// animation: AnimationName 31s ease infinite;
-// }
-// animation: "bgAnimate 1s infinite ease",
-// position: "absolute"
-// });
-
-export const BoxGradientBG = styled('div')`
- @keyframes bgAnimate {
- 0% {
- background-position: 76% 0%;
- }
- 50% {
- background-position:25% 100%;
- }
- 100% {
- background-position:76% 0%
- }
- }
- background: ${() => {
- return `linear-gradient(90deg, #48176C 0%, #070326 100%);`;
- }}
- background-size: 400% 400%;
- height: 100%;
-
- -webkit-animation: bgAnimate 12s ease infinite;
- -moz-animation: bgAnimate 12s ease infinite;
- animation: bgAnimate 12s ease infinite;
- position: absolute;
- width: 100%;
-}`;
-
-export const StyledButton = styled(Button)`
- padding: ${(props) => {
- return `${props.theme.spacing(2)} ${props.theme.spacing(5)}`;
- }};
- font-weight: 500;
- font-size: ${(props) => props.theme.typography.pxToRem(14)};
- border-radius: ${(props) => props.theme.spacing(4)};
- margin-top: ${(props) => props.theme.spacing(3)};
-`;
-
-export const StyledMenuItem = styled(MenuItem)`
- width: 260px;
-
- .icon {
- width: 30px;
- margin-right: ${(props) => props.theme.spacing(1.5)};
- min-width: 30px;
-
- .image--provider {
- max-width: 100%;
- height: auto;
-
- &.casperdash {
- transform: scale(1.35);
- }
-
- &.trust {
- transform: scale(0.95);
- }
- }
- }
-
- .wallet-name {
- padding-top: ${(props) => props.theme.spacing(1.5)};
- padding-bottom: ${(props) => props.theme.spacing(1.5)};
- font-size: ${(props) => props.theme.typography.pxToRem(14)};
- }
-`;
diff --git a/packages/admin/src/modules/Broker/BrokerTable/index.tsx b/packages/admin/src/modules/Broker/BrokerTable/index.tsx
index 64be3c62..fd5ab749 100644
--- a/packages/admin/src/modules/Broker/BrokerTable/index.tsx
+++ b/packages/admin/src/modules/Broker/BrokerTable/index.tsx
@@ -2,7 +2,7 @@ import { useMemo } from 'react';
import { useGetBrokers } from '@mlem-admin/hooks/queries/useGetBrokers';
import { Broker } from '@mlem-admin/types/broker';
-import { mapDeployStatus } from '@mlem-admin/utils/status';
+// import { mapDeployStatus } from '@mlem-admin/utils/status';
import { Box, Chip } from '@mui/material';
import dayjs from 'dayjs';
import MaterialReactTable, { MRT_ColumnDef } from 'material-react-table';
@@ -47,7 +47,7 @@ const BrokerTable = () => {
return (
);
diff --git a/packages/admin/src/modules/Welcome/index.tsx b/packages/admin/src/modules/Welcome/index.tsx
index 9891a5e0..ce73790d 100644
--- a/packages/admin/src/modules/Welcome/index.tsx
+++ b/packages/admin/src/modules/Welcome/index.tsx
@@ -24,6 +24,7 @@ const Welcome = () => {
src={logoD2E}
style={{ height: 'auto', width: 80 }}
/>
+
hello userrrr