diff options
Diffstat (limited to 'includes/categories.php')
-rw-r--r-- | includes/categories.php | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/includes/categories.php b/includes/categories.php index 92f5c1e..b6ba521 100644 --- a/includes/categories.php +++ b/includes/categories.php @@ -8,22 +8,16 @@ <a href="/furry" class="card-link"><?= l("Learn more...", "En savoir plus...") ?></a> </div> </div> - <div class="card <?= isset($_ACTIVE) && $_ACTIVE === "dev" ? "bg-dark text-white" : "" ?>" style="text-align:center;padding-top:20px;padding-bottom:10px;"> - <img class="card-img-top" src="/static/icons/code<?= !isset($_ACTIVE) || $_ACTIVE !== "dev" ? "" : "-dark" ?>.png" alt="Card image" style="width:64px;height:64px;text-align:center;margin-left:auto;margin-right:auto;"> - <div class="card-body"> - <h3><?= l("Development", "Programmation") ?></h3> - <p><?= l("I have been developing software and stuff for a really long time", "Je développe des logiciels et des petits trucs depuis très longtemps") ?></p> - - <a href="/creations/dev" class="card-link"><?= l("Learn more...", "En savoir plus...") ?></a> + <div class="card <?= isset($_ACTIVE) && ($_ACTIVE === "dev" || $_ACTIVE === "video") ? "bg-dark text-white" : "" ?>" style="text-align:center;padding-top:20px;padding-bottom:10px;"> + <div style="text-align:center;margin-left:auto;margin-right:auto;" class="card-img-top"> + <img src="/static/icons/code<?= !isset($_ACTIVE) || ($_ACTIVE !== "dev" && $_ACTIVE !== "video") ? "" : "-dark" ?>.png" alt="Card image" style="width:64px;height:64px;text-align:center;margin-left:auto;margin-right:auto;"> + <img src="/static/icons/media<?= !isset($_ACTIVE) || ($_ACTIVE !== "dev" && $_ACTIVE !== "video") ? "" : "-dark" ?>.png" alt="Card image" style="width:64px;height:64px;"> </div> - </div> - <div class="card <?= isset($_ACTIVE) && $_ACTIVE === "video" ? "bg-dark text-white" : "" ?>" style="text-align:center;padding-top:20px;padding-bottom:10px;"> - <img class="card-img-top" src="/static/icons/media<?= !isset($_ACTIVE) || $_ACTIVE !== "video" ? "" : "-dark" ?>.png" alt="Card image" style="width:64px;height:64px;text-align:center;margin-left:auto;margin-right:auto;"> <div class="card-body"> - <h3><?= l("Multimedia", "Audiovisuel") ?></h3> - <p><?= l("For 10 years now, I have been making videos and other multimedia content", "Depuis plus de 10 ans maintenant je fais des vidéos et d'autre style de contenu multimédia") ?></p> + <h3><?= l("Projects", "Projets") ?></h3> + <p><?= l("Developing software and making multimedia stuff is my passion", "Mon passe-temps est de coder des logiciels et de créer du contenu multimedia") ?></p> - <a href="/creations/video" class="card-link"><?= l("Learn more...", "En savoir plus...") ?></a> + <a href="/creations" class="card-link"><?= l("Learn more...", "En savoir plus...") ?></a> </div> </div> <div class="card <?= isset($_ACTIVE) && $_ACTIVE === "archive" ? "bg-dark text-white" : "" ?>" style="text-align:center;padding-top:20px;padding-bottom:10px;"> |