Skip to content

Commit 397bcd8

Browse files
committed
Enhance design
1 parent bc8477b commit 397bcd8

File tree

2 files changed

+30
-19
lines changed

2 files changed

+30
-19
lines changed

resources/js/Components/Forms/UploadImagesForm.vue

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -168,17 +168,22 @@ onMounted(() => {
168168
<div class="col-span-3 mb-4">
169169
<div class="relativeflex flex-col items-center justify-center">
170170
<InputLabel
171-
class="myPrimaryParagraph rounded-full bg-myPrimaryLightGrayColor text-center w-full inset-0 block text-base cursor-pointer pt-6 pb-6 px-4"
171+
class="myPrimaryParagraph text-center w-full inset-0 block text-base cursor-pointer"
172172
for="images"
173-
value="Click & Upload multiple images.."
174173
>
175174
<div
176-
class="myPrimaryButton mt-4 hover:shadow hover:outline hover:outline-myPrimaryLinkColor hover:outline-offset-2 gap-3"
175+
class="p-2 rounded-full border-2 border-dashed border-myPrimaryLinkColor hover:border-2 hover:border-opacity-50 hover:border-dashed hover:border-myPrimaryLinkColor"
177176
>
178-
<span class="material-symbols-outlined">
179-
cloud_upload
180-
</span>
181-
<span> PNG, JPG, up to 2MB </span>
177+
<div
178+
class="myPrimaryParagraph rounded-full bg-myPrimaryLightGrayColor text-center w-full inset-0 text-base pt-6 pb-6 px-2 flex items-center justify-center p-2"
179+
>
180+
<div class="myPrimaryButton hover:shadow gap-3">
181+
<span class="material-symbols-outlined">
182+
cloud_upload
183+
</span>
184+
<span> PNG, JPG, up to 2MB </span>
185+
</div>
186+
</div>
182187
</div>
183188
</InputLabel>
184189

resources/js/Pages/Media/Media.vue

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -123,19 +123,25 @@ const handleMediaLibrary = function (imageID) {
123123
<div>
124124
<div class="col-span-full">
125125
<div
126-
class="myPrimaryParagraph rounded-full bg-myPrimaryLightGrayColor text-center w-full inset-0 text-base pt-6 pb-6 px-2 flex items-center justify-center"
126+
class="p-2 rounded-full border-2 border-dashed border-myPrimaryLinkColor hover:border-2 hover:border-opacity-50 hover:border-dashed hover:border-myPrimaryLinkColor"
127127
>
128-
<div class="text-center">
129-
<div class="my-8">
130-
<PrimaryButton
131-
@click="handleMediaLibrary"
132-
class="myPrimaryButton gap-3 py-4"
133-
>
134-
<span class="material-symbols-outlined">
135-
cloud_upload
136-
</span>
137-
Manage & Upload Images
138-
</PrimaryButton>
128+
<div
129+
class="myPrimaryParagraph rounded-full bg-myPrimaryLightGrayColor text-center w-full inset-0 text-base pt-6 pb-6 px-2 flex items-center justify-center p-2"
130+
>
131+
<div class="text-center">
132+
<div class="my-8">
133+
<PrimaryButton
134+
@click="handleMediaLibrary"
135+
class="myPrimaryButton gap-3 py-4"
136+
>
137+
<span
138+
class="material-symbols-outlined"
139+
>
140+
cloud_upload
141+
</span>
142+
Manage & Upload Images
143+
</PrimaryButton>
144+
</div>
139145
</div>
140146
</div>
141147
</div>

0 commit comments

Comments
 (0)