finance-tools/src/pages/Placeholder.tsx

25 lines
890 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { AppIcon, type IconName } from "../components/PixelIcons";
export default function Placeholder({ title, icon, note }: { title: string; icon: IconName; note: string }) {
return (
<>
<div className="page-head">
<div className="eyebrow"></div>
<h1 className="page-title-row">
<AppIcon name={icon} size={38} framed glow variant="hero" />
{title}
</h1>
<p>{note}</p>
</div>
<div className="card pad-lg">
<div className="card-title pixel">
<AppIcon name="hammer" size={24} framed variant="hero" />
</div>
<p className="muted">
· ·
</p>
</div>
</>
);
}