cleanup misc
This commit is contained in:
parent
580086b2cc
commit
50a0882acf
3 changed files with 1 additions and 4 deletions
|
@ -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 (
|
||||
|
|
|
@ -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" /> },
|
||||
];
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue