aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-04-23 14:35:50 +0200
committerMinteck <contact@minteck.org>2022-04-23 14:35:50 +0200
commit8561db10dbf93f0aacdf0c34921e46dae7884e5b (patch)
tree235bc5b527b34747fb879b8e0268bced2e165a18
parent7befc0df20149161018f1ff06a879366831c45fa (diff)
downloadember-8561db10dbf93f0aacdf0c34921e46dae7884e5b.tar.gz
ember-8561db10dbf93f0aacdf0c34921e46dae7884e5b.tar.bz2
ember-8561db10dbf93f0aacdf0c34921e46dae7884e5b.zip
Fix bug with showcased projects
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 9bf460c..1897f36 100644
--- a/index.php
+++ b/index.php
@@ -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>