فهرست منبع

:truck: Make main project images local

To their own project.
DricomDragon 1 سال پیش
والد
کامیت
260bbf57b2

+ 7 - 3
src/projets/ascii_space/content.meta.yml

@@ -1,8 +1,12 @@
 ---
 title: ASCII Space Destroyer
-title-img:
-        path: "projets_ascii_ship_torpEL.png"
-        alt: "torpEL ascii ship"
+img:
+        icon:
+                path: "projets_ascii_ship_torpEL.png"
+                alt: "torpEL ascii ship"
+        main:
+                path: "project_icon_ASCII.png"
+                alt: "Icon featuring three starships of ASCII Space Destroyer"
 subtitle: Jeu vidéo réalisé en C++
 date: 2015-08-15
 content-description: >

src/include/images/project_icon_ASCII.png → src/projets/ascii_space/project_icon_ASCII.png


+ 7 - 3
src/projets/pulsar/content.meta.yml

@@ -1,8 +1,12 @@
 ---
 title: Pulsar
-title-img:
-        path: "icons8-48-uranus-planet.png"
-        alt: "code flat icon"
+img:
+        icon:
+                path: "icons8-50-space-shuttle.png"
+                alt: "Space shuttle icon"
+        main:
+                path: "icons8-48-uranus-planet.png"
+                alt: "Uranus planet icon"
 subtitle: Concept de jeu vidéo
 date: 2017-03-20
 content-description: >

src/include/icon/icons8-50-space-shuttle.png → src/projets/pulsar/icons8-50-space-shuttle.png


+ 7 - 3
src/projets/quoridor/content.meta.yml

@@ -1,8 +1,12 @@
 ---
 title: Quoridor
-title-img:
-        path: "quoridor_96x96.png"
-        alt: "Quoridor icon"
+img:
+        icon:
+                path: "quoridor_96x96.png"
+                alt: "Quoridor icon"
+        main:
+                path: "quoridor_400x400.png"
+                alt: "Quoridor preview"
 subtitle: TIPE 2017
 date: 2017-07-12
 content-description: >

+ 7 - 3
src/projets/static_site/content.meta.yml

@@ -1,8 +1,12 @@
 ---
 title: Mon site internet
-title-img:
-        path: "icons8-96-html-5.png"
-        alt: "html-5 flat icon"
+img:
+        icon:
+                path: "icons8-96-html-5.png"
+                alt: "html-5 flat icon"
+        main:
+                path: "icons8-400-city.png"
+                alt: "Bright city with a tree"
 subtitle: Le site sur lequel vous surfez actuellement.
 date: 2018-12-20
 content-description: >

src/include/icon/icons8-400-city.png → src/projets/static_site/icons8-400-city.png


+ 2 - 2
src/templates/card.html

@@ -1,9 +1,9 @@
 <!-- Project card component -->
 <div class="card">
-    <img class="card-img-top" src="$it.target.dir$/$it.data.title-img.path$"$if(it.title-img.alt)$ alt="$it.data.title-img.alt$"$endif$>
+    <img class="card-img-top" src="$it.target.dir$/$it.data.img.main.path$"$if(it.img.main.alt)$ alt="$it.data.img.main.alt$"$endif$>
     <div class="card-body">
         <h4 class="card-title">
-            <img class="icon" src="$it.target.dir$/$it.data.title-img.path$"$if(it.title-img.alt)$ alt="$it.data.title-img.alt$"$endif$>
+            <img class="icon" src="$it.target.dir$/$it.data.img.icon.path$"$if(it.img.icon.alt)$ alt="$it.data.img.icon.alt$"$endif$>
             $it.data.title$
         </h4>
         <p class="card-text">