summaryrefslogtreecommitdiff
path: root/src/web/_views/people/card.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/_views/people/card.php')
-rw-r--r--src/web/_views/people/card.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/web/_views/people/card.php b/src/web/_views/people/card.php
new file mode 100644
index 0000000..7e040ba
--- /dev/null
+++ b/src/web/_views/people/card.php
@@ -0,0 +1,15 @@
+<?php /* Copyright (c) 2024 Freya Murphy */ ?>
+<?php /* vi: syntax=php */ ?>
+<a
+ class="card profile"
+ href="/profile?id=<?=$user['id']?>"
+>
+ <div class="col">
+ <?=pfp($user, FALSE)?>
+ <div class="col ml">
+ <span class="name"><?=$this->format_name($user)?></span>
+ <span class="subtext"><?=$user['username']?></span>
+ </div>
+ </div>
+</a>
+<?