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": [
"HTML",
"CSS",
"Bootstrap",
"Javascript",
"Accessibilité",
"Bootstrap",
"Figma",
"jQuery",
"Figma"
"SCSS",
"Git"
],
"lang": [
"Français (langue maternelle)",

View file

@ -1,12 +1,23 @@
.competences-section .col {
width: 100%;
margin-bottom: 2rem;
.skills-gallery {
display: grid;
gap: 1rem;
grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
@media screen and (min-width: 991px) {
.competences-section > div {
flex-direction: row;
.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;
}
.competences-section .col {
width: 40%;
}
@media screen and (min-width: 991px) {
.skills-gallery {
row-gap: 3.5rem;
}
}

View file

@ -2,15 +2,12 @@
title: Compétences
displayedTitle: Mes compétences
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">
{% render "partials/components/list", title: "Langues", content: author.lang %}
</div>
</div>
<ul class="skills-gallery">
{% for skill in author.skills %}
<li class="skill">{{skill}}</li>
{% endfor %}
</ul>