Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import {
SecurityBuiltIn,
SendInSeconds,
YourMoney,
RegulatedRails,
} from '@/components/LandingPage'
import Footer from '@/components/LandingPage/Footer'
import { RegulatedRails } from '@/components/LandingPage/RegulatedRails'
import { useFooterVisibility } from '@/context/footerVisibility'
import { useEffect, useState, useRef } from 'react'

Expand Down
2 changes: 1 addition & 1 deletion src/assets/illustrations/landing-countries.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions src/components/AddWithdraw/AddWithdrawCountriesList.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
'use client'

import { COUNTRY_SPECIFIC_METHODS, countryData, SpecificPaymentMethod } from '@/components/AddMoney/consts'
import {
COUNTRY_SPECIFIC_METHODS,
countryCodeMap,
countryData,
SpecificPaymentMethod,
} from '@/components/AddMoney/consts'
import StatusBadge from '@/components/Global/Badges/StatusBadge'
import { IconName } from '@/components/Global/Icons/Icon'
import NavHeader from '@/components/Global/NavHeader'
Expand All @@ -11,7 +16,7 @@ import Image, { StaticImageData } from 'next/image'
import { useParams, useRouter } from 'next/navigation'
import EmptyState from '../Global/EmptyStates/EmptyState'
import { useAuth } from '@/context/authContext'
import { useEffect, useRef, useState } from 'react'
import { useEffect, useMemo, useRef, useState } from 'react'
import { InitiateKYCModal } from '@/components/Kyc'
import { DynamicBankAccountForm, IBankAccountDetails } from './DynamicBankAccountForm'
import { addBankAccount, updateUserById } from '@/app/actions/users'
Expand Down
4 changes: 2 additions & 2 deletions src/components/AddWithdraw/DynamicBankAccountForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ export const DynamicBankAccountForm = forwardRef<{ handleSubmit: () => void }, D
const [isSubmitting, setIsSubmitting] = useState(false)
const [submissionError, setSubmissionError] = useState<string | null>(null)
const [showBicField, setShowBicField] = useState(false)
const { country: countryName } = useParams()
const { country: countryNameParams } = useParams()
const { amountToWithdraw } = useWithdrawFlow()
const [firstName, ...lastNameParts] = (user?.user.fullName ?? '').split(' ')
const lastName = lastNameParts.join(' ')

let selectedCountry = (countryNameFromProps ?? (countryName as string)).toLowerCase()
let selectedCountry = (countryNameFromProps ?? (countryNameParams as string)).toLowerCase()

const {
control,
Expand Down
1 change: 1 addition & 0 deletions src/components/LandingPage/dropLink.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client'
import Image from 'next/image'
import { motion } from 'framer-motion'
import { Button } from '../0_Bruddle'
Expand Down
4 changes: 3 additions & 1 deletion src/components/LandingPage/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ export function Hero({ primaryCta, secondaryCta, buttonVisible, buttonScale = 1
</Button>
</a>

<p className="mx-auto mt-2 text-xs italic text-n-1 md:text-sm">Takes 10 seconds</p>
<p className="font-roboto-flex-bold mx-auto mt-2 text-xs italic text-n-1 md:text-sm">
Takes 10 seconds
</p>

{renderArrows(variant, arrowOpacity, buttonVisible)}
</motion.div>
Expand Down
1 change: 1 addition & 0 deletions src/components/LandingPage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ export * from './nutsDivider'
export * from './securityBuiltIn'
export * from './sendInSeconds'
export * from './yourMoney'
export * from './RegulatedRails'
2 changes: 1 addition & 1 deletion src/components/LandingPage/noFees.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export function NoFees() {
/>
</div>

<div className="relative mx-auto max-w-3xl text-center">
<div className="relative mx-auto w-full max-w-3xl text-center">
{/* Animated stars */}
<motion.img
src={Star.src}
Expand Down
3 changes: 1 addition & 2 deletions src/components/LandingPage/yourMoney.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ import iphoneYourMoney3 from '@/assets/iphone-ss/iphone-your-money-3.png'
import freeGlobalTransfers from '@/assets/illustrations/free-global-transfers.svg'
import payAnyoneAnywhere from '@/assets/illustrations/pay-anyone-anywhere.svg'
import getPaidWorldwide from '@/assets/illustrations/get-paid-worldwide.svg'

import { Button } from '../0_Bruddle'
import Image from 'next/image'
import { LandingCountries } from '@/assets'
import { Button } from '../0_Bruddle'

interface Feature {
id: number
Expand Down
Loading