Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List correction in Links Group #682

Merged
merged 1 commit into from
Aug 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions assets/components/molecules/links-group/links-group-teaser.twig
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
<div class="links-group links-group-teaser">
<h5 id="links-group-title"><a class="link-pretty" href="#">Vue d’ensemble de l’EPFL</a></h5>
<nav
class="nav flex-column flex-wrap align-items-start"
role="navigation"
aria-labelledby="links-group-title"
>
<a class="nav-link link-pretty" href="#">Chiffres clés</a>
<a class="nav-link link-pretty" href="#">3 missions de l’EPFL</a>
<a class="nav-link link-pretty" href="#">Organigrammes de la direction</a>
<a class="nav-link link-pretty" href="#">Réalisations importantes de l’EPFL</a>
</nav>
<ul class="list-unstyled">
<li><a class="link-pretty" href="#">Chiffres clés</a></li>
<li><a class="link-pretty" href="#">3 missions de l’EPFL</li>
<li><a class="link-pretty" href="#">Organigrammes de la direction</li>
<li><a class="link-pretty" href="#">Réalisations importantes de l’EPFL</li>
</ul>
</div>
2 changes: 1 addition & 1 deletion assets/components/molecules/links-group/links-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
background: $white;
border: 1px solid $gray-200;

.nav-link {
.nav-link, li {
padding: 0;
margin-bottom: 0.8rem;
}
Expand Down
20 changes: 8 additions & 12 deletions assets/components/molecules/links-group/links-group.twig
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
<div class="links-group">
<h5 id="links-group-title">Plus d'informations sur la faculté</h5>
<nav
class="nav flex-column flex-wrap align-items-start"
role="navigation"
aria-labelledby="links-group-title"
>
<a class="nav-link link-pretty" href="#">Tous les laboratoires de la faculté</a>
<a class="nav-link link-pretty" href="#">Liste des professeurs de la faculté</a>
<a class="nav-link link-pretty" href="#">Postes à pourvoir à l'ENAC</a>
<a class="nav-link link-pretty" href="#">Services internes</a>
<a class="nav-link link-pretty" href="#">L'organisation de la faculté</a>
<a class="nav-link link-pretty" href="#">Chaires de l'ENAC</a>
</nav>
<ul class="list-unstyled">
<li><a class="link-pretty" href="#">Tous les laboratoires de la faculté</a></li>
<li><a class="link-pretty" href="#">Liste des professeurs de la faculté</a></li>
<li><a class="link-pretty" href="#">Postes à pourvoir à l'ENAC</a></li>
<li><a class="link-pretty" href="#">Services internes</a></li>
<li><a class="link-pretty" href="#">L'organisation de la faculté</a></li>
<li><a class="link-pretty" href="#">Chaires de l'ENAC</a></li>
</ul>
</div>
Loading