settlekit/apps/web/components/FeatureGrid.tsx
pextacy bcd51b5829 feat(ui): "Statement" greenbar-ledger frontend redesign
Replace the dark blue→purple gradient SaaS look across all 7 apps with a
gradient-free settlement-ledger identity grounded in what SettleKit does:
reconcile money to the cent.

- Palette: greenbar ledger paper + ink, with accounting semantics
  (credit-green / debit-red / ink-blue seal). No gradients or glows.
- Type: Archivo (display/body) + IBM Plex Mono carrying every number,
  label and section reference; loaded via next/font in each app layout.
- Signature: apps/web hero is a live settlement statement — debit/credit
  line items printing in sequentially with a rotated "SETTLED" stamp.
- apps/web fully rebuilt (globals, layout, components, pages); dashboard,
  portal, marketplace, admin, checkout, docs rethemed by flipping :root
  token values (component JSX untouched); shared packages/ui/theme.css
  moved to the same system.

All 7 apps + @settlekit/ui build clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 22:35:42 +03:00

54 lines
1.5 KiB
TypeScript

import type { DeveloperTool, SellableItem } from "@/lib/content";
interface FeatureGridProps {
refNo: string;
eyebrow: string;
title: string;
description: string;
items: ReadonlyArray<SellableItem | DeveloperTool>;
}
export function FeatureGrid({
refNo,
eyebrow,
title,
description,
items,
}: FeatureGridProps) {
return (
<section className="section section-ruled">
<div className="container">
<div className="ref">
<span className="ref-no">§ {refNo}</span>
<span>{eyebrow}</span>
<span className="ref-fill" aria-hidden="true" />
</div>
<div className="section-head">
<h2 className="section-title">{title}</h2>
<p className="section-desc">{description}</p>
</div>
<div className="ledger">
<div className="ledger-grid">
{items.map((item, i) => (
<article key={item.title} className="ledger-item">
<div className="ledger-item-head">
<span className="ledger-icon" aria-hidden="true">
{item.icon}
</span>
<span className="ledger-item-no">
{String(i + 1).padStart(2, "0")}
</span>
</div>
<h3 className="ledger-item-title">{item.title}</h3>
<p className="ledger-item-desc">{item.description}</p>
</article>
))}
</div>
</div>
</div>
</section>
);
}