The docs site's page title read "punktfunk docs". Fixed that and swept the rest of the tree for the same defect, capitalizing the brand wherever it is shown to a human and leaving it lowercase where it is a technical identifier (CLI/package names, `punktfunk://` scheme, PnP enumerator, TLS SNI, logcat tag, config paths, CMS tenant id). User-visible fixes: - docs-site: page title -> "Punktfunk Docs"; API reference title, meta description and the branded bar's aria-label; the BrandMark/Wordmark SVG accessible names (the web console already had these capitalized -- the docs site had drifted from it). - Android: six strings of live UI copy -- the local-network permission dialog (x2), the connect-screen error banner, and the no-controller explainer. - Apple: the "No Hosts" empty-state text and the fallback display name for a host that advertises no instance name. - Windows client: the `--discover` progress line. - KWin fake-input: the application name passed to `authenticate()` (the grant is cached per-exe, so the string is display-only). - THIRD-PARTY-NOTICES: fixed in both generators (about.hbs and gen-third-party-notices.py) and applied to the three checked-in outputs so they match what a regeneration now produces. Every changed line differs from the original only by letter case, so line lengths are unchanged and no formatter width rule is affected. `cargo fmt --all --check` passes.
28 lines
955 B
TypeScript
28 lines
955 B
TypeScript
import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared'
|
|
import BrandMark from '@/components/BrandMark'
|
|
import Wordmark from '@/components/Wordmark'
|
|
|
|
// Shared chrome (nav title, links) for both the docs layout and the home layout.
|
|
// The lens mark + wordmark mirror the Punktfunk marketing site's header.
|
|
export function baseOptions(): BaseLayoutProps {
|
|
return {
|
|
nav: {
|
|
title: (
|
|
<>
|
|
<BrandMark className="size-6" />
|
|
<Wordmark className="h-4" />
|
|
</>
|
|
),
|
|
},
|
|
links: [
|
|
{ text: 'Docs', url: '/docs' },
|
|
{ text: 'API', url: '/api' },
|
|
{ text: 'Website', url: 'https://punktfunk.unom.io' },
|
|
{ text: 'Support', url: 'https://ko-fi.com/punktfunk' },
|
|
{ text: 'Source code', url: 'https://git.unom.io/unom/punktfunk' },
|
|
{ text: 'Discord', url: 'https://discord.gg/kaPNvzMuGU' },
|
|
{ text: 'Reddit', url: 'https://www.reddit.com/r/Punktfunk/' },
|
|
],
|
|
}
|
|
}
|