add profile picture

This commit is contained in:
Tutur33
2023-12-06 20:43:25 +01:00
parent bdc6c56467
commit f81296cf7c
15 changed files with 952 additions and 32 deletions
+19
View File
@@ -62,6 +62,25 @@
@end
</div>
<div>
<img class="h-32 w-32 rounded-full" src="{{ auth.user.avatarUrl }}" alt="">
<form action="" method="post" enctype="multipart/form-data">
<label for="avatar">Avatar :</label>
<input type="file" name="avatar" id="avatar">
<button type=""submit>Valider</button>
</form>
</div>
<div>
<h2>Delete your compte :</h2>
<a href="{{ route('delete') }}">Delete</a>
</div>
</main>
@end