diff --git a/explorer-nextjs/app/components/ExplorerCard.tsx b/explorer-nextjs/app/components/ExplorerCard.tsx index 0a8ce3697d..5d7bc45698 100644 --- a/explorer-nextjs/app/components/ExplorerCard.tsx +++ b/explorer-nextjs/app/components/ExplorerCard.tsx @@ -251,8 +251,10 @@ const CardChat = () => { if (typeof window !== "undefined") { // Set Remark42 configuration on the window object window.remark_config = { - host: "http://localhost:8081", - site_id: "remark42", + // host: "http://localhost:8081", + host: "https://remark.blockfend.com", + // site_id: "remark42", + site_id: "nym-explorer-test", components: ["embed", "last-comments"], max_shown_comments: 100, theme: mode === "light" ? "light" : "dark", diff --git a/explorer-nextjs/app/page.tsx b/explorer-nextjs/app/page.tsx index c0027157a5..e734af66e8 100644 --- a/explorer-nextjs/app/page.tsx +++ b/explorer-nextjs/app/page.tsx @@ -26,18 +26,6 @@ import { } from "./components/AccountStatsCard"; import TwoSidedSwitch from "./components/ExplorerSwitchButton"; -// type ContentCardProps = { -// overTitle?: string; -// title?: string; -// upDownLine?: ICardUpDownPriceLineProps; -// titlePrice?: ICardTitlePriceProps; -// dataRows?: ICardDataRowsProps; -// graph?: Array; -// progressBar?: IExplorerProgressBarProps; -// paragraph?: string; -// onClick?: ReactEventHandler; -// }; - const explorerCard: ContentCardProps = { overTitle: "SINGLE", profileImage: {}, diff --git a/explorer-nextjs/docker-compose.yml b/explorer-nextjs/docker-compose.yml index 120ac5f94b..b653b01c8e 100644 --- a/explorer-nextjs/docker-compose.yml +++ b/explorer-nextjs/docker-compose.yml @@ -22,10 +22,13 @@ services: - "443:8443" environment: - - REMARK_URL=http://localhost:8081 + # - REMARK_URL=http://localhost:8081 + - REMARK_URL=https://remark.blockfend.com - SECRET=secret-key - AUTH_ANON=true - - SITE=remark42 + # - SITE=remark42 + - SITE=nym-explorer-test + # - DEBUG=true # - AUTH_GOOGLE_CID # - AUTH_GOOGLE_CSEC diff --git a/explorer-nextjs/tsconfig.json b/explorer-nextjs/tsconfig.json index 68ef0fdf3b..701d0e6984 100644 --- a/explorer-nextjs/tsconfig.json +++ b/explorer-nextjs/tsconfig.json @@ -28,7 +28,8 @@ "../assets/*" ] }, - "moduleResolution": "node" + "moduleResolution": "node", + "target": "ES2017" }, "include": [ "next-env.d.ts", diff --git a/explorer-nextjs/var/nym-explorer-test.db b/explorer-nextjs/var/nym-explorer-test.db new file mode 100644 index 0000000000..7e066af1f9 Binary files /dev/null and b/explorer-nextjs/var/nym-explorer-test.db differ