Essai sur formatage des portraits pour les photos

This commit is contained in:
Samy Rabih
2024-02-09 18:44:48 +01:00
committed by GitHub
parent 61067252eb
commit 2edd0d6842

View File

@ -11,11 +11,7 @@
> >
<div class="flex justify-end px-4 pt-4" /> <div class="flex justify-end px-4 pt-4" />
<div class="flex flex-col items-center pb-10"> <div class="flex flex-col items-center pb-10">
<img <div class="w-24 h-24 mb-3 rounded-full shadow-lg" style="background-image:url('{image}');background-size: cover;background-position: center;" />
class="w-24 h-24 mb-3 rounded-full shadow-lg"
src={image}
alt="Portrait"
/>
<h5 class="mb-1 text-xl font-medium text-white"> <h5 class="mb-1 text-xl font-medium text-white">
{name} {name}
</h5> </h5>