|
| 1 | +/** |
| 2 | + * Per-org brand configurations. |
| 3 | + */ |
| 4 | +import type { BrandConfig, OrgId } from './types' |
| 5 | +import { |
| 6 | + hanzoMark, |
| 7 | + hanzoMarkDark, |
| 8 | + hanzoMarkLight, |
| 9 | + hanzoWordmark, |
| 10 | + hanzoWordmarkDark, |
| 11 | + hanzoWordmarkLight, |
| 12 | + hanzoFavicon, |
| 13 | +} from './svg' |
| 14 | + |
| 15 | +// --------------------------------------------------------------------------- |
| 16 | +// Hanzo |
| 17 | +// --------------------------------------------------------------------------- |
| 18 | + |
| 19 | +export const hanzo: BrandConfig = { |
| 20 | + id: 'hanzo', |
| 21 | + name: 'Hanzo', |
| 22 | + orgName: 'Hanzo AI', |
| 23 | + orgHandle: 'hanzoai', |
| 24 | + tagline: 'AI infrastructure for the future', |
| 25 | + description: 'Frontier AI infrastructure, foundational models, and developer tools.', |
| 26 | + |
| 27 | + npmOrg: '@hanzo', |
| 28 | + |
| 29 | + domain: 'hanzo.ai', |
| 30 | + iamDomain: 'hanzo.id', |
| 31 | + githubOrg: 'hanzoai', |
| 32 | + docsUrl: 'https://docs.hanzo.ai', |
| 33 | + |
| 34 | + logo: { |
| 35 | + mark: hanzoMark, |
| 36 | + markDark: hanzoMarkDark, |
| 37 | + markLight: hanzoMarkLight, |
| 38 | + wordmark: hanzoWordmark, |
| 39 | + wordmarkDark: hanzoWordmarkDark, |
| 40 | + wordmarkLight: hanzoWordmarkLight, |
| 41 | + favicon: hanzoFavicon, |
| 42 | + width: 67, |
| 43 | + height: 67, |
| 44 | + }, |
| 45 | + |
| 46 | + colors: { |
| 47 | + primary: '222.2 47.4% 11.2%', |
| 48 | + primaryForeground: '210 40% 98%', |
| 49 | + secondary: '210 40% 96.1%', |
| 50 | + secondaryForeground: '222.2 47.4% 11.2%', |
| 51 | + accent: '210 40% 96.1%', |
| 52 | + accentForeground: '222.2 47.4% 11.2%', |
| 53 | + }, |
| 54 | + |
| 55 | + social: { |
| 56 | + twitter: '@hanzoai', |
| 57 | + discord: 'https://discord.gg/hanzo', |
| 58 | + github: 'https://github.com/hanzoai', |
| 59 | + }, |
| 60 | + |
| 61 | + seo: { |
| 62 | + title: 'Hanzo AI - Frontier AI Infrastructure', |
| 63 | + description: 'AI infrastructure, foundational models, and developer tools from Hanzo.', |
| 64 | + keywords: ['ai', 'infrastructure', 'llm', 'hanzo', 'mcp', 'agents'], |
| 65 | + }, |
| 66 | +} |
| 67 | + |
| 68 | +// --------------------------------------------------------------------------- |
| 69 | +// Lux |
| 70 | +// --------------------------------------------------------------------------- |
| 71 | + |
| 72 | +export const lux: BrandConfig = { |
| 73 | + id: 'lux', |
| 74 | + name: 'Lux', |
| 75 | + orgName: 'Lux Network', |
| 76 | + orgHandle: 'luxfi', |
| 77 | + tagline: 'Multi-consensus blockchain', |
| 78 | + description: 'High-performance blockchain with post-quantum cryptography and multi-consensus architecture.', |
| 79 | + |
| 80 | + npmOrg: '@luxfi', |
| 81 | + |
| 82 | + domain: 'lux.network', |
| 83 | + iamDomain: 'lux.id', |
| 84 | + githubOrg: 'luxfi', |
| 85 | + docsUrl: 'https://docs.lux.network', |
| 86 | + |
| 87 | + logo: { |
| 88 | + mark: hanzoMark, |
| 89 | + markDark: hanzoMarkDark, |
| 90 | + markLight: hanzoMarkLight, |
| 91 | + wordmark: hanzoWordmark, |
| 92 | + wordmarkDark: hanzoWordmarkDark, |
| 93 | + wordmarkLight: hanzoWordmarkLight, |
| 94 | + favicon: hanzoFavicon, |
| 95 | + width: 67, |
| 96 | + height: 67, |
| 97 | + }, |
| 98 | + |
| 99 | + colors: { |
| 100 | + primary: '250 60% 50%', |
| 101 | + primaryForeground: '0 0% 100%', |
| 102 | + secondary: '250 30% 95%', |
| 103 | + secondaryForeground: '250 60% 20%', |
| 104 | + accent: '250 60% 60%', |
| 105 | + accentForeground: '0 0% 100%', |
| 106 | + }, |
| 107 | + |
| 108 | + social: { |
| 109 | + twitter: '@luxnetwork', |
| 110 | + discord: 'https://discord.gg/lux', |
| 111 | + github: 'https://github.com/luxfi', |
| 112 | + }, |
| 113 | + |
| 114 | + seo: { |
| 115 | + title: 'Lux Network - Multi-Consensus Blockchain', |
| 116 | + description: 'High-performance blockchain with post-quantum cryptography.', |
| 117 | + keywords: ['blockchain', 'lux', 'consensus', 'post-quantum', 'defi'], |
| 118 | + }, |
| 119 | +} |
| 120 | + |
| 121 | +// --------------------------------------------------------------------------- |
| 122 | +// Zoo |
| 123 | +// --------------------------------------------------------------------------- |
| 124 | + |
| 125 | +export const zoo: BrandConfig = { |
| 126 | + id: 'zoo', |
| 127 | + name: 'Zoo', |
| 128 | + orgName: 'Zoo Labs Foundation', |
| 129 | + orgHandle: 'zoolabs', |
| 130 | + tagline: 'Open AI research network', |
| 131 | + description: 'Decentralized AI and decentralized science research through community-driven governance.', |
| 132 | + |
| 133 | + npmOrg: '@zoo', |
| 134 | + |
| 135 | + domain: 'zoo.ngo', |
| 136 | + iamDomain: 'zoo.id', |
| 137 | + githubOrg: 'zoolabs', |
| 138 | + docsUrl: 'https://docs.zoo.ngo', |
| 139 | + |
| 140 | + logo: { |
| 141 | + mark: hanzoMark, |
| 142 | + markDark: hanzoMarkDark, |
| 143 | + markLight: hanzoMarkLight, |
| 144 | + wordmark: hanzoWordmark, |
| 145 | + wordmarkDark: hanzoWordmarkDark, |
| 146 | + wordmarkLight: hanzoWordmarkLight, |
| 147 | + favicon: hanzoFavicon, |
| 148 | + width: 67, |
| 149 | + height: 67, |
| 150 | + }, |
| 151 | + |
| 152 | + colors: { |
| 153 | + primary: '142 60% 40%', |
| 154 | + primaryForeground: '0 0% 100%', |
| 155 | + secondary: '142 30% 95%', |
| 156 | + secondaryForeground: '142 60% 20%', |
| 157 | + accent: '142 60% 50%', |
| 158 | + accentForeground: '0 0% 100%', |
| 159 | + }, |
| 160 | + |
| 161 | + social: { |
| 162 | + twitter: '@zoolabs', |
| 163 | + github: 'https://github.com/zoolabs', |
| 164 | + }, |
| 165 | + |
| 166 | + seo: { |
| 167 | + title: 'Zoo Labs Foundation - Open AI Research', |
| 168 | + description: 'Decentralized AI research and decentralized science.', |
| 169 | + keywords: ['deai', 'desci', 'research', 'zoo', 'foundation', 'governance'], |
| 170 | + }, |
| 171 | +} |
| 172 | + |
| 173 | +// --------------------------------------------------------------------------- |
| 174 | +// Pars |
| 175 | +// --------------------------------------------------------------------------- |
| 176 | + |
| 177 | +export const pars: BrandConfig = { |
| 178 | + id: 'pars', |
| 179 | + name: 'Pars', |
| 180 | + orgName: 'Pars', |
| 181 | + orgHandle: 'pars', |
| 182 | + tagline: 'Identity and access', |
| 183 | + description: 'Identity, access management, and authentication infrastructure.', |
| 184 | + |
| 185 | + npmOrg: '@pars', |
| 186 | + |
| 187 | + domain: 'pars.id', |
| 188 | + iamDomain: 'pars.id', |
| 189 | + githubOrg: 'parsid', |
| 190 | + docsUrl: 'https://docs.pars.id', |
| 191 | + |
| 192 | + logo: { |
| 193 | + mark: hanzoMark, |
| 194 | + markDark: hanzoMarkDark, |
| 195 | + markLight: hanzoMarkLight, |
| 196 | + wordmark: hanzoWordmark, |
| 197 | + wordmarkDark: hanzoWordmarkDark, |
| 198 | + wordmarkLight: hanzoWordmarkLight, |
| 199 | + favicon: hanzoFavicon, |
| 200 | + width: 67, |
| 201 | + height: 67, |
| 202 | + }, |
| 203 | + |
| 204 | + colors: { |
| 205 | + primary: '30 90% 50%', |
| 206 | + primaryForeground: '0 0% 100%', |
| 207 | + secondary: '30 40% 95%', |
| 208 | + secondaryForeground: '30 90% 20%', |
| 209 | + accent: '30 90% 60%', |
| 210 | + accentForeground: '0 0% 100%', |
| 211 | + }, |
| 212 | + |
| 213 | + social: { |
| 214 | + github: 'https://github.com/parsid', |
| 215 | + }, |
| 216 | + |
| 217 | + seo: { |
| 218 | + title: 'Pars - Identity & Access', |
| 219 | + description: 'Identity, access management, and authentication infrastructure.', |
| 220 | + keywords: ['identity', 'iam', 'auth', 'oidc', 'pars'], |
| 221 | + }, |
| 222 | +} |
| 223 | + |
| 224 | +// --------------------------------------------------------------------------- |
| 225 | +// Registry |
| 226 | +// --------------------------------------------------------------------------- |
| 227 | + |
| 228 | +/** All org brand configs indexed by org ID */ |
| 229 | +export const orgs: Record<OrgId, BrandConfig> = { |
| 230 | + hanzo, |
| 231 | + lux, |
| 232 | + zoo, |
| 233 | + pars, |
| 234 | +} |
| 235 | + |
| 236 | +/** Look up an org brand config by ID. Throws if unknown. */ |
| 237 | +export function getOrg(id: OrgId): BrandConfig { |
| 238 | + const config = orgs[id] |
| 239 | + if (!config) { |
| 240 | + throw new Error(`Unknown org: ${id}`) |
| 241 | + } |
| 242 | + return config |
| 243 | +} |
0 commit comments