mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 07:25:19 +02:00
Remove "team" from intro
This commit is contained in:
parent
47056203d0
commit
22924ddfbb
1 changed files with 1 additions and 38 deletions
|
@ -1,20 +1,9 @@
|
||||||
import { RiArrowRightLine } from 'react-icons/ri'
|
import { RiArrowRightLine } from 'react-icons/ri'
|
||||||
import { Button, Tooltip } from '@maybe-finance/design-system'
|
import { Button } from '@maybe-finance/design-system'
|
||||||
import type { StepProps } from './StepProps'
|
import type { StepProps } from './StepProps'
|
||||||
import { useState } from 'react'
|
import { useState } from 'react'
|
||||||
import { AiOutlineLoading3Quarters as LoadingIcon } from 'react-icons/ai'
|
import { AiOutlineLoading3Quarters as LoadingIcon } from 'react-icons/ai'
|
||||||
|
|
||||||
const team = {
|
|
||||||
josh: {
|
|
||||||
name: 'Josh Pigford',
|
|
||||||
title: 'Co-Founder & CEO',
|
|
||||||
},
|
|
||||||
travis: {
|
|
||||||
name: 'Travis Woods',
|
|
||||||
title: 'Co-Founder & CFO',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
export function Intro({ onNext, title }: StepProps) {
|
export function Intro({ onNext, title }: StepProps) {
|
||||||
const [isSubmitting, setIsSubmitting] = useState(false)
|
const [isSubmitting, setIsSubmitting] = useState(false)
|
||||||
|
|
||||||
|
@ -45,32 +34,6 @@ export function Intro({ onNext, title }: StepProps) {
|
||||||
)}
|
)}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col items-center justify-center justify-self-end">
|
|
||||||
<div className="flex -space-x-2 group shrink-0">
|
|
||||||
{Object.entries(team).map(([id, { name, title }]) => (
|
|
||||||
<Tooltip
|
|
||||||
key={id}
|
|
||||||
content={
|
|
||||||
<div className="text-base text-center">
|
|
||||||
<div className="font-medium text-white">{name}</div>
|
|
||||||
<div className="text-gray-100">{title}</div>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
>
|
|
||||||
<img
|
|
||||||
alt={name}
|
|
||||||
className="w-12 h-12 rounded-full border-2 border-black group-hover:brightness-75 hover:!brightness-100 transition-all"
|
|
||||||
src={`/assets/images/team/${id}.jpg`}
|
|
||||||
/>
|
|
||||||
</Tooltip>
|
|
||||||
))}
|
|
||||||
</div>
|
|
||||||
<p className="mt-4 mb-10 text-sm text-center text-gray-50">
|
|
||||||
Here’s the team behind Maybe.
|
|
||||||
<br />
|
|
||||||
We’re here to help if you need anything.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue