Added website image to the creator page and use type of file when uploading pictures. Restriction for .png, .jpeg, .jpg for now

This commit is contained in:
Dominic Villemure
2024-07-10 01:36:41 -04:00
parent bd034d919b
commit 6c23fe005c
4 changed files with 22 additions and 8 deletions

View File

@@ -36,7 +36,9 @@
<div class="px-3 py-3">
<v-file-input
ref="bannerImageInput"
v-model="bannerImage"
accept=".png, .jpeg, .jpg"
v-model="bannerImage"
hint="png, jpeg or jpg"
label="Téléverser une nouvelle bannière"
@change="onBannerFileChange">
</v-file-input>
@@ -57,6 +59,8 @@
<div class="px-3">
<v-file-input
ref="profileImageInput"
accept=".png, .jpeg, .jpg"
hint="png, jpeg or jpg"
v-model="profilePicture"
label="Téléverser une nouvelle photo de profil"
@change="onProfileFileChange">