From 573d8d63083673f56ae6ebe9185e5b312dffd81a Mon Sep 17 00:00:00 2001 From: Arif Rahman Hakim Date: Tue, 27 Aug 2024 23:10:14 +0800 Subject: [PATCH] style: update style and default image service --- public/default.png | Bin 0 -> 1964 bytes src/components/service/FormService.tsx | 8 +++++++- src/components/service/ServiceItem.tsx | 2 +- src/components/service/ServicesContent.tsx | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 public/default.png diff --git a/public/default.png b/public/default.png new file mode 100644 index 0000000000000000000000000000000000000000..818da50ff3543cdc67850ea0b9a9dd320e79b40b GIT binary patch literal 1964 zcmd5-`!gGe7EZezuMNTysaMd_T=iNMYg5@(k9a>;Sem4@T#uk^o0M!wTdP9dP?xfj zmMJYO>b0l_k;Qb=-U!uHRrML-^5|1QqI(z?zdw)4|X3oqv=X~Fp?<t=6Cm!8HC$O4A0d!PAponuN)-Sg z(z8AWDh3_ZI;VA{$hrtH3i1UcYFS@*DFS^1@zt^d{tw6Fj>;qDPxF1U`x02#Y!A9Y zrC?o`GFDq#>(h`uZ{3_eJT#=(lcl=W{nETD&D#aBg&W8N{S;bC_xJe)1w4^VuO{am z3i_EqEN=gpdfU^KNsJ7s$0p) za5v?pRFyow`657@b7A|--|^KcJ@KtE2@zHXb$2V(N)hM%x3N!6xiV0O=-~SfB4y$ITzGX4a*;| zoxn@@QDJ=du=(A8rqlB4V^IX+{U6*-r9Y>+50GPAARqJK10DJrpOM7|>u|E=9NDabQ^iZ!lP)ix(0@~d>-!fawP&`# z5b4KY*i}8>5VAST(nZIt>NhddqBjeHqsB@yJH|f#+Q6bj4f!&VfDvh8J9C%m-}i$F z82Mg4<*`sIZJbJTHx*wURBJhni~r);)j?i})l?dO{`Xx#=7$ zNW9euDeiV%*^IU~U@p=l5*ZAqet56)5))mnIndH_O4U2iAy_BaY~{h3XbCU3Ya~E> zBDP=-G|F}WmwjUe(z&^-I7{c@`V!RtH(?#oaP^UGg0nPAy-OGh6>ciTxrOzhon(kg z?)yjeVh1x@uk+jKWB8BG&y!!$mUT6L4t_XVrWp|tv5KcPi2m#$eS2;8zF25f>bE4_ z<#I#VLT4kL{B7e3P8`_UBDv`pr_Co3qTR1U850Nu3)DIBW5Vc)Kh1)x9UJ1a^J3@V zS+XlU_R3KfwzKcUp=D{Cf%cXM1*YWciPe>MXN@b!+>Z!~O zKG1Pd@SDU(*336@_W%v{aHk-N~D7j*p;u`zteBk zsdg+TdSYL%TD)V1vNy)Uf?N3914ktpQ88VdI3#@VDnPqDreJH+%h@W tK~lZo*V`(RrbU2Hv9k*MzlfoKBLp0WLY9ljR}{{w3FkBI;P literal 0 HcmV?d00001 diff --git a/src/components/service/FormService.tsx b/src/components/service/FormService.tsx index fba29b6..41af481 100644 --- a/src/components/service/FormService.tsx +++ b/src/components/service/FormService.tsx @@ -239,10 +239,16 @@ const FormService = ({ serviceId, onSubmit }: FormServiceProps) => { alt="Foto layanan" src={image || ""} loading="lazy" - fallback="https://via.placeholder.com/150" + fallback={"/default.png"} /> +

+ Foto layanan dapat berupa logo atau tangkapan layar layanan. +

+

+ Khusus tangkapan layar gunakan ukuran 300 x 100. +

Apakah berupa logo? diff --git a/src/components/service/ServiceItem.tsx b/src/components/service/ServiceItem.tsx index 94986c6..89f0c7d 100644 --- a/src/components/service/ServiceItem.tsx +++ b/src/components/service/ServiceItem.tsx @@ -68,7 +68,7 @@ const ServiceItem = ({ service, onItemDeleted }: ServiceItemProps) => {
{!service.hasLogo ? ( { return ( -
+
{services.map((item: Service, index: number) => ( ))}