This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
website/components/Application/ConfirmGuildJoin/ConfirmGuildJoin.tsx

39 lines
1022 B
TypeScript
Raw Normal View History

2022-02-09 23:27:54 +01:00
import Image from 'next/image'
export interface ConfirmGuildJoinProps {
className?: string
handleJoinGuild: () => void
}
export const ConfirmGuildJoin: React.FC<ConfirmGuildJoinProps> = (props) => {
const { className, handleJoinGuild } = props
return (
<div className={className}>
<Image
src='/images/svg/design/join-guild.svg'
alt='Joing Guild Illustration'
height={150}
width={150}
/>
<div className='flex flex-col mt-8'>
<h1 className='text-xl mb-6 text-center'>Rejoindre la guild ?</h1>
<div className='flex gap-7'>
<button
className='px-8 py-2 rounded-3xl bg-success hover:opacity-50 transition'
onClick={handleJoinGuild}
>
Oui
</button>
<button
className='px-8 py-2 rounded-3xl bg-error hover:opacity-50 transition'
onClick={handleJoinGuild}
>
Non
</button>
</div>
</div>
</div>
)
}