Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7ff1a5c155 |
@@ -119,12 +119,14 @@ const FeatureCardNineteen = ({
|
|||||||
titleImageClassName={titleImageClassName}
|
titleImageClassName={titleImageClassName}
|
||||||
ariaLabel={ariaLabel}
|
ariaLabel={ariaLabel}
|
||||||
>
|
>
|
||||||
{features.map((feature) => {
|
{features.map((feature, index) => {
|
||||||
const stepNumber = String(feature.id).padStart(2, "0");
|
const stepNumber = String(feature.id).padStart(2, "0");
|
||||||
|
const backgroundColors = ["bg-blue-100", "bg-pink-100", "bg-yellow-100", "bg-green-100", "bg-purple-100", "bg-orange-100"];
|
||||||
|
const bgColor = backgroundColors[index % backgroundColors.length];
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
key={feature.id}
|
key={feature.id}
|
||||||
className={cls("relative z-1 w-full min-h-0 h-full flex flex-col md:flex-row justify-between overflow-hidden", cardContentClassName)}
|
className={cls("relative z-1 w-full min-h-0 h-full flex flex-col md:flex-row justify-between overflow-hidden", bgColor, cardContentClassName)}
|
||||||
>
|
>
|
||||||
<div className="relative w-full md:w-1/2 md:h-full flex flex-col justify-between p-8 md:p-12">
|
<div className="relative w-full md:w-1/2 md:h-full flex flex-col justify-between p-8 md:p-12">
|
||||||
<div className="flex flex-col gap-4 md:gap-6">
|
<div className="flex flex-col gap-4 md:gap-6">
|
||||||
|
|||||||
Reference in New Issue
Block a user