mirror of
https://github.com/supabase/supabase.git
synced 2026-06-11 15:10:18 +08:00
wip <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit # Release Notes * **New Features** * Added a new Learn application offering foundational Supabase courses with interactive documentation * Courses include Architecture, Authentication, Data Fundamentals, Security, Storage, Realtime, and Edge Functions * Chapter tracking and progress indicators for course completions * Responsive sidebar navigation with search/command menu * Theme switching support (light, dark, classic dark modes) * Mobile-friendly course interface <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Alan Daniel <stylesshjs@gmail.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
75 lines
1.7 KiB
TypeScript
75 lines
1.7 KiB
TypeScript
import { SidebarNavGroup } from 'types/nav'
|
|
|
|
export const courses: SidebarNavGroup = {
|
|
title: 'Courses',
|
|
items: [
|
|
{
|
|
title: 'Foundations',
|
|
href: '/foundations',
|
|
items: [
|
|
// ✅ Always visible (no requiresAuth)
|
|
{
|
|
title: 'Introduction',
|
|
href: '/foundations/introduction',
|
|
},
|
|
{
|
|
title: 'Architecture',
|
|
href: '/foundations/architecture',
|
|
},
|
|
{
|
|
title: 'Data Fundamentals',
|
|
href: '/foundations/data-fundamentals',
|
|
},
|
|
{
|
|
title: 'Authentication',
|
|
href: '/foundations/authentication',
|
|
},
|
|
{
|
|
title: 'Security',
|
|
href: '/foundations/security',
|
|
},
|
|
{
|
|
title: 'Realtime',
|
|
href: '/foundations/realtime',
|
|
},
|
|
{
|
|
title: 'Storage',
|
|
href: '/foundations/storage',
|
|
},
|
|
{
|
|
title: 'Edge Functions',
|
|
href: '/foundations/edge-functions',
|
|
},
|
|
|
|
{
|
|
title: 'Vector Search',
|
|
href: '/foundations/vector',
|
|
},
|
|
],
|
|
commandItemLabel: 'Foundations',
|
|
},
|
|
{
|
|
title: 'Project: Smart Office',
|
|
href: '/projects/smart-office',
|
|
commandItemLabel: 'Project: Smart Office',
|
|
},
|
|
{
|
|
title: 'Performance & Scaling',
|
|
href: '/internals/performance-scaling',
|
|
commandItemLabel: 'Supabase Internals: Performance & Scaling',
|
|
},
|
|
{
|
|
title: 'Debugging & Operations',
|
|
href: '/internals/debugging-operations',
|
|
commandItemLabel: 'Supabase Internals: Debugging & Operations',
|
|
},
|
|
],
|
|
}
|
|
|
|
export const COMMAND_ITEMS = [
|
|
...courses.items.map((item) => ({
|
|
label: item.commandItemLabel,
|
|
href: item.href,
|
|
})),
|
|
]
|