Some progress on porting frontend
Some checks failed
/ docker (push) Has been cancelled

This commit is contained in:
Melody Becker 2025-07-10 20:23:59 +02:00
parent 59373c6380
commit 6515bda730
Signed by: mstar
SSH key fingerprint: SHA256:vkXfS9FG2pVNVfvDrzd1VW9n8VJzqqdKQGljxxX8uK8
18 changed files with 728 additions and 39 deletions

View file

@ -0,0 +1,30 @@
<script setup lang="ts">
import { defineProps } from "vue"
import type { User } from '../../stores/userdata'
import ProfilePicture from '@/components/user/ProfilePicture.vue'
import FormattedText from '@/components/util/FormattedText.vue'
const props = defineProps<{
user: User
}>()
</script>
<template>
<div class="account-header">
<ProfilePicture :username="props.user.username" :media="props.user.profilePicture" />
<div class="account-info">
<FormattedText :raw-text="props.user.displayName"/>
<p>{{props.user.username}}</p>
</div>
</div>
</template>
<style scoped>
.account-header {
display: flex;
flex-direction: row;
}
.account-header {
display: flex;
flex-direction: column;
align-items: flex-start;
}
</style>