From 070a5b3abdbcf69df468d3cdb6d8b9f1b2bde066 Mon Sep 17 00:00:00 2001 From: Edd Date: Fri, 19 May 2023 22:04:23 +0100 Subject: [PATCH] feat(explorer): disclaimer --- .../src/app/components/footer/footer.tsx | 13 ++++-- .../src/app/routes/pages/disclaimer.tsx | 40 +++++++++++++++++++ apps/explorer/src/app/routes/route-names.tsx | 1 + .../explorer/src/app/routes/router-config.tsx | 12 ++++++ 4 files changed, 63 insertions(+), 3 deletions(-) create mode 100644 apps/explorer/src/app/routes/pages/disclaimer.tsx diff --git a/apps/explorer/src/app/components/footer/footer.tsx b/apps/explorer/src/app/components/footer/footer.tsx index 6855e5964..171196eb0 100644 --- a/apps/explorer/src/app/components/footer/footer.tsx +++ b/apps/explorer/src/app/components/footer/footer.tsx @@ -4,9 +4,11 @@ import { } from '@vegaprotocol/environment'; import { t } from '@vegaprotocol/i18n'; import { useScreenDimensions } from '@vegaprotocol/react-helpers'; -import { ExternalLink, Link } from '@vegaprotocol/ui-toolkit'; +import { Link, ExternalLink } from '@vegaprotocol/ui-toolkit'; import { useMemo } from 'react'; import { ENV } from '../../config/env'; +import { Routes } from '../../routes/route-names'; +import { Link as RouteLink } from 'react-router-dom'; export const Footer = () => { const { VEGA_URL, GIT_COMMIT_HASH, GIT_ORIGIN_URL } = useEnvironment(); @@ -21,7 +23,7 @@ export const Footer = () => { ); return ( -