From 00cfeb4f4ae016e6cdd199684e3426a20f2caff2 Mon Sep 17 00:00:00 2001 From: mfahampshire Date: Mon, 21 Oct 2024 19:27:25 +0200 Subject: [PATCH] update footer --- documentation/docs/components/footer.tsx | 21 ++++++++++----------- documentation/docs/pages/styles.css | 4 ++++ documentation/docs/theme.config.tsx | 6 +++--- 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/documentation/docs/components/footer.tsx b/documentation/docs/components/footer.tsx index 71061b0497..64bd64d505 100644 --- a/documentation/docs/components/footer.tsx +++ b/documentation/docs/components/footer.tsx @@ -1,18 +1,17 @@ -import React from 'react'; -import Stack from '@mui/material/Stack'; +import React from "react"; +import Stack from "@mui/material/Stack"; const links = [ - ['Twitter', 'https://nymtech.net/go/twitter'], - ['Telegram', 'https://nymtech.net/go/telegram'], - ['Discord', 'https://nymtech.net/go/discord'], - ['GitHub', 'https://nymtech.net/go/github/nym'], - ['Nym Wallet', 'https://nymtech.net/download/wallet'], - ['Nym Explorer', 'https://explorer.nymtech.net/'], - ['Nym Blog', 'https://nymtech.medium.com/'], - ['Nym Shipyard', 'https://shipyard.nymtech.net/'], + ["Matrix", "https://matrix.to/#/#dev:nymtech.chat"], + ["GitHub", "https://nymtech.net/go/github/nym"], + ["Nym Wallet", "https://nymtech.net/download/wallet"], + ["Nym Explorer", "https://explorer.nymtech.net/"], + ["Nym Blog", "https://nymtech.medium.com/"], + ["Twitter", "https://nymtech.net/go/twitter"], + ["Telegram", "https://nymtech.net/go/telegram"], ]; export const Footer = () => ( - + {links.map((link) => ( {link[0]} diff --git a/documentation/docs/pages/styles.css b/documentation/docs/pages/styles.css index c4844270e1..f819ecdccc 100644 --- a/documentation/docs/pages/styles.css +++ b/documentation/docs/pages/styles.css @@ -7,6 +7,10 @@ div.nextra-code-block > div { background: var(--colorPrimary) !important; } +footer { + text-align: center; +} + .nextra-code-block > pre { /* max-height: 350px !important; */ max-height: none !important; diff --git a/documentation/docs/theme.config.tsx b/documentation/docs/theme.config.tsx index 9eaab5e04c..3acf475992 100644 --- a/documentation/docs/theme.config.tsx +++ b/documentation/docs/theme.config.tsx @@ -16,9 +16,9 @@ const config: DocsThemeConfig = { }, docsRepositoryBase: "https://github.com/nymtech/nym/tree/develop/documentation/docs/", - // footer: { - // text: Footer, - // }, + footer: { + text: Footer, + }, darkMode: true, sidebar: { defaultMenuCollapseLevel: 1,