diff --git a/docs-site/src/components/Wordmark.tsx b/docs-site/src/components/Wordmark.tsx new file mode 100644 index 0000000..35b2f34 --- /dev/null +++ b/docs-site/src/components/Wordmark.tsx @@ -0,0 +1,27 @@ +// The punktfunk "funk" wordmark — the real brand typo from the marketing site. +// The source asset is a single light-violet variant (made for dark surfaces), so +// rather than an we paint it as a CSS mask and colour it per theme: the +// deep-violet brand on light, the light-violet lens highlight on dark (matching +// the site). Size it by setting a height (e.g. `h-5`); width follows the 579×136 +// aspect ratio. +const maskStyle = { + maskImage: 'url(/funk-wordmark.webp)', + WebkitMaskImage: 'url(/funk-wordmark.webp)', + maskRepeat: 'no-repeat', + WebkitMaskRepeat: 'no-repeat', + maskSize: 'contain', + WebkitMaskSize: 'contain', + maskPosition: 'center', + WebkitMaskPosition: 'center', +} as const + +export default function Wordmark({ className = '' }: { className?: string }) { + return ( + + ) +} diff --git a/docs-site/src/lib/layout.shared.tsx b/docs-site/src/lib/layout.shared.tsx index d447ae3..41d2f95 100644 --- a/docs-site/src/lib/layout.shared.tsx +++ b/docs-site/src/lib/layout.shared.tsx @@ -1,5 +1,6 @@ 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. @@ -9,7 +10,7 @@ export function baseOptions(): BaseLayoutProps { title: ( <> - punktfunk + ), }, diff --git a/docs-site/src/routes/index.tsx b/docs-site/src/routes/index.tsx index 6e8b79c..d0b8f93 100644 --- a/docs-site/src/routes/index.tsx +++ b/docs-site/src/routes/index.tsx @@ -1,6 +1,7 @@ import { createFileRoute, Link } from '@tanstack/react-router' import { HomeLayout } from 'fumadocs-ui/layouts/home' import BrandMark from '@/components/BrandMark' +import Wordmark from '@/components/Wordmark' import { baseOptions } from '@/lib/layout.shared' export const Route = createFileRoute('/')({ component: Home }) @@ -10,7 +11,7 @@ function Home() {
-

punktfunk

+

Linux-first, low-latency desktop and game streaming — a shared Rust protocol core with native clients per platform.