mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-24 22:25:16 +02:00
add profile picture
This commit is contained in:
@@ -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
|
||||
@@ -47,7 +47,7 @@
|
||||
<button type="button" class="relative flex rounded-full bg-gray-800 text-sm focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-gray-800" id="user-menu-button" aria-expanded="false" aria-haspopup="true">
|
||||
<span class="absolute -inset-1.5"></span>
|
||||
<span class="sr-only">Open user menu</span>
|
||||
<img class="h-8 w-8 rounded-full" src="/pp.jpg" alt="">
|
||||
<img class="h-8 w-8 rounded-full" src="{{ auth.user.avatarUrl }}" alt="">
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user