fix header on user submissions
This commit is contained in:
parent
2024f7f6cf
commit
730aead3a1
|
@ -15,14 +15,14 @@
|
|||
</section>
|
||||
|
||||
<header class="p-4 rounded-xl text-white mb-4" style="background-image: url('{{user.Cover}}');">
|
||||
<div class="flex items-center gap-2">
|
||||
<div class="flex flex-col sm:flex-row items-center gap-2">
|
||||
<img class="rounded-full" src="{{user.Avatar}}" width="72" height="72">
|
||||
<div>
|
||||
<div class="items-center sm:items-start text-center sm:text-left">
|
||||
<h2 class="font-bold text-2xl">{{user.Username}}</h2>
|
||||
<p>{{user.Points}} pts · {{user.CreatedAt}}</p>
|
||||
</div>
|
||||
<hr class="sm:border-0 flex-grow">
|
||||
<div class="flex flex-col sm:items-end">
|
||||
<div class="flex flex-col items-center sm:items-end">
|
||||
<a href="/user/{{user.Username}}"><b>Submissions</b></a>
|
||||
<a href="/user/{{user.Username}}/comments">Comments</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue