Files
website/src/routes/docs/Sidebar.svelte
2025-06-17 13:25:14 -04:00

181 lines
5.5 KiB
Svelte

<script lang="ts">
import Sidebar, { type NavTree } from '$lib/layouts/Sidebar.svelte';
import { isNewUntil } from '$lib/utils/date';
const navigation: NavTree = [
{
items: [
{
label: 'Home',
href: '/docs',
icon: 'icon-home'
},
{
label: 'Quick start',
href: '/docs/quick-starts',
icon: 'icon-play'
},
{
label: 'Tutorials',
href: '/docs/tutorials',
icon: 'icon-book-open'
},
{
label: 'SDKs',
href: '/docs/sdks',
icon: 'icon-cog'
},
{
label: 'API references',
href: '/docs/references',
icon: 'icon-document',
isParent: true
}
]
},
{
label: 'Products',
items: [
{
label: 'Auth',
href: '/docs/products/auth',
icon: 'icon-user-group',
isParent: true
},
{
label: 'Databases',
href: '/docs/products/databases',
icon: 'icon-database',
isParent: true
},
{
label: 'Storage',
href: '/docs/products/storage',
icon: 'icon-folder',
isParent: true
},
{
label: 'Functions',
href: '/docs/products/functions',
icon: 'icon-lightning-bolt',
isParent: true
},
{
label: 'Messaging',
href: '/docs/products/messaging',
icon: 'icon-send',
isParent: true
},
{
label: 'Sites',
href: '/docs/products/sites',
icon: 'icon-globe-alt',
isParent: true,
new: isNewUntil('19 Jul 2025')
},
{
label: 'Network',
href: '/docs/products/network',
icon: 'icon-share',
isParent: true
},
{
label: 'AI',
href: '/docs/products/ai',
icon: 'icon-chip',
isParent: true
}
]
},
{
label: 'APIS',
items: [
{
label: 'Realtime',
href: '/docs/apis/realtime',
icon: 'icon-clock'
},
{
label: 'REST',
href: '/docs/apis/rest',
icon: 'web-icon-rest'
},
{
label: 'GraphQL',
href: '/docs/apis/graphql',
icon: 'icon-graphql'
}
]
},
{
label: 'Tooling',
items: [
{
label: 'CLI',
href: '/docs/tooling/command-line/installation',
icon: 'icon-terminal',
isParent: true
},
{
label: 'Command Center',
href: '/docs/tooling/command-center',
icon: 'web-icon-command'
},
{
label: 'Assistant',
href: '/docs/tooling/assistant',
icon: 'icon-sparkles'
},
{
label: 'MCP Server',
href: '/docs/tooling/mcp',
icon: 'web-icon-mcp'
},
{
label: 'The Appwriter',
href: '/docs/tooling/appwriter',
icon: 'icon-text'
}
]
},
{
label: 'Advanced',
items: [
{
label: 'Platform',
href: '/docs/advanced/platform',
icon: 'web-icon-platform',
isParent: true
},
{
label: 'Integrations',
href: '/integrations',
icon: 'icon-puzzle',
isParent: true,
openInNewTab: true
},
{
label: 'Migrations',
href: '/docs/advanced/migrations',
icon: 'icon-refresh',
isParent: true
},
{
label: 'Security',
href: '/docs/advanced/security',
icon: 'icon-shield-check',
isParent: true
},
{
label: 'Self-hosting',
href: '/docs/advanced/self-hosting',
icon: 'icon-server',
isParent: true
}
]
}
];
</script>
<Sidebar {navigation} />