5 Commits

Author SHA1 Message Date
71daa08e13 Merge version_4_1777378490510 into main
Merge version_4_1777378490510 into main
2026-04-28 12:15:21 +00:00
kudinDmitriyUp
27c912d144 Bob AI: Change the background color of the div element containing th 2026-04-28 12:15:17 +00:00
59767e08c5 Merge version_3_1777378148674 into main
Merge version_3_1777378148674 into main
2026-04-28 12:09:38 +00:00
kudinDmitriyUp
089ffea446 Bob AI: Change the background color of the div containing 'Artisan C 2026-04-28 12:09:35 +00:00
027d0a6388 Merge version_2_1777377803833 into main
Merge version_2_1777377803833 into main
2026-04-28 12:04:02 +00:00

View File

@@ -58,9 +58,17 @@ const AboutFeaturesSplit = ({
{items.map((item, index) => {
const ItemIcon = resolveIcon(item.icon);
const isEthical = item.title.includes("Ethical Sourcing");
const isArtisan = item.title.includes("Artisan Craft");
const isExpert = item.title.includes("Expert Roasting");
let bgClass = "";
if (isEthical) bgClass = "bg-purple-600 p-4 rounded-lg";
if (isArtisan) bgClass = "bg-red-600 p-4 rounded-lg";
if (isExpert) bgClass = "bg-yellow-500 p-4 rounded-lg";
return (
<div key={item.title}>
<div className={`flex flex-col gap-2 ${isEthical ? "bg-purple-600 p-4 rounded-lg" : ""}`}>
<div className={`flex flex-col gap-2 ${bgClass}`}>
<div className="flex items-center justify-center shrink-0 mb-1 size-10 primary-button rounded">
<ItemIcon className="h-2/5 w-2/5 text-primary-cta-text" strokeWidth={1.5} />
</div>