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

Ajout/mise à jour de composants : cartes #118

Merged
merged 10 commits into from
May 28, 2024
Merged

Ajout/mise à jour de composants : cartes #118

merged 10 commits into from
May 28, 2024

Conversation

Ash-Crow
Copy link
Collaborator

@Ash-Crow Ash-Crow commented May 2, 2024

🎯 Objectif

Poursuite de l'ajout/amélioration des composants (cf. #100 )

Le composant « carte » du DSFR est très complexe : il peut être vertical ou horizontal (ce qui suppose deux composants séparés dans Sites faciles), comporte plusieurs zones, chacune avec des possibilités d’inclusion de tel ou tel contenu, et a de nombreuses options de rendu (avec un fond gris, sans fond, avec une ombre, etc.) Enfin, il y a des considérations d'accessibilité à prendre en compte.

Ajouts à faire aux cartes verticales :

  • Choix du niveau de titre
  • Badge optionnel sur l'image (un seul)
  • Zone "top detail" :
    • Liste optionnelle de badges OU de tags
    • Texte
  • Zone "bottom detail"
  • Zone "call to action"
  • Gérer la présence de lien supplémentaires
  • Ratio de l'image

Spécificités des cartes horizontales

  • Toutes les options des cartes verticales
  • Icône "téléchargement"

🔍 Implémentation

🏕 Amélioration continue

  • Mise à jour des dépendances Python

🖼️ Images

sites-faciles localhost 8008-Cartes—Sitesfaciles

@Ash-Crow Ash-Crow changed the title Ajout/mise à jour de composants Ajout/mise à jour de composants : cartes May 22, 2024
@Ash-Crow Ash-Crow marked this pull request as ready for review May 23, 2024 15:11
@Ash-Crow Ash-Crow merged commit 0ec3bf1 into main May 28, 2024
4 checks passed
@Ash-Crow Ash-Crow deleted the components-3 branch July 16, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: La balise p de la description du footer ne devrait pas être présente si elle est vide
1 participant