File tree Expand file tree Collapse file tree 1 file changed +14
-17
lines changed
frontend/main/src/components/user Expand file tree Collapse file tree 1 file changed +14
-17
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,8 @@ export default function MembershipCards({
74
74
src = { img }
75
75
loader = { ( ) => img }
76
76
unoptimized = { true }
77
- layout = "fixed"
78
- width = "335"
79
- height = "270"
77
+ layout = "fill"
78
+ className = "z-10"
80
79
alt = { `Product Photo for ${ product . description } ` }
81
80
/>
82
81
) ;
@@ -125,20 +124,18 @@ export default function MembershipCards({
125
124
key = { product . role }
126
125
onClick = { ( ) => onSelectPlan ( product ) }
127
126
>
128
- { /* <div
129
- className={
130
- 'radialGradiant block absolute w-48 h-48 bottom-0 left-0 mb-24 ml-3'
131
- }
132
- ></div> */ }
133
- { product . images ? (
134
- getProductImage ( product )
135
- ) : (
136
- < AJPrimary className = "w-full h-full" />
137
- ) }
138
- < span className = "block text-basics-200 dark:text-basics-200" >
139
- { product ?. description }
140
- </ span >
141
-
127
+ < div className = "relative" >
128
+ < div className = "w-48 h-48" >
129
+ { product . images ? (
130
+ getProductImage ( product )
131
+ ) : (
132
+ < AJPrimary className = "w-full h-full" />
133
+ ) }
134
+ < span className = "block text-basics-200 dark:text-basics-200" >
135
+ { product ?. description }
136
+ </ span >
137
+ </ div >
138
+ </ div >
142
139
< div className = "flex justify-between" >
143
140
< span className = "block text-xl font-semibold" >
144
141
{ product . name }
You can’t perform that action at this time.
0 commit comments