Start work on account display

Also no idea wtf is going on with the models
This commit is contained in:
Melody Becker 2024-11-21 16:34:20 +01:00
parent 9acecfd7f6
commit 5fb5dae31e
14 changed files with 225 additions and 152 deletions

View file

@ -0,0 +1,18 @@
<div class="account-header">
<Account::Header::Profilepicture @meta={{@data.icon}} />
<div class="account-header-">
</div>
</div>
<div class="account-header">
<Account::Header::Profilepicture @meta={{@data.icon}} />
<div class="account-header-text">
<Note::Formatter
@classes="note-user-displayname"
@content={{@data.displayname}}
@server={{@data.originServer}}
/>
<p class="note-user-displayname"></p>
<p class="note-user-handle">{{@data.originServer.id}}</p>
</div>
</div>

View file

@ -0,0 +1 @@
<img class="profile-picture" src="{{@meta.url}}" alt="{{@meta.altText}}" />

View file

@ -1 +1,3 @@
{{yield}}
<div class="profile-overview">
<Account::Header @data={{@data}} />
</div>