@fjord/brand (0.1.0)
Installation
@fjord:registry=npm install @fjord/brand@0.1.0"@fjord/brand": "0.1.0"About this package
@fjord/brand
Single source of truth for Fjord brand facts shared across the three sites:
the platform (fjord.sh), the docs (docs.fjord.sh), and the blog
(blog.fjord.sh).
It deliberately ships data and assets, not components: the platform renders its own SvelteKit chrome and the docs/blog render Northstar theme chrome, so each site keeps its own markup but draws from one set of facts.
What's here
src/urls.ts— canonical URLs (SITE_URL,DOCS_URL,BLOG_URL,CLI_URL,STATUS_URL) plusdocsUrl()/siteUrl()helpers.src/links.ts— shared link data (footerLinks), org attribution (ORG_NAME,ORG_URL,footerAttribution).assets/— logo SVGs (fjord-monogram.svg,raster-state-mark.svg).
Consuming
pnpm add @fjord/brand
import { STATUS_URL, DOCS_URL, footerLinks } from '@fjord/brand';
URLs and links
Import the constants directly. The platform uses them in its components; the
docs/blog import them in northstar.config.ts.
Logo assets
The SVGs are files under @fjord/brand/assets/.
-
Platform: import or read them directly where needed.
-
Northstar (docs/blog): a prebuild step copies them into
static/, e.g.// package.json "scripts": { "prebuild": "cp node_modules/@fjord/brand/assets/*.svg static/" }
Release
Published to the Forgejo npm registry on a vX.Y.Z tag (see
.github/workflows/publish.yml). Requires a PACKAGE_TOKEN secret (Forgejo PAT
with write:package).
Dependencies
Development dependencies
| ID | Version |
|---|---|
| typescript | ^5.7.0 |