fix learneth style

pull/4466/head
drafish 10 months ago committed by yann300
parent 88184e7e63
commit 87307b0c1c
  1. 3
      apps/learneth/src/pages/Home/index.css
  2. 10
      apps/learneth/src/pages/Home/index.tsx

@ -13,10 +13,11 @@
.arrow-icon{
width: 12px;
display: inline-block;
cursor: pointer;
}
.workshop-link {
text-decoration: none;
cursor: pointer;
}
.workshop-link:hover {
text-decoration: underline;

@ -45,24 +45,22 @@ function HomePage(): JSX.Element {
{selectedRepo.group[level].map((item: any) => (
<div key={item.id}>
<div>
<a
href="#"
<span
className="arrow-icon"
onClick={() => {
handleClick(item.id)
}}
>
<FontAwesomeIcon size="xs" icon={isOpen(item.id) ? faChevronDown : faChevronRight} />
</a>
<a
href="#"
</span>
<span
className="workshop-link"
onClick={() => {
handleClick(item.id)
}}
>
{selectedRepo.entities[item.id].name}
</a>
</span>
<Link to={`/list?id=${item.id}`} className="text-decoration-none float-right">
<FontAwesomeIcon icon={faPlayCircle} size="lg" />
</Link>

Loading…
Cancel
Save