Skip to content

Commit

Permalink
feat: correct hints on project creation form
Browse files Browse the repository at this point in the history
  • Loading branch information
thraizz committed Jan 28, 2024
1 parent c7e58d9 commit 153d5fd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/views/NewProject.vue
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,17 @@ const { value: tags, errorMessage: tagsError } = useField<string[]>("tags");

<div class="mt-1 sm:col-span-2 sm:mt-0">
<input
class="block w-full max-w-lg rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 sm:text-sm"
class="block w-full max-w-lg focus:border-blue-500 focus:ring-blue-500 sm:text-sm"
type="file"
@change="handleLogoUpload"
/>
</div>

<div />

<p class="mt-2 text-sm text-gray-500">
We'll automatically resize it to 300x300 pixels.
</p>
</div>

<!-- Screenshot upload section using firebase storage -->
Expand All @@ -303,16 +309,10 @@ const { value: tags, errorMessage: tagsError } = useField<string[]>("tags");
multiple
name="screensthots"
type="file"
class="block w-full max-w-lg rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 sm:text-sm"
class="block w-full max-w-lg rounded-md focus:border-blue-500 focus:ring-blue-500 sm:text-sm"
@change="handleScreenshotUpload"
/>
</div>

<p class="mt-2 text-sm text-gray-500">PNG, JPG, WEBP up to 10MB</p>

<p class="mt-2 text-sm text-gray-500">
We'll automatically resize it to 300x300 pixels.
</p>
</div>
</div>
</div>
Expand Down

0 comments on commit 153d5fd

Please sign in to comment.