Progressing on profile edition and thumbnail cropping

This commit is contained in:
2024-09-11 17:47:04 +02:00
parent e904f28b3b
commit 6856d3b9af
25 changed files with 278 additions and 88 deletions

View File

@@ -7,9 +7,9 @@ const { data: comments } = useFetch(`/api/users/${route.params.id}/comments`);
<template>
<Head>
<Title>Inconnu</Title>
<Title>{{ user?.username ?? "Inconnu" }}</Title>
</Head>
<div v-if="user" class="border border-light-35 dark:border-dark-35 p-4 flex">
<div v-if="user" class="border border-light-35 dark:border-dark-35 p-4 flex gap-4">
<div>
<picture :width=128 :height=128 class="flex" >
<source :src="`/users/${user?.id}/normal.jpg`" :width=128 :height=128 />