tasko-frontend/pages/components/RecentTask.js

24 lines
766 B
JavaScript
Raw Normal View History

2020-01-20 11:51:46 +01:00
import Link from 'next/link';
2020-01-18 20:37:36 +01:00
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faTasks, faCloud } from '@fortawesome/free-solid-svg-icons';
const RecentTask = () => {
return (
2020-01-19 20:09:02 +01:00
<div className="recent-task">
<span><FontAwesomeIcon icon={faTasks} /></span>
2020-01-20 11:51:46 +01:00
<Link href="/">
<span className="recent-task-description">
<span>Sortowanie bąbelkowe</span>
<span>Napisać algorytm sortowania bąbelkowego z implementacją</span>
</span>
</Link>
<Link href="/new-solution-add">
<span><FontAwesomeIcon icon={faCloud} /></span>
</Link>
2020-01-18 20:37:36 +01:00
</div>
)
}
export default RecentTask;