[#809,docs,navigation][xl]: initial commit

This commit is contained in:
deme
2023-05-04 22:34:17 -03:00
parent edb2354945
commit 5328492575
10 changed files with 490 additions and 3116 deletions

View File

@@ -5,11 +5,25 @@ import Script from "next/script";
import { DefaultSeo } from "next-seo";
import { pageview, ThemeProvider } from "@flowershow/core";
import { NavGroup, NavItem, pageview, ThemeProvider } from "@flowershow/core";
import { siteConfig } from "../config/siteConfig";
import { useEffect } from "react";
import { useRouter } from "next/dist/client/router";
export interface CustomAppProps {
meta: {
showToc: boolean;
showEditLink: boolean;
showSidebar: boolean;
showComments: boolean;
urlPath: string; // not sure what's this for
editUrl?: string;
[key: string]: any;
};
siteMap?: Array<NavItem | NavGroup>;
[key: string]: any;
}
function MyApp({ Component, pageProps }) {
const router = useRouter();