Design stuff shit

This commit is contained in:
Melody Becker 2024-09-23 09:18:35 +02:00
parent 5dbf3d9af2
commit 23aefa268a
35 changed files with 5846 additions and 68 deletions

View file

@ -1,5 +1,5 @@
<div class="note">
{{!-- TODO: figure out how to make the entire note clickable for opening with something like {{on "click" (fn this.openFullView)}} --}}
<!-- TODO: figure out how to make the entire note clickable for opening with something like {{on "click" (fn this.openFullView)}} -->
<Note::UserHeader
@displayname="{{@note.displayname}}"
@handle="@{{@note.username}}@{{@note.server}}"
@ -7,8 +7,11 @@
<Note::Content @content="{{@note.content}}" />
<div class="note-timestamps-container">
{{#if @note.editedAt}}
<p class="note-timestamp" id="note-edited-timestamp">Edited: {{moment-format @note.editedAt}}</p>
<p class="note-timestamp" id="note-edited-timestamp">Edited: {{moment-format @note.editedAt "MMM DD, YYYY H:mm"}}</p>
{{/if}}
<p class="note-timestamp" id="note-created-timestamp">Posted: {{moment-format @note.createdAt ""}}</p>
<p class="note-timestamp" id="note-created-timestamp">Posted: {{moment-format @note.createdAt "MMM DD, YYYY H:mm"}}</p>
</div>
<div class="separator-horizontal" />
<!-- TODO: Hardcoded values here, make them dynamic -->
<Note::Interactions @boostCount="25" @totalLikeCount="300" @hasBoosted="true" @hasReacted="false" />
</div>