aboutsummaryrefslogtreecommitdiff
path: root/views/profile/index.php
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2025-01-26 16:06:25 +0200
committerSyndamia <kamen@syndamia.com>2025-01-26 16:09:52 +0200
commit6396a3f3a2ed26b94cda20cf06fa71db1f384aaa (patch)
treebe3173c3827beedbf113b2e07aa970c1c10df40a /views/profile/index.php
parenta33e61236a8645dfa1a5fe6e5436eca574351024 (diff)
downloadnowayforward_human-6396a3f3a2ed26b94cda20cf06fa71db1f384aaa.tar
nowayforward_human-6396a3f3a2ed26b94cda20cf06fa71db1f384aaa.tar.gz
nowayforward_human-6396a3f3a2ed26b94cda20cf06fa71db1f384aaa.zip
feat: Proper login and register designs
Diffstat (limited to 'views/profile/index.php')
-rw-r--r--views/profile/index.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/views/profile/index.php b/views/profile/index.php
index 2334c1b..471b257 100644
--- a/views/profile/index.php
+++ b/views/profile/index.php
@@ -8,8 +8,9 @@
<?php if ($user !== null): ?>
<section>
- <?= $user->Username ?>
- <?= $user->Role ?>
+ <!-- https://tabler.io/icons -->
+ <svg class="user-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" ><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 2a5 5 0 1 1 -5 5l.005 -.217a5 5 0 0 1 4.995 -4.783z" /><path d="M14 14a5 5 0 0 1 5 5v1a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-1a5 5 0 0 1 5 -5h4z" /></svg>
+ <h1 class="username"><?= $user->Username ?></h1>
</section>
<?php else: ?>
<h2>User "<?= $username ?>" doesn't exist!</h2>