2021-09-15 17:07:28 +03:00
|
|
|
import React from 'react'
|
|
|
|
|
|
|
|
import './achievement.scss'
|
|
|
|
|
|
|
|
export const Achievement = ({ achievement }) => {
|
|
|
|
return (
|
|
|
|
<div className='achievement'>
|
|
|
|
<div className='achievement__icon'>
|
2023-01-16 19:57:55 +03:00
|
|
|
<img src={achievement.img} alt='achievement' />
|
2021-09-15 17:07:28 +03:00
|
|
|
</div>
|
|
|
|
<div className='achievement__popup'>
|
|
|
|
<div className='achievement__title'>{achievement.title}</div>
|
|
|
|
<div className='achievement__description'>
|
|
|
|
{achievement.description}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|