From e774eae5444a455f28e951f3257dfbc2a8539c72 Mon Sep 17 00:00:00 2001 From: Charles Le Maux Date: Sun, 15 Sep 2024 20:47:58 +0200 Subject: [PATCH] [+] Added visual support (server card icon) for modded servers --- src/assets/frameworks/fabric.png | Bin 0 -> 1959 bytes src/assets/frameworks/forge.png | Bin 0 -> 3108 bytes src/components/serverCard/serverCard.jsx | 13 ++++++++++--- 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 src/assets/frameworks/fabric.png create mode 100644 src/assets/frameworks/forge.png diff --git a/src/assets/frameworks/fabric.png b/src/assets/frameworks/fabric.png new file mode 100644 index 0000000000000000000000000000000000000000..1a662dc2c73f24e846bb82ed041d81146fbc405e GIT binary patch literal 1959 zcmeAS@N?(olHy`uVBq!ia0y~yV3Yu14mO}jd*90*1_t&#PZ!6KiaBrY9PGaGT=w|K z^wVl>hMjUov;3Y1`EJOQK9Usen$Z^Y()U7j-cRnL6P}xdPo8Y9Z!~|;Ss}V)o=?I; zk%P{LvF4I&FLM-@m9E-)#c1hX*PM!Z{hv?&s&ZT}KX204vw!sN%ZoG!G%_Z!uyqJZ zD7YmwND#-FaW&Px;raR1>%ZKq`#SaR;#+f1mV8T`Ek04nz^1r+2M_z-!nb_~O6L2k zkYFg(?#Re*%s=WZ>vG-}zCAYc^72zRFE3wp|I@kM@5A$bmTlg6IMlN4AcG+j^AQdn z0c8V+o&!X2&b-(>$In*e+*xz4aLcRPoIL06C>ebI zdHB^_vG9*xnu}k4dAFj>C1KxOa(z)@*4F&*SHT7O>+fRrl`QDBtZ?6nkder`f*#8yLF%zRD_UzkV^*E>bz?2}j%P;Q+zV(>S^jMgav;+f++puYW z8|LO%yjZ{8Lag-XrB*Zktb}c~>#G)Dza3ikJud6hyePB)+EMn`ZL)T)E-=~)yU7oj z3!#S{>-UyDo__qE)ZbS(qI2c02=2YNPR;uJbN*Rxu1N94>F=-n?ef*H+d1(2zMs*R zk011}F3+pq7rFOh*8v;HZts%r9dm4JSDkIPS_BTIXP?`B?*(W7SS&y7@9$q%t)HKZ zUvn?w$kX0t_EqJ(L?q^W5SuI!sdw{ZK0i@*H@+N;TIr{dz`D~f)UnP&Pc}-?FeIQOsK7d+S^6J5rf(!BM@BVoC(A?cV zx_UFnbJuTQO?m$BkK^RIQTlr}M8(xCl&-IuUA|9ecJ$;|z&svS`y@yG)v@}g|Fa4^ z^8}|)Razw_sxe>d&@JN?z%+1p>;-?V=J_BZd}ua(bAD1X0Ht$p>jeLJG}8qWW}Hz$1k zl%jWkj=t(WSz=bEqjg-Ll;R9p^1Qrqa3xUty1OsFzUu)N0Jr8&Rxi8mH)Z|)yvy&` z$*j#v{d{hEYH@bZ-ph~PKb^h*-v8RK&J~N+u`WBAy76aCoa~In?$@Ghmi~EsasMjw zvY3QzYEN%{mA-1Ncd?Z0qHx!%9~-wG-zx3izsA%u=IgEO-$0}H?)WwT|5dBZX%?EB0%W#mVU+D|H4Ve5gCuaA>*LNkS2DxpuR`-9iZmvdjbo|tt-@>n2e~9Hc zBfMqT4zu~^S2JIJq;+q8-v6C{9`x&cN{h|6UEHw_E literal 0 HcmV?d00001 diff --git a/src/assets/frameworks/forge.png b/src/assets/frameworks/forge.png new file mode 100644 index 0000000000000000000000000000000000000000..3e5bfdbf822785e5a01230d254d30c2d1dd09f0f GIT binary patch literal 3108 zcmV+<4BPXGP)azWx3EiH?;zLr#E&i)n9mCNMl9D>$E|s#suY<>u&LXK=K)yk>27IYmKARhZLIz5oCKBy>_vQvm)m3k3Wh0{#4b=^XxH&N8T` zLBmr?^yhGicFN?=n1$f|y!{O+9smFfE=fc|RCwC$o$Gemyb?f1wv0yL3w9vfN!n^8 zOYi@HCm1LVd^lhX7$0x4y80u9#qP{Vmc}x4baZrdbaZrdbaZrdbaZrdbaZrdbaZrd zbaZrdbUXmjXuAKOrqF9N9G-wb&4b30M;#`AMG{skNyOX_k8@YL6ZNcbpJeYx5oU z@84~HOpxCh8y%bo@CFL0PV^vz?@rKWXPnsFF&0IW$>evz$CgF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$i0}J)Vc1*D(&?{&wBBh!H9ExGi^mCNAoc~8P-@sOK4M?MOF>nE+myVOenXi1RC9yQF@My>4_kC~VNU9MC z0ohB($-zmSYnO&qTdxX>Ug}KojWhf5aZ=nrklMt%slA8`5b@Mzz~PU5`8aVgKp4$$ z?nC1O!qLG^37rMCD;87hJH{4z zxx{myCY$0!8+{&=a}c$Do|hYa4ihxQNi--U@d4^}G8vp_(u|v*gkKKS4EM|6(0l~^ yUm`#VIQO~-qU7^BIyyQ!IyyQ!IyyQ!cKi<-Ol!L)I;rUZ0000 { @@ -14,10 +17,14 @@ const ServerCard = ({ status, version, name, framework, onRunClick, onStopClick, switch (framework) { case "bukkit": return bukkit; - case "spigot": - return spigot; + case "fabric": + return fabric; + case "forge": + return forge; case "paper": return paper; + case "spigot": + return spigot; default: return vanilla; }