Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin page fix #198

Merged
merged 10 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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