diff --git a/src/app/(mobile-ui)/add-money/crypto/direct/page.tsx b/src/app/(mobile-ui)/add-money/crypto/direct/page.tsx index f99263d05..e594b445a 100644 --- a/src/app/(mobile-ui)/add-money/crypto/direct/page.tsx +++ b/src/app/(mobile-ui)/add-money/crypto/direct/page.tsx @@ -92,7 +92,7 @@ export default function AddMoneyCryptoDirectPage() { icon="plus" iconSize={16} minAmount={0.1} - maxAmount={4000} + maxAmount={30_000} onValidationError={setError} disabled={inputTokenAmount === '0.00'} > diff --git a/src/app/(mobile-ui)/layout.tsx b/src/app/(mobile-ui)/layout.tsx index 49ad5cc2c..f886bb3fd 100644 --- a/src/app/(mobile-ui)/layout.tsx +++ b/src/app/(mobile-ui)/layout.tsx @@ -21,7 +21,8 @@ import { useEffect, useMemo, useState } from 'react' import { twMerge } from 'tailwind-merge' import '../../styles/globals.css' -const publicPathRegex = /^\/(request\/pay|claim|pay\/.+$)/ +// Allow access to some public paths without authentication +const publicPathRegex = /^\/(request\/pay|claim|pay\/.+$|support)/ const Layout = ({ children }: { children: React.ReactNode }) => { const pathName = usePathname() @@ -80,7 +81,10 @@ const Layout = ({ children }: { children: React.ReactNode }) => { } }, []) - if (!isReady || (isFetchingUser && !user && !hasToken)) { + // Allow access to public paths without authentication + const isPublicPath = publicPathRegex.test(pathName) + + if (!isReady || (isFetchingUser && !user && !hasToken && !isPublicPath)) { return (
diff --git a/src/app/[...recipient]/error.tsx b/src/app/[...recipient]/error.tsx index 56602c920..194db40b7 100644 --- a/src/app/[...recipient]/error.tsx +++ b/src/app/[...recipient]/error.tsx @@ -2,8 +2,11 @@ import { Button, Card } from '@/components/0_Bruddle' import { useEffect } from 'react' +import { useRouter } from 'next/navigation' export default function PaymentError({ error, reset }: { error: Error & { digest?: string }; reset: () => void }) { + const router = useRouter() + useEffect(() => { console.error(error) }, [error]) @@ -16,10 +19,13 @@ export default function PaymentError({ error, reset }: { error: Error & { digest {error.message || 'An error occurred while loading the payment page.'} - + + ) diff --git a/src/components/Common/ActionListDaimoPayButton.tsx b/src/components/Common/ActionListDaimoPayButton.tsx index 814731366..aec0a7ea2 100644 --- a/src/components/Common/ActionListDaimoPayButton.tsx +++ b/src/components/Common/ActionListDaimoPayButton.tsx @@ -135,7 +135,7 @@ const ActionListDaimoPayButton = () => { onBeforeShow={handleInitiateDaimoPayment} disabled={!usdAmount} minAmount={0.1} - maxAmount={4000} + maxAmount={30_000} loading={isProcessing} onValidationError={(error) => { dispatch(paymentActions.setDaimoError(error)) diff --git a/src/components/LandingPage/Footer.tsx b/src/components/LandingPage/Footer.tsx index 03d685d91..93a4cb15e 100644 --- a/src/components/LandingPage/Footer.tsx +++ b/src/components/LandingPage/Footer.tsx @@ -57,6 +57,9 @@ const Footer = () => {
+ + Support + { > Docs - - Privacy - {feature.description}

+ {feature.id === 3 && ( +
+ + + +
+ )}
))} diff --git a/src/components/Profile/index.tsx b/src/components/Profile/index.tsx index e817e119e..9f9bafe80 100644 --- a/src/components/Profile/index.tsx +++ b/src/components/Profile/index.tsx @@ -69,13 +69,14 @@ export const Profile = () => { endIcon={isKycApproved ? 'check' : undefined} endIconClassName={isKycApproved ? 'text-success-3 size-4' : undefined} /> - + /> */} {/* Menu Items - Second Group */}