Files
classroomio/apps/docs/theme.config.tsx
T

143 lines
4.3 KiB
TypeScript
Raw Normal View History

2023-12-11 02:35:20 +03:00
import React from 'react';
import { DocsThemeConfig } from 'nextra-theme-docs';
2023-11-25 21:56:02 +00:00
const config: DocsThemeConfig = {
2023-12-14 07:25:50 +03:00
head: (
<>
<link
rel="shortcut icon"
type="image/x-icon"
href={`${process.env.imagePath}/img/favicon.ico`}
/>
<link
rel="icon"
type="image/x-icon"
sizes="16x16"
href={`${process.env.imagePath}/img/logo-16.png`}
/>
<link
rel="icon"
type="image/x-icon"
sizes="32x32"
href={`${process.env.imagePath}/img/logo-32.png`}
/>
2024-02-12 10:26:37 +00:00
<title>ClassroomIO – Launch Your Online Bootcamp In Minutes</title>
2023-12-14 07:25:50 +03:00
<meta
name="description"
2024-05-20 08:44:10 +01:00
content="Launch your bootcamp quickly and affordably with ClassroomIO, the customizable online teaching platform."
2023-12-14 07:25:50 +03:00
/>
2024-02-12 10:26:37 +00:00
<meta property="og:url" content="https://classroomio.com/docs" />
<meta property="og:type" content="website" />
<meta property="og:title" content="ClassroomIO – Launch Your Online Bootcamp In Minutes" />
2023-12-14 07:25:50 +03:00
<meta
property="og:description"
2024-05-20 08:44:10 +01:00
content="Launch your bootcamp quickly and affordably with ClassroomIO, the customizable online teaching platform."
2023-12-14 07:25:50 +03:00
/>
2024-09-05 15:51:05 +01:00
<meta property="og:image" content="https://brand.cdn.clsrio.com/og/classroomio-og.png" />
2024-02-12 10:26:37 +00:00
2023-12-14 07:25:50 +03:00
<meta name="twitter:card" content="summary_large_image" />
2024-02-12 10:26:37 +00:00
<meta property="twitter:domain" content="classroomio.com" />
<meta property="twitter:url" content="https://classroomio.com/docs" />
<meta name="twitter:title" content="ClassroomIO – Launch Your Online Bootcamp In Minutes" />
2023-12-14 07:25:50 +03:00
<meta
name="twitter:description"
2024-05-20 08:44:10 +01:00
content="Launch your bootcamp quickly and affordably with ClassroomIO, the customizable online teaching platform."
2023-12-14 07:25:50 +03:00
/>
2024-02-12 10:26:37 +00:00
<meta name="twitter:creator" content="@classroomio" />
2024-09-05 15:51:05 +01:00
<meta name="twitter:image" content="https://brand.cdn.clsrio.com/og/classroomio-og.png" />
2023-12-14 07:25:50 +03:00
</>
),
2023-12-11 02:35:20 +03:00
logo: (
<div style={{ display: 'flex', alignItems: 'center' }}>
2023-12-13 10:16:21 +03:00
<img
src={`${process.env.imagePath}/img/logo-512.png`}
alt={'ClassroomIO logo'}
width={32}
height={32}
/>
2023-12-11 02:35:20 +03:00
<span style={{ marginLeft: '5px', lineHeight: '15px' }}>ClassroomIO Docs</span>
</div>
),
2023-12-14 07:25:50 +03:00
navbar: {
extraContent: (
<a
style={{
display: 'flex',
alignItems: 'center',
border: '1px solid gray',
borderRadius: 5,
padding: '2px 7px'
}}
href="https://app.classroomio.com"
>
Dashboard ↗
2023-12-14 07:25:50 +03:00
</a>
)
},
2023-12-11 02:35:20 +03:00
project: {
link: 'https://github.com/rotimi-best/classroomio'
},
useNextSeoProps() {
return {
titleTemplate: 'ClassroomIO Documentation',
openGraph: {
siteName: 'ClassroomIO Docs',
title: 'ClassroomIO Documentation',
2024-05-20 08:44:10 +01:00
description:
'Launch your bootcamp quickly and affordably with ClassroomIO, the customizable online teaching platform.',
2023-12-11 02:35:20 +03:00
images: [
{
2023-12-13 10:16:21 +03:00
url: `${process.env.imagePath}/img/logo-16.png`,
2023-12-11 02:35:20 +03:00
width: 16,
height: 16,
alt: 'ClassroomIO Docs Og Image Alt',
type: 'image/png'
},
{
2023-12-13 10:16:21 +03:00
url: `${process.env.imagePath}/img/logo-32.png`,
2023-12-11 02:35:20 +03:00
width: 32,
height: 32,
alt: 'ClassroomIO Docs Og Image Alt',
type: 'image/png'
},
{
2023-12-13 10:16:21 +03:00
url: `${process.env.imagePath}/img/logo-192.png`,
2023-12-11 02:35:20 +03:00
width: 192,
height: 192,
alt: 'ClassroomIO Docs Og Image Alt',
type: 'image/png'
},
{
2023-12-13 10:16:21 +03:00
url: `${process.env.imagePath}/img/logo-512.png`,
2023-12-11 02:35:20 +03:00
width: 512,
height: 512,
alt: 'ClassroomIO Docs Og Image Alt',
type: 'image/png'
},
2023-12-13 10:16:21 +03:00
{ url: `${process.env.imagePath}/img/og-image.png'` }
2023-12-11 02:35:20 +03:00
],
twitter: {
handle: '@classroomio',
site: '@classroomio.com',
cardType: 'summary_large_image'
}
}
};
},
chat: {
link: 'https://dub.sh/ciodiscord'
},
sidebar: {
defaultMenuCollapseLevel: 1,
autoCollapse: false
},
2023-12-14 07:25:50 +03:00
docsRepositoryBase: 'https://github.com/rotimi-best/classroomio/tree/main/apps/docs',
2023-12-11 02:35:20 +03:00
footer: {
2023-12-14 07:25:50 +03:00
text: 'ClassroomIO Docs'
}
2023-11-30 15:23:11 +03:00
};
2023-11-25 21:56:02 +00:00
2023-11-30 15:23:11 +03:00
export default config;