caelum0x 2b68bde5d5 Predikt: full Polymarket-style prediction market — web + mobile + on-chain + bots
Working tree is now the canonical repo. Off-chain play-money + trustless on-chain
(FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution,
mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-06 23:29:50 +03:00

36 lines
934 B
TypeScript

import clsx from 'clsx'
import { InformationCircleIcon } from '@heroicons/react/solid'
import { Linkify } from './linkify'
import { ReactNode } from 'react'
export function InfoBox(props: {
title: string
text?: string
children?: ReactNode
className?: string
}) {
const { title, text, className } = props
return (
<div className={clsx('bg-canvas-50 rounded-md p-4', className)}>
<div className="flex">
<div className="flex-shrink-0">
<InformationCircleIcon
className="text-ink-400 h-5 w-5"
aria-hidden="true"
/>
</div>
<div className="ml-3">
{title && (
<h3 className="text-ink-1000 mb-2 text-sm font-medium">{title}</h3>
)}
<div className="text-ink-600 text-sm">
{text && <Linkify text={text} />}
{props.children}
</div>
</div>
</div>
</div>
)
}