Files
classroomio/apps/docs/theme.config.tsx
T
Rotimi Bestandemmanuel fcd0bcc656 feat: dashboard billing (#193)
* feat: move plans into sharable json

* remove unused code

* update pnpm lock

* update plans.json

* implement early adopter pricing

* docs: update meta title and description

* Finished the UI for upgrading plans

* Updated the pricing plans

* Updated the cards ui

* use relative import

* improve styling of upgrade plan card

* styling improvements, lemonsqueezy setup

* trigger lemonsqueezy payment and add webhook

* update pnpm lock

* add logout route

* feat: complete billing functionality

* generate lock file

* make crypto false on browser

* feat: adding upgrade prompts to org

* chore: add upgrade icon to upload video

* feat: add upgrade prompt to certificate and settings

* feat: implement onboarding setup page (#229)

* working on the onboarding setup

* working on the onboarding page

* Almost done with the onboarding UI

* finished the UI of the onBoarding setup

* finished the UI of the onBoarding setup

* Implementing the functions to carryout the logic of updating the UI onmount if a user has carried out a certain step or not

* Implementing the functions to carryout the logic of updating the UI onmount if a user has carried out a certain step or not

* making some chnages

* finished the onBoarding task

* updated some logic

* Removed the uneeded svg from the static folder

* fixed isCoursePublished not returning a boolean

* improved the setup link protection

* chore: make menuItems reactive

* improve formatting

* format supabase queries

---------

Co-authored-by: Rotimi Best <best@classroomio.com>

* revamp setup

* improve the upgrade experience

* migration

* feat: add lemonsqueezy customer portal

---------

Co-authored-by: emmanuel <chifez1@gmail.com>
2024-04-07 06:08:34 +01:00

145 lines
4.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import React from 'react';
import { DocsThemeConfig } from 'nextra-theme-docs';
const config: DocsThemeConfig = {
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`}
/>
<title>ClassroomIO – Launch Your Online Bootcamp In Minutes</title>
<meta
name="description"
content="ClassroomIO is the easiest place to launch and scale your online bootcamp."
/>
<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" />
<meta
property="og:description"
content="ClassroomIO is the easiest place to launch and scale your online bootcamp."
/>
<meta property="og:image" content="https://classroomio.com/classroomio-opengraph-image.png" />
<meta name="twitter:card" content="summary_large_image" />
<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" />
<meta
name="twitter:description"
content="ClassroomIO is the easiest place to launch and scale your online bootcamp."
/>
<meta name="twitter:creator" content="@classroomio" />
<meta
name="twitter:image"
content="https://classroomio.com/classroomio-opengraph-image.png"
/>
</>
),
logo: (
<div style={{ display: 'flex', alignItems: 'center' }}>
<img
src={`${process.env.imagePath}/img/logo-512.png`}
alt={'ClassroomIO logo'}
width={32}
height={32}
/>
<span style={{ marginLeft: '5px', lineHeight: '15px' }}>ClassroomIO Docs</span>
</div>
),
navbar: {
extraContent: (
<a
style={{
display: 'flex',
alignItems: 'center',
border: '1px solid gray',
borderRadius: 5,
padding: '2px 7px'
}}
href="https://app.classroomio.com"
>
Dashboard ↗
</a>
)
},
project: {
link: 'https://github.com/rotimi-best/classroomio'
},
useNextSeoProps() {
return {
titleTemplate: 'ClassroomIO Documentation',
openGraph: {
siteName: 'ClassroomIO Docs',
title: 'ClassroomIO Documentation',
description: 'ClassroomIO is the easiest place to launch and scale your online bootcamp.',
images: [
{
url: `${process.env.imagePath}/img/logo-16.png`,
width: 16,
height: 16,
alt: 'ClassroomIO Docs Og Image Alt',
type: 'image/png'
},
{
url: `${process.env.imagePath}/img/logo-32.png`,
width: 32,
height: 32,
alt: 'ClassroomIO Docs Og Image Alt',
type: 'image/png'
},
{
url: `${process.env.imagePath}/img/logo-192.png`,
width: 192,
height: 192,
alt: 'ClassroomIO Docs Og Image Alt',
type: 'image/png'
},
{
url: `${process.env.imagePath}/img/logo-512.png`,
width: 512,
height: 512,
alt: 'ClassroomIO Docs Og Image Alt',
type: 'image/png'
},
{ url: `${process.env.imagePath}/img/og-image.png'` }
],
twitter: {
handle: '@classroomio',
site: '@classroomio.com',
cardType: 'summary_large_image'
}
}
};
},
chat: {
link: 'https://dub.sh/ciodiscord'
},
sidebar: {
defaultMenuCollapseLevel: 1,
autoCollapse: false
},
docsRepositoryBase: 'https://github.com/rotimi-best/classroomio/tree/main/apps/docs',
footer: {
text: 'ClassroomIO Docs'
}
};
export default config;