cmux/web/app/components/callout.tsx
Lawrence Chen f970cdcf33 Add docs, blog, community pages and polish landing page layout
- Add docs pages (getting-started, changelog, keyboard-shortcuts)
- Add blog, community, and legal pages (privacy, terms, EULA)
- Add site header, footer, download button, and nav components
- Add sitemap and robots.txt generation
- Narrow main page container (max-w-2xl), fix footer positioning
- Switch README feature list to colon style
2026-02-09 23:38:05 -08:00

20 lines
414 B
TypeScript

export function Callout({
type = "info",
children,
}: {
type?: "info" | "warn";
children: React.ReactNode;
}) {
const styles =
type === "warn"
? "border-l-amber-500 bg-amber-500/5"
: "border-l-blue-500 bg-blue-500/5";
return (
<div
className={`${styles} border-l-2 px-4 py-3 mb-4 rounded-r-lg text-[14px] text-muted leading-relaxed`}
>
{children}
</div>
);
}