* feat: checkpoint * feat: Migrate docs to Fumadocs * chore: docs layout * chore: - remove home route - make docs home route - remove docs prefix * chore: docs layout * chore: - reorder sidebar - fix home page redirect * chore: rename package to avoid error during pnpm clean * chore: remove private and sideEffects properties from package.json * chore: requested fixes * feat: update fumadocs layout * feat: hide theme switch on sidebar * add /docs * feat: enhance documentation and layout with new guides and updates - Added multiple how-to guides for creating courses, exercises, and managing organization settings. - Updated existing documentation for clarity and consistency, including renaming sections for better navigation. - Introduced new assets such as logos and favicon for improved branding. - Modified layout components to enhance user experience and visual appeal. - Updated package dependencies to include lucide-react for icon usage. * chore: update pnpm-lock.yaml with dependency version changes * add favicon * fix: update links in documentation for consistency - Corrected the links in the create-exercise and signup guides to ensure they point to the correct paths, enhancing clarity and navigation for users. * delete docs --------- Co-authored-by: Rotimi Best <[email protected]>
60 lines
1.5 KiB
TypeScript
60 lines
1.5 KiB
TypeScript
import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
|
|
import { SquareArrowOutUpRight } from 'lucide-react';
|
|
|
|
export function baseOptions(): BaseLayoutProps {
|
|
return {
|
|
nav: {
|
|
title: (
|
|
<div className="flex items-center gap-2">
|
|
<img src="/docs/logo-192.png" className="size-8" alt="ClassroomIO logo" />
|
|
<span className="font-medium">ClassroomIO</span>
|
|
</div>
|
|
)
|
|
},
|
|
links: [
|
|
{
|
|
text: (
|
|
<div className="flex items-center gap-2">
|
|
Contact <SquareArrowOutUpRight />
|
|
</div>
|
|
),
|
|
url: 'https://twitter.com/classroomio',
|
|
external: true
|
|
},
|
|
{
|
|
text: (
|
|
<div className="flex items-center gap-2">
|
|
Demo <SquareArrowOutUpRight />
|
|
</div>
|
|
),
|
|
url: 'https://dub.sh/ciodemo',
|
|
external: true
|
|
},
|
|
{
|
|
text: (
|
|
<div className="flex items-center gap-2">
|
|
Dashboard <SquareArrowOutUpRight />
|
|
</div>
|
|
),
|
|
url: 'https://app.classroomio.com/',
|
|
external: true
|
|
},
|
|
{
|
|
type: 'icon',
|
|
label: 'Discord',
|
|
icon: (
|
|
<img
|
|
src="/docs/discord-blue.png"
|
|
alt="discord icon"
|
|
className="w-7 transition-all duration-500 hover:scale-90"
|
|
/>
|
|
),
|
|
text: 'Discord',
|
|
url: 'https://dub.sh/ciodiscord',
|
|
external: true
|
|
}
|
|
],
|
|
githubUrl: 'https://github.com/classroomio/classroomio'
|
|
};
|
|
}
|