cleanup misc

This commit is contained in:
3zachm 2023-02-06 17:05:19 -08:00
parent 580086b2cc
commit 50a0882acf
3 changed files with 1 additions and 4 deletions

View file

@ -14,7 +14,6 @@ export default function RenderMarkdown({ children }: RenderMarkdownProps) {
<ReactMarkdown
remarkPlugins={[remarkGfm]}
rehypePlugins={[rehypeRaw, rehypeHighlight, rehypeSlug]}
// This doesnt work....
components={{
a: ({ node, ...props }) => {
return (

View file

@ -52,7 +52,7 @@ const homeMain: NavTemplate[] = [
// { content: <DefaultNavOption label="About" href="/about" /> },
{ content: <DefaultNavOption label="Dashboard" href="/dashboard" /> },
{ content: <DefaultNavOption label="Team" href="/team" /> },
{ content: <DefaultNavOption label="Wiki" href="/wiki/en" /> },
{ content: <DefaultNavOption label="Wiki" href="/wiki" /> },
// { content: <DefaultNavOption label="Contact" href="/contact" /> },
];

View file

@ -1,10 +1,8 @@
import Image from "next/image";
import { getAllWikiPaths, getWikiContent } from "../../../lib/wiki/api";
import WikiPage from "../../../interfaces/WikiPage";
import DashLayout from "../../../layouts/DashLayout";
import Link from "next/link";
import { m } from "framer-motion";
import RenderMarkdown from "../../../components/wiki/RenderMarkdown";
import PageBody from "../../../components/wiki/PageBody";
import { ReactElement, useEffect, useState } from "react";