feature/fix-clippy-on-stable-channel
claude/smbcloud-github-app-k9641p
development
feature/apps
feature/build-release
feature/ci-docs
feature/ci-ruby-gems
feature/cicd
feature/completion
feature/dist-nuget
feature/fix-ci-sdk-pypi-rubygem
feature/fix-clippy-on-stable-channel
feature/fix-deployment-script
feature/github-email
feature/gresiq-v1
feature/project-new-structure
feature/rsync-deploy
feature/ruby-runner
feature/sdk-npm
feature/sdk-workflows
feature/smbcloud-cli-release-npm
feature/smbcloud-deploy
feature/wasm
main
release/v0.7.4
| 1 | import { Footer, Layout, Navbar } from 'nextra-theme-docs' |
| 2 | import { Head } from 'nextra/components' |
| 3 | import { getPageMap } from 'nextra/page-map' |
| 4 | import 'nextra-theme-docs/style.css' |
| 5 | |
| 6 | export const metadata = { |
| 7 | metadataBase: new URL('https://docs.smbcloud.xyz'), |
| 8 | title: { |
| 9 | default: 'smbCloud Documentation', |
| 10 | template: '%s – smbCloud Documentation' |
| 11 | }, |
| 12 | description: 'smbCloud Documentation', |
| 13 | applicationName: 'smbCloud Documentation', |
| 14 | openGraph: { |
| 15 | title: 'smbCloud Documentation', |
| 16 | description: 'smbCloud Documentation', |
| 17 | url: 'https://docs.smbcloud.xyz', |
| 18 | siteName: 'smbCloud Documentation' |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | const navbar = ( |
| 23 | <Navbar |
| 24 | logo={<span>smbCloud Documentation</span>} |
| 25 | projectLink="https://github.com/smbcloudXYZ" |
| 26 | /> |
| 27 | ) |
| 28 | |
| 29 | const footer = ( |
| 30 | <Footer> |
| 31 | MIT {new Date().getFullYear()} ©{' '} |
| 32 | <a href="https://docs.smbcloud.xyz" target="_blank" rel="noreferrer"> |
| 33 | smbCloud Documentation |
| 34 | </a> |
| 35 | </Footer> |
| 36 | ) |
| 37 | |
| 38 | export default async function RootLayout({ children }) { |
| 39 | const pageMap = await getPageMap() |
| 40 | return ( |
| 41 | <html lang="en" dir="ltr" suppressHydrationWarning> |
| 42 | <Head /> |
| 43 | <body> |
| 44 | <Layout |
| 45 | navbar={navbar} |
| 46 | footer={footer} |
| 47 | pageMap={pageMap} |
| 48 | docsRepositoryBase="https://github.com/smbcloudXYZ/smbcloud-docs/tree/main" |
| 49 | editLink="Edit this page on GitHub" |
| 50 | sidebar={{ defaultMenuCollapseLevel: 1 }} |
| 51 | > |
| 52 | {children} |
| 53 | </Layout> |
| 54 | </body> |
| 55 | </html> |
| 56 | ) |
| 57 | } |