import type { ContentKind, Rule } from '../express/parse' // Line icons from the mockup (24×24, stroke = currentColor). const paths: Record = { book: '', home: '', spark: '', calendar: '', clock: '', layers: '', download: '', upload: '', file: '', 'arrow-right': '', external: '', close: '', search: '', info: '', check: '', 'chevron-down': '', expand: '', shrink: '', sidebar: '', 'chevron-updown': '', logout:'', user: '', plus: '', trash: '', video: '', audio: '', scorm: '', chart: '', coin: '', brain: '', } export type IconName = keyof typeof paths export const KIND_ICON: Record = { summary: 'file', quiz: 'check', flashcards: 'layers', roleplay: 'spark', simulator: 'spark', slide_deck: 'layers', video: 'video', audio: 'audio', scorm: 'scorm', } export const ruleIcon = (rule: Rule): IconName => (rule.type === 'research' ? 'search' : KIND_ICON[rule.kind]) export function Icon({ name }: { name: IconName }) { return ( ) } export function Brand() { return ( Learning Lab Expressby Bawana ) }