style(spa): move confirm order button below form on mobile UX

This commit is contained in:
Your Name committed 2026-06-06 20:17:08 +07:00
1 parent 7e6c70b82b
commit c1e716853e
1 file changed
+10 -1
+10 -1
View File
@@ -353,7 +353,16 @@ export default function CheckoutPage() {
/> />
</div> </div>
</div> </div>
</div>
</div> </div>
{/* Mobile Submit Button */}
<button
type="submit"
disabled={loading || loadingSettings}
className="w-full py-4 bg-spa-forest text-white font-bold rounded-xl tracking-widest uppercase hover:bg-spa-stone hover:shadow-lg transition-all duration-300 disabled:opacity-50 disabled:cursor-not-allowed flex lg:hidden justify-center items-center gap-2 mt-4"
>
{loading ? <Loader2 className="w-5 h-5 animate-spin" /> : 'Confirm Order'}
</button>
</form> </form>
</div> </div>
@@ -512,7 +521,7 @@ export default function CheckoutPage() {
form="checkout-form" form="checkout-form"
type="submit" type="submit"
disabled={loading || loadingSettings} disabled={loading || loadingSettings}
className="w-full mt-8 py-4 bg-spa-forest text-white font-bold rounded-lg tracking-widest uppercase hover:bg-spa-stone hover:shadow-lg transition-all duration-300 disabled:opacity-50 disabled:cursor-not-allowed flex justify-center items-center gap-2" className="w-full mt-8 py-4 bg-spa-forest text-white font-bold rounded-xl tracking-widest uppercase hover:bg-spa-stone hover:shadow-lg transition-all duration-300 disabled:opacity-50 disabled:cursor-not-allowed hidden lg:flex justify-center items-center gap-2"
> >
{loading ? <Loader2 className="w-5 h-5 animate-spin" /> : 'Confirm Order'} {loading ? <Loader2 className="w-5 h-5 animate-spin" /> : 'Confirm Order'}
</button> </button>