mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-09-24 17:11:00 +00:00
feat(downloadoverlay): bg
This commit is contained in:
@@ -52,14 +52,14 @@ export const DownloadOverlay = memo(function DownloadOverlay({
|
|||||||
<img
|
<img
|
||||||
src={edition.logo}
|
src={edition.logo}
|
||||||
alt=""
|
alt=""
|
||||||
className="w-6 h-6 object-contain shrink-0"
|
className="w-6 h-6 object-contain shrink-0 bg-[url(/images/empty.png)] bg-cover bg-center bg-no-repeat"
|
||||||
style={{ imageRendering: "pixelated" }}
|
style={{ imageRendering: "pixelated" }}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<ScreenshotImage
|
<ScreenshotImage
|
||||||
path={edition.logo}
|
path={edition.logo}
|
||||||
alt=""
|
alt=""
|
||||||
className="w-6 h-6 object-contain shrink-0"
|
className="w-6 h-6 object-contain shrink-0 bg-[url(/images/empty.png)] bg-cover bg-center bg-no-repeat"
|
||||||
style={{ imageRendering: "pixelated" }}
|
style={{ imageRendering: "pixelated" }}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
@@ -69,19 +69,19 @@ export const DownloadOverlay = memo(function DownloadOverlay({
|
|||||||
<img
|
<img
|
||||||
src={edition.titleImage}
|
src={edition.titleImage}
|
||||||
alt=""
|
alt=""
|
||||||
className="w-6 h-6 object-contain shrink-0"
|
className="w-6 h-6 object-contain shrink-0 bg-[url(/images/empty.png)] bg-cover bg-center bg-no-repeat"
|
||||||
style={{ imageRendering: "pixelated" }}
|
style={{ imageRendering: "pixelated" }}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<ScreenshotImage
|
<ScreenshotImage
|
||||||
path={edition.titleImage}
|
path={edition.titleImage}
|
||||||
alt=""
|
alt=""
|
||||||
className="w-6 h-6 object-contain shrink-0"
|
className="w-6 h-6 object-contain shrink-0 bg-[url(/images/empty.png)] bg-cover bg-center bg-no-repeat"
|
||||||
style={{ imageRendering: "pixelated" }}
|
style={{ imageRendering: "pixelated" }}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
) : (
|
) : (
|
||||||
<div className="w-6 h-6 flex items-center justify-center border border-[#555] bg-black/40 shrink-0">
|
<div className="w-6 h-6 flex items-center justify-center shrink-0 bg-[url(/images/empty.png)] bg-cover bg-center bg-no-repeat">
|
||||||
<svg
|
<svg
|
||||||
className="w-3 h-3 text-[#FFFF55]"
|
className="w-3 h-3 text-[#FFFF55]"
|
||||||
viewBox="0 0 24 24"
|
viewBox="0 0 24 24"
|
||||||
@@ -99,7 +99,7 @@ export const DownloadOverlay = memo(function DownloadOverlay({
|
|||||||
{name}
|
{name}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<span className="text-sm text-[#333333] w-7 text-right shrink-0 pr-1">
|
<span className="text-sm text-[#333333] w-7 text-right shrink-0 pr-1.5">
|
||||||
{Math.floor(pct)}%
|
{Math.floor(pct)}%
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user