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
|
<ReactMarkdown
|
||||||
remarkPlugins={[remarkGfm]}
|
remarkPlugins={[remarkGfm]}
|
||||||
rehypePlugins={[rehypeRaw, rehypeHighlight, rehypeSlug]}
|
rehypePlugins={[rehypeRaw, rehypeHighlight, rehypeSlug]}
|
||||||
// This doesnt work....
|
|
||||||
components={{
|
components={{
|
||||||
a: ({ node, ...props }) => {
|
a: ({ node, ...props }) => {
|
||||||
return (
|
return (
|
||||||
|
|
|
@ -52,7 +52,7 @@ const homeMain: NavTemplate[] = [
|
||||||
// { content: <DefaultNavOption label="About" href="/about" /> },
|
// { content: <DefaultNavOption label="About" href="/about" /> },
|
||||||
{ content: <DefaultNavOption label="Dashboard" href="/dashboard" /> },
|
{ content: <DefaultNavOption label="Dashboard" href="/dashboard" /> },
|
||||||
{ content: <DefaultNavOption label="Team" href="/team" /> },
|
{ 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" /> },
|
// { content: <DefaultNavOption label="Contact" href="/contact" /> },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
import Image from "next/image";
|
|
||||||
import { getAllWikiPaths, getWikiContent } from "../../../lib/wiki/api";
|
import { getAllWikiPaths, getWikiContent } from "../../../lib/wiki/api";
|
||||||
import WikiPage from "../../../interfaces/WikiPage";
|
import WikiPage from "../../../interfaces/WikiPage";
|
||||||
import DashLayout from "../../../layouts/DashLayout";
|
import DashLayout from "../../../layouts/DashLayout";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import { m } from "framer-motion";
|
import { m } from "framer-motion";
|
||||||
import RenderMarkdown from "../../../components/wiki/RenderMarkdown";
|
|
||||||
import PageBody from "../../../components/wiki/PageBody";
|
import PageBody from "../../../components/wiki/PageBody";
|
||||||
import { ReactElement, useEffect, useState } from "react";
|
import { ReactElement, useEffect, useState } from "react";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue