2023-11-30 15:23:11 +03:00
|
|
|
import React from "react";
|
|
|
|
|
import { DocsThemeConfig } from "nextra-theme-docs";
|
2023-11-25 21:56:02 +00:00
|
|
|
|
|
|
|
|
const config: DocsThemeConfig = {
|
2023-11-30 15:23:11 +03:00
|
|
|
logo: (
|
|
|
|
|
<div style={{ display: "flex", alignItems: "center" }}>
|
|
|
|
|
<img
|
|
|
|
|
src={`/img/logo-512.png`}
|
|
|
|
|
alt={"ClassroomIO logo"}
|
|
|
|
|
width={32}
|
|
|
|
|
height={32}
|
|
|
|
|
/>
|
|
|
|
|
<span style={{ marginLeft: "5px", lineHeight: "15px" }}>ClassroomIO Docs</span>
|
|
|
|
|
</div>
|
|
|
|
|
),
|
|
|
|
|
project: {
|
|
|
|
|
link: "https://github.com/rotimi-best/classroomio",
|
|
|
|
|
},
|
|
|
|
|
useNextSeoProps() {
|
|
|
|
|
return {
|
|
|
|
|
titleTemplate: "ClassroomIO Documentation",
|
|
|
|
|
openGraph: {
|
|
|
|
|
images: [{ url: `/img/og-image.png` }],
|
|
|
|
|
siteName: "ClassroomIO Documentation",
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
chat: {
|
|
|
|
|
link: "https://dub.sh/ciodiscord",
|
|
|
|
|
},
|
|
|
|
|
sidebar: {
|
|
|
|
|
defaultMenuCollapseLevel: 1,
|
|
|
|
|
autoCollapse: false,
|
|
|
|
|
},
|
|
|
|
|
docsRepositoryBase: "https://github.com/rotimi-best/classroomio/apps/docs",
|
|
|
|
|
footer: {
|
|
|
|
|
text: "ClassroomIO Help Docs",
|
|
|
|
|
},
|
|
|
|
|
head: (
|
|
|
|
|
<>
|
|
|
|
|
<link
|
|
|
|
|
rel='shortcut icon'
|
|
|
|
|
type='image/x-icon'
|
|
|
|
|
href={`/img/favicon.ico`}
|
|
|
|
|
/>
|
|
|
|
|
<link
|
|
|
|
|
rel='icon'
|
|
|
|
|
type='image/x-icon'
|
|
|
|
|
sizes='16x16'
|
|
|
|
|
href={`/img/logo-16.png`}
|
|
|
|
|
/>
|
|
|
|
|
<link
|
|
|
|
|
rel='icon'
|
|
|
|
|
type='image/x-icon'
|
|
|
|
|
sizes='32x32'
|
|
|
|
|
href={`/img/logo-32.png`}
|
|
|
|
|
/>
|
|
|
|
|
</>
|
|
|
|
|
),
|
|
|
|
|
};
|
2023-11-25 21:56:02 +00:00
|
|
|
|
2023-11-30 15:23:11 +03:00
|
|
|
export default config;
|