diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ <img class="stylized-card-icon" <?php if (!isset($project["icon"])): ?>style="background: hsla(<?= hexdec(substr($project['id'], 0, 2)) ?>, 100%, 50%, 0.1) !important;"<?php endif; ?> src="<?= isset($project["icon"]) ? $project["icon"] . "?width=96" : "/assets/img/letters/" . getLetters($project['name']) . ".png" ?>" alt=""> <h4 class="card-title"><?= $project["name"] ?></h4> <p class="card-text"><?= preg_replace('/[|.?!;](.*)/m', '', strip_tags($Parsedown->line(trim($project["description"])))) ?></p> - <a href="?<?= $project["id"] ?>" class="btn btn-outline-light">View Project</a> + <a href="/projects?<?= $project["id"] ?>" class="btn btn-outline-light">View Project</a> <div class="small text-muted" style="margin-top:10px;">Updated <?= timeAgo($project['date']) ?></div> </div> </div> |