Skip to content

Commit

Permalink
Merge pull request #198 from ton-blockchain/admin_fix
Browse files Browse the repository at this point in the history
Admin page fix
  • Loading branch information
EmelyanenkoK authored Dec 14, 2023
2 parents c3795f1 + 27e7d87 commit a1a718e
Show file tree
Hide file tree
Showing 12 changed files with 519 additions and 251 deletions.
2 changes: 0 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ VITE_SHOW_MANUAL_VERIFICATION=true

VITE_VERIFIER_ID=orbs.com
VITE_BACKEND_URL=https://ton-source-prod-1.herokuapp.com,https://ton-source-prod-2.herokuapp.com,https://ton-source-prod-3.herokuapp.com
VITE_VERIFIER_REGISTRY=EQDS0AW7NV1w3nFwx-mmryfpH4OGQ3PXnoFGOJA_8PTHuLrw
VITE_SOURCES_REGISTRY=EQD-BJSVUJviud_Qv7Ymfd3qzXdrmV525e3YDzWQoHIAiInL

VITE_VERIFIER_ID_TESTNET=orbs-testnet
VITE_BACKEND_URL_TESTNET=https://ton-source-prod-testnet-1.herokuapp.com
VITE_VERIFIER_REGISTRY_TESTNET=EQB--CRXUbqYbqJKScEWeOrnk0TKJxB071M-WwvMpMEvq6Ed
VITE_SOURCES_REGISTRY_TESTNET=EQCsdKYwUaXkgJkz2l0ol6qT_WxeRbE_wBCwnEybmR0u5TO8
22 changes: 22 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,13 @@
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
"react-ga4": "^1.4.1",
"react-hook-form": "^7.48.2",
"react-qr-code": "^2.0.8",
"react-router-dom": "^6.4.2",
"source-map-explorer": "^2.5.3",
"tvm-disassembler": "^2.0.2",
"ton": "^13.4.1",
"ton-core": "^0.49.0",
"tvm-disassembler": "^2.0.2",
"web-tree-sitter": "^0.20.7",
"zustand": "^4.1.3"
},
Expand Down
14 changes: 5 additions & 9 deletions src/components/admin/Admin.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
import { Box } from "@mui/material";
import { Box, Stack } from "@mui/material";
import { TestnetBar } from "../TestnetBar";
import SourcesRegistry from "./SourcesRegistry";
import { VerifierRegistry } from "./VerifierRegistry";
import { FlexBoxRow } from "../Getters.styled";
import { Footer } from "../Footer";
import ConnectButton from "../ConnectButton";
import { StyledTonConnectButton } from "../../styles";

export function Admin() {
return (
<div>
{window.isTestnet && <TestnetBar />}
<FlexBoxRow
sx={{
gap: 30,
px: 4,
}}>
<Stack direction="row" justifyContent="space-between" alignItems="center" p={4}>
<h1>Admin</h1>
<ConnectButton />
</FlexBoxRow>
<StyledTonConnectButton />
</Stack>
<SourcesRegistry />
<VerifierRegistry />
<Footer />
Expand Down
Loading

0 comments on commit a1a718e

Please sign in to comment.