Update skills section

This commit is contained in:
TheThomaas 2025-06-03 22:55:21 +02:00
parent 2851ada65c
commit 00b0f4b79a
3 changed files with 31 additions and 20 deletions

View file

@ -9,10 +9,13 @@
"skills": [ "skills": [
"HTML", "HTML",
"CSS", "CSS",
"Bootstrap",
"Javascript", "Javascript",
"Accessibilité",
"Bootstrap",
"Figma",
"jQuery", "jQuery",
"Figma" "SCSS",
"Git"
], ],
"lang": [ "lang": [
"Français (langue maternelle)", "Français (langue maternelle)",

View file

@ -1,12 +1,23 @@
.competences-section .col { .skills-gallery {
width: 100%; display: grid;
margin-bottom: 2rem; gap: 1rem;
grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
} }
.skill {
font-size: 2rem;
font-size: clamp(2rem, 1.2967rem + 2.1978vw, 3rem);
font-weight: 500;
text-align: center;
}
@media screen and (min-width: 768px) {
.skill {
text-align: left;
}
}
@media screen and (min-width: 991px) { @media screen and (min-width: 991px) {
.competences-section > div { .skills-gallery {
flex-direction: row; row-gap: 3.5rem;
}
.competences-section .col {
width: 40%;
} }
} }

View file

@ -2,15 +2,12 @@
title: Compétences title: Compétences
displayedTitle: Mes compétences displayedTitle: Mes compétences
order: 1 order: 1
classes: 'competences-section langues-section' showTitle: false
--- ---
<div class="flex justify-center">
<div class="col">
{% render "partials/components/list", title: "Compétences techniques", content: author.skills %}
</div>
<div class="col"> <ul class="skills-gallery">
{% render "partials/components/list", title: "Langues", content: author.lang %} {% for skill in author.skills %}
</div> <li class="skill">{{skill}}</li>
</div> {% endfor %}
</ul>