52 lines
3.0 KiB
TypeScript
52 lines
3.0 KiB
TypeScript
/* ─────────────────────────────────────────────────────────────
|
||
Integrations / data-sources showcase content.
|
||
Separate from the component so it can be fed from the panel/API
|
||
later (replace INTEGRATIONS with a fetch to the same shape).
|
||
|
||
`logo` (a path under /public) renders a real image when present.
|
||
Otherwise the component falls back to the `icon` key (a Lucide icon).
|
||
───────────────────────────────────────────────────────────── */
|
||
|
||
export type IntegrationIcon =
|
||
| 'exchange' | 'globe' | 'chart' | 'activity' | 'database'
|
||
| 'newspaper' | 'building' | 'trending' | 'coins'
|
||
|
||
export type Integration = {
|
||
id: string
|
||
name: string // tooltip / aria label
|
||
icon: IntegrationIcon // fallback Lucide icon
|
||
logo?: string // optional real logo path under /public (e.g. '/logos/lme.svg')
|
||
accent?: string // tile accent tint
|
||
col: number // grid column (1-6)
|
||
row: number // grid row (1-5)
|
||
}
|
||
|
||
/* Global steel data sources & exchanges, scattered across a 6×5 grid.
|
||
Empty cells stay as faint placeholders for the "constellation" look. */
|
||
export const INTEGRATIONS: Integration[] = [
|
||
{ id: 'lme', name: 'London Metal Exchange', icon: 'exchange', accent: '#CD9E53', col: 6, row: 1 },
|
||
{ id: 'shfe', name: 'Shanghai Futures Exchange', icon: 'trending', accent: '#c0392b', col: 4, row: 2 },
|
||
{ id: 'platts', name: 'S&P Global Platts', icon: 'chart', accent: '#2471a3', col: 6, row: 2 },
|
||
{ id: 'reuters', name: 'Reuters', icon: 'newspaper', accent: '#e67e22', col: 3, row: 3 },
|
||
{ id: 'fastmarkets',name: 'Fastmarkets', icon: 'activity', accent: '#1e8449', col: 5, row: 3 },
|
||
{ id: 'worldsteel', name: 'World Steel Association', icon: 'building', accent: '#7d3c98', col: 4, row: 4 },
|
||
{ id: 'mysteel', name: 'Mysteel', icon: 'database', accent: '#16a085', col: 6, row: 4 },
|
||
{ id: 'cme', name: 'CME Group', icon: 'coins', accent: '#2980b9', col: 5, row: 5 },
|
||
{ id: 'dce', name: 'Dalian Commodity Exchange', icon: 'globe', accent: '#d35400', col: 3, row: 5 },
|
||
]
|
||
|
||
export const INTEGRATIONS_META = {
|
||
fa: {
|
||
overline: 'DATA SOURCES',
|
||
heading: 'یکپارچگی با منابع جهانی',
|
||
sub: 'اتصال به بیش از ۱۰۰ منبع داده، بورس و پایگاه جهانی فولاد — رصد لحظهای قیمتها، صادرات و روندهای بازار در یک جا.',
|
||
cta: 'مشاهده منابع داده',
|
||
},
|
||
en: {
|
||
overline: 'DATA SOURCES',
|
||
heading: 'Seamless Global Integration',
|
||
sub: 'Connected to 100+ data sources, exchanges and global steel databases — real-time prices, exports and market trends in one place.',
|
||
cta: 'View data sources',
|
||
},
|
||
}
|