Fix selection of icons, colors, add examples for personal finance

This commit is contained in:
sabaimran
2024-08-05 12:08:18 +05:30
parent af6a70c9fb
commit f835e330b8
3 changed files with 99 additions and 19 deletions

View File

@@ -21,6 +21,9 @@ import {
House,
Translate,
Image,
BowlFood,
Lectern,
Wallet,
} from "@phosphor-icons/react";
import { Markdown, OrgMode, Pdf, Word } from "@/app/components/logo/fileLogo";
@@ -83,6 +86,15 @@ const iconMap: IconMap = {
Translate: (color: string, width: string, height: string) => (
<Translate className={`${width} ${height} ${color} mr-2`} />
),
BowlFood: (color: string, width: string, height: string) => (
<BowlFood className={`${width} ${height} ${color} mr-2`} />
),
Lectern: (color: string, width: string, height: string) => (
<Lectern className={`${width} ${height} ${color} mr-2`} />
),
Wallet: (color: string, width: string, height: string) => (
<Wallet className={`${width} ${height} ${color} mr-2`} />
),
};
function getIconFromIconName(