@@ -67,85 +67,85 @@ export default function MembershipCards({
6767 </ OutsideClick >
6868 </ section >
6969 </ div >
70- < section className = "mx-auto text-center" >
71- < div className = "grid items-stretch justify-center gap-1 lg:grid-flow-col justify-items-stretch" >
72- { products . map ( ( product ) => (
73- < div
74- className = "relative w-full h-full max-w-sm m-6 overflow-hidden rounded-lg shadow-lg cursor-pointer bg-primary- bg-primary-800"
75- key = { product . role }
76- onClick = { ( ) => onSelectPlan ( product ) }
70+ < section className = "flex flex-wrap justify-center gap-4 text-center" >
71+ { /* <div className="grid items-stretch justify-center gap-1 lg:grid-flow-col justify-items-stretch"> */ }
72+ { products . map ( ( product ) => (
73+ < div
74+ className = "relative max-w-sm m-6 overflow-hidden rounded-lg shadow-lg cursor-pointer bg-primary-800 dark:bg-primary-800"
75+ key = { product . role }
76+ onClick = { ( ) => onSelectPlan ( product ) }
77+ >
78+ < svg
79+ className = { 'svgTransform absolute bottom-0 left-0 mb-8' }
80+ viewBox = "0 0 375 283"
81+ fill = "none"
7782 >
78- < svg
79- className = { 'svgTransform absolute bottom-0 left-0 mb-8' }
80- viewBox = "0 0 375 283"
81- fill = "none"
82- >
83- < rect
84- x = "159.52"
85- y = "175"
86- width = "152"
87- height = "152"
88- rx = "8"
89- transform = "rotate(-45 159.52 175)"
90- fill = "white"
91- />
92- < rect
93- y = "107.48"
94- width = "152"
95- height = "152"
96- rx = "8"
97- transform = "rotate(-45 0 107.48)"
98- fill = "white"
99- />
100- </ svg >
101- < div className = "grid w-full h-full grid-flow-row " >
102- < div className = "relative flex flex-col items-center justify-center px-10 pt-10" >
103- < div
104- className = {
105- 'radialGradiant block absolute w-48 h-48 bottom-0 left-0 mb-24 ml-3'
106- }
107- > </ div >
108- < div className = "w-full h-full" >
109- { product . images ? (
110- < img
111- src = { product . images [ 0 ] }
112- alt = { product . name }
113- width = "480"
114- height = "270"
115- />
83+ < rect
84+ x = "159.52"
85+ y = "175"
86+ width = "152"
87+ height = "152"
88+ rx = "8"
89+ transform = "rotate(-45 159.52 175)"
90+ fill = "white"
91+ />
92+ < rect
93+ y = "107.48"
94+ width = "152"
95+ height = "152"
96+ rx = "8"
97+ transform = "rotate(-45 0 107.48)"
98+ fill = "white"
99+ />
100+ </ svg >
101+ < div className = "grid w-full h-full" >
102+ < div className = "relative flex flex-col items-center justify-center px-10 pt-10" >
103+ < div
104+ className = {
105+ 'radialGradiant block absolute w-48 h-48 bottom-0 left-0 mb-24 ml-3'
106+ }
107+ > </ div >
108+ < div className = "w-full h-full" >
109+ { product . images ? (
110+ < img
111+ src = { product . images [ 0 ] }
112+ alt = { product . name }
113+ width = "480"
114+ height = "270"
115+ />
116+ ) : (
117+ < AJPrimary className = "w-64 h-64" />
118+ ) }
119+ </ div >
120+ </ div >
121+ < div className = "relative self-end px-6 pb-2 mt-6 text-basics-50 dark:text-basics-50" >
122+ < span className = "block pb-4 mb-1 opacity-75" >
123+ { product ?. description }
124+ </ span >
125+ < div className = "flex justify-between" >
126+ < span className = "block text-xl font-semibold" >
127+ { product . name }
128+ </ span >
129+ < span className = "flex items-center px-3 py-2 font-bold leading-none bg-white rounded-full bg-secondary-400 text-md" >
130+ { product . prices ? (
131+ < div >
132+ < span >
133+ { product . prices [ 0 ] . currency === 'usd' ? '$' : '' }
134+ </ span >
135+ { product . prices [ 0 ] . unit_amount
136+ ? product . prices [ 0 ] . unit_amount / 100
137+ : 0 }
138+ </ div >
116139 ) : (
117- < AJPrimary className = "w-64 h-64" />
140+ < > < />
118141 ) }
119- </ div >
120- </ div >
121- < div className = "relative self-end px-6 pb-2 mt-6 text-white" >
122- < span className = "block pb-4 mb-1 opacity-75" >
123- { product ?. description }
124142 </ span >
125- < div className = "flex justify-between" >
126- < span className = "block text-xl font-semibold" >
127- { product . name }
128- </ span >
129- < span className = "flex items-center px-3 py-2 font-bold leading-none bg-white rounded-full bg-secondary-400 text-md" >
130- { product . prices ? (
131- < div >
132- < span >
133- { product . prices [ 0 ] . currency === 'usd' ? '$' : '' }
134- </ span >
135- { product . prices [ 0 ] . unit_amount
136- ? product . prices [ 0 ] . unit_amount / 100
137- : 0 }
138- </ div >
139- ) : (
140- < > </ >
141- ) }
142- </ span >
143- </ div >
144143 </ div >
145144 </ div >
146145 </ div >
147- ) ) }
148- </ div >
146+ </ div >
147+ ) ) }
148+ { /* </div> */ }
149149 </ section >
150150 < style jsx > { `
151151 .svgTransform {
0 commit comments