@@ -218,162 +218,30 @@ export default function PricingPage() {
218218 < div className = "p-5 border-b border-border/60 bg-muted/35" >
219219 < DialogTitle className = "text-base font-semibold flex items-center gap-2" >
220220 < CreditCard className = "w-5 h-5 text-primary" />
221- { step === "success" ? "Subscription Activated" : "Complete Your Subscription" }
221+ CodeGuard is Under Development
222222 </ DialogTitle >
223223 < DialogDescription className = "text-xs text-muted-foreground mt-1" >
224- { step === "success"
225- ? `Welcome to CodeGuard ${ selectedTier . name } !`
226- : `Authenticate payment details to unlock the ${ selectedTier . name } tier.` }
224+ We are not currently accepting real payments or card details.
227225 </ DialogDescription >
228226 </ div >
229227
230- { /* Steps rendering */ }
231- { step === "checkout" && (
232- < div className = "p-5 space-y-4" >
233- { /* Order Summary */ }
234- < div className = "bg-muted/40 p-3 rounded-lg border border-border/40 space-y-1.5 text-xs" >
235- < div className = "flex justify-between font-medium" >
236- < span > { selectedTier . name } Plan ({ billingCycle } )</ span >
237- < span > ${ calculatePrice ( selectedTier . priceUsd ) } / mo</ span >
238- </ div >
239- { promoApplied && (
240- < div className = "flex justify-between text-green-500 font-medium" >
241- < span > Promo Code Applied (SECURE20)</ span >
242- < span > -20%</ span >
243- </ div >
244- ) }
245- < div className = "border-t border-border/60 pt-1.5 flex justify-between font-bold text-foreground" >
246- < span > Total Amount:</ span >
247- < span >
248- ${ promoApplied
249- ? Math . round ( calculatePrice ( selectedTier . priceUsd ) * 0.8 )
250- : calculatePrice ( selectedTier . priceUsd ) } / mo
251- </ span >
252- </ div >
253- </ div >
254-
255- { /* Payment Details Form */ }
256- < div className = "space-y-3" >
257- < div className = "space-y-1" >
258- < Label htmlFor = "card-name" className = "text-xs" > Cardholder Name</ Label >
259- < Input
260- id = "card-name"
261- value = { name }
262- onChange = { ( e ) => setName ( e . target . value ) }
263- className = "h-8 text-xs"
264- />
265- </ div >
266- < div className = "space-y-1" >
267- < Label htmlFor = "card-num" className = "text-xs" > Card Number</ Label >
268- < div className = "relative" >
269- < Input
270- id = "card-num"
271- value = { cardNumber }
272- onChange = { ( e ) => setCardNumber ( e . target . value ) }
273- className = "h-8 pl-8 text-xs font-mono"
274- />
275- < CreditCard className = "w-4 h-4 text-muted-foreground/60 absolute left-2.5 top-2" />
276- </ div >
277- </ div >
278- < div className = "grid grid-cols-2 gap-3" >
279- < div className = "space-y-1" >
280- < Label htmlFor = "card-exp" className = "text-xs" > Expiry Date</ Label >
281- < Input
282- id = "card-exp"
283- value = { expiry }
284- onChange = { ( e ) => setExpiry ( e . target . value ) }
285- placeholder = "MM/YY"
286- className = "h-8 text-xs font-mono"
287- />
288- </ div >
289- < div className = "space-y-1" >
290- < Label htmlFor = "card-cvc" className = "text-xs" > CVC</ Label >
291- < Input
292- id = "card-cvc"
293- value = { cvc }
294- onChange = { ( e ) => setCvc ( e . target . value ) }
295- type = "password"
296- className = "h-8 text-xs font-mono"
297- />
298- </ div >
299- </ div >
300-
301- { /* Promo Code Fields */ }
302- < div className = "space-y-1.5 pt-2" >
303- < Label htmlFor = "promo" className = "text-xs flex items-center gap-1" >
304- < Percent className = "w-3 h-3 text-primary" />
305- Promo Code
306- </ Label >
307- < div className = "flex gap-2" >
308- < Input
309- id = "promo"
310- placeholder = "e.g. SECURE20"
311- value = { promoCode }
312- onChange = { ( e ) => setPromoCode ( e . target . value ) }
313- className = "h-8 text-xs uppercase"
314- disabled = { promoApplied }
315- />
316- < Button
317- type = "button"
318- variant = "outline"
319- size = "sm"
320- className = "h-8 text-xs"
321- onClick = { handleApplyPromo }
322- disabled = { promoApplied }
323- >
324- Apply
325- </ Button >
326- </ div >
327- { promoApplied && (
328- < p className = "text-[10px] text-green-500 font-medium" > Extra 20% discount code SECURE20 successfully applied!</ p >
329- ) }
330- </ div >
331- </ div >
332-
333- { /* Actions */ }
334- < div className = "pt-2 flex flex-col gap-2" >
335- < Button onClick = { handlePayment } className = "w-full text-xs h-9 font-semibold" >
336- < Lock className = "w-3.5 h-3.5 mr-2" />
337- Authorize & Pay
338- </ Button >
339- < Button variant = "ghost" onClick = { closeCheckout } className = "w-full text-xs h-9 text-muted-foreground" >
340- Cancel
341- </ Button >
342- </ div >
343-
344- < div className = "flex items-center justify-center gap-1.5 text-[10px] text-muted-foreground/80 mt-1" >
345- < ShieldCheck className = "w-3.5 h-3.5 text-green-600" />
346- < span > Secure Stripe-simulated sandbox payment processing.</ span >
347- </ div >
348- </ div >
349- ) }
350-
351- { step === "processing" && (
352- < div className = "p-10 flex flex-col items-center justify-center space-y-4 text-center" >
353- < Loader2 className = "w-8 h-8 text-primary animate-spin" />
354- < div className = "space-y-1" >
355- < p className = "text-sm font-semibold" > Processing Secure Transaction</ p >
356- < p className = "text-xs text-muted-foreground" > Contacting issuing bank and acquiring tokenized key...</ p >
357- </ div >
228+ < div className = "p-8 flex flex-col items-center justify-center space-y-5 text-center" >
229+ < div className = "w-12 h-12 rounded-full bg-primary/10 text-primary flex items-center justify-center" >
230+ < Sparkles className = "w-7 h-7" />
358231 </ div >
359- ) }
360-
361- { step === "success" && (
362- < div className = "p-8 flex flex-col items-center justify-center space-y-5 text-center" >
363- < div className = "w-12 h-12 rounded-full bg-green-500/10 text-green-500 flex items-center justify-center" >
364- < ShieldCheck className = "w-7 h-7" />
365- </ div >
366- < div className = "space-y-1.5" >
367- < h3 className = "text-base font-bold text-foreground" > Payment Confirmed</ h3 >
368- < p className = "text-xs text-muted-foreground leading-relaxed px-4" >
369- Thank you for your order! Your subscription is active. Your account is now upgraded to the < strong className = "text-foreground" > { selectedTier . name } </ strong > tier.
370- </ p >
371- </ div >
372- < Button onClick = { closeCheckout } className = "w-full text-xs h-9 font-semibold" >
373- Go to Dashboard
374- </ Button >
232+ < div className = "space-y-1.5" >
233+ < h3 className = "text-base font-bold text-foreground" > Thank you for your interest!</ h3 >
234+ < p className = "text-sm text-muted-foreground leading-relaxed px-4" >
235+ Please do not pay or add any card details here. If you want to know more about the product or discuss enterprise access, please contact:
236+ </ p >
237+ < p className = "font-semibold text-primary mt-2" >
238+ try.prit24@gmail.com
239+ </ p >
375240 </ div >
376- ) }
241+ < Button onClick = { closeCheckout } className = "w-full text-xs h-9 font-semibold mt-4" >
242+ Close
243+ </ Button >
244+ </ div >
377245 </ div >
378246 ) }
379247 </ DialogContent >
0 commit comments