feat: extract MainMenuSummary into component
This is the top part of the main menu which includes the Avatar overlay. I'm not quite sure how to label each part. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
This commit is contained in:
parent
a3a1f778c7
commit
338896d119
1 changed files with 0 additions and 28 deletions
|
@ -22,31 +22,3 @@ You should have received a copy of the GNU Affero General Public License along w
|
||||||
<MainMenuDetails />
|
<MainMenuDetails />
|
||||||
<MainMenuActions />
|
<MainMenuActions />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card p-4 bg-transparent" data-popup="overlayAvatar">
|
|
||||||
<div class="flex flex-col bg-white border-surface-300 border-rounded drop-shadow px-4 py-2">
|
|
||||||
<div class="bg-white flex gap-4">
|
|
||||||
<Person24 fill="currentColor" class="text-white bg-surface-400 rounded-full" />
|
|
||||||
<span class="text-surface-500 -mb-2">Profile</span>
|
|
||||||
</div>
|
|
||||||
<div class="bg-white flex gap-4">
|
|
||||||
<Gear24 fill="currentColor" />
|
|
||||||
<button type="button" class="text-surface-500 -mb-2" on:click={openSettingsOnClick}
|
|
||||||
>Settings</button
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<div class="bg-white flex gap-4">
|
|
||||||
<Moon24 fill="currentColor" />
|
|
||||||
<span class="text-surface-500 -mb-2">Dark mode</span>
|
|
||||||
<span>Slider missing</span>
|
|
||||||
</div>
|
|
||||||
<div class="bg-white flex gap-4">
|
|
||||||
<Info24 fill="currentColor" />
|
|
||||||
<span class="text-surface-500 -mb-2">About Anvil</span>
|
|
||||||
</div>
|
|
||||||
<div class="bg-white flex gap-4">
|
|
||||||
<SignOut24 fill="currentColor" />
|
|
||||||
<span class="text-surface-500 -mb-2">Sign out</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue