diff --git a/bdd/arbre.json b/bdd/arbre.json index fe855f1..3efb34f 100644 --- a/bdd/arbre.json +++ b/bdd/arbre.json @@ -142,7 +142,8 @@ "revenu_passif": 0.1, "evolution": 0, "narration": "Ada Lovelace est considérée comme la première programmeuse de l'histoire. Elle a collaboré avec Charles Babbage sur la machine analytique et a écrit des notes qui contiennent l'algorithme destiné à être exécuté par la machine, un concept essentiel à la programmation moderne.", - "wikipedia": "https://fr.wikipedia.org/wiki/Ada_Lovelace" + "wikipedia": "https://fr.wikipedia.org/wiki/Ada_Lovelace", + "nom_fichier_image":"img/Ada_Byron_daguerreotype_by_Antoine_Claudet_1843_or_1850_-_cropped.png" }, "george_boole": { "nom": "George Boole", @@ -170,7 +171,7 @@ }, "claude_shannon": { "nom": "Claude Shannon", - "cout": 000, + "cout": 10000, "revenu_passif": 260, "evolution": 1, "narration": "Claude Shannon est considéré comme le père de la théorie de l'information. Ses travaux ont révolutionné les domaines de la communication et de l'informatique.", diff --git a/css/index.css b/css/index.css new file mode 100644 index 0000000..375bdba --- /dev/null +++ b/css/index.css @@ -0,0 +1,56 @@ +@keyframes faireTournerImage { + 0% { + transform: rotate(0deg); + opacity: 1; + } + 100% { + transform: rotate(360deg); + opacity: 1; + } +} + +#image-collegue-animee { + width: auto; + height: auto; + animation: faireTournerImage 2s linear forwards infinite; + z-index: 1; +} + +.div-centrer-contenu{ + width: 100%; + justify-content: center; + text-align: center; +} + + + /* Define keyframes for the confetti */ + @keyframes confettiFall { + 0% { + transform: translateY(-100px) rotate(0deg); + opacity: 1; + } + 100% { + transform: translateY(100vh) rotate(720deg); + opacity: 0; + } + } + + /* Confetti styles */ + .confetti { + position: absolute; + width: 10px; + height: 20px; + animation: confettiFall 5s linear; + opacity: 0; + } + + /* Confetti container to spawn confetti randomly */ + .confetti-container { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + overflow: hidden; + pointer-events: none; /* Prevent interaction */ + } \ No newline at end of file diff --git a/img/Ada_Byron_daguerreotype_by_Antoine_Claudet_1843_or_1850_-_cropped.png b/img/Ada_Byron_daguerreotype_by_Antoine_Claudet_1843_or_1850_-_cropped.png new file mode 100644 index 0000000..54f9877 Binary files /dev/null and b/img/Ada_Byron_daguerreotype_by_Antoine_Claudet_1843_or_1850_-_cropped.png differ diff --git a/index.html b/index.html index bd762d2..2fa246b 100755 --- a/index.html +++ b/index.html @@ -7,6 +7,8 @@ + +
@@ -15,6 +17,7 @@ +