FIX (images): Preload images needed at page start

This commit is contained in:
Rostislav Dugin
2025-07-16 16:06:35 +03:00
parent 8794d6e3dd
commit a87ff51b73

View File

@@ -93,7 +93,7 @@
"Backup compression and encryption"
],
"screenshot": "https://postgresus.com/images/index/dashboard.svg",
"softwareVersion": "latest",
"softwareVersion": "latest"
}
</script>
@@ -280,6 +280,7 @@ services:
>
<img
src="logo.svg"
loading="eager"
alt="Postgresus logo"
width="35"
height="35"
@@ -347,7 +348,7 @@ services:
class="mt-1"
width="20"
height="20"
loading="lazy"
loading="eager"
/>
<p>Configurable healthchecks with notifications</p>
</div>
@@ -359,7 +360,7 @@ services:
class="mt-1"
width="20"
height="20"
loading="lazy"
loading="eager"
/>
<p><b>Scheduled backups</b> (daily, weekly, at 4 AM, etc.)</p>
</div>
@@ -371,7 +372,7 @@ services:
class="mt-1"
width="20"
height="20"
loading="lazy"
loading="eager"
/>
<p>Save backups locally, in S3, Google Drive and more</p>
</div>
@@ -383,7 +384,7 @@ services:
class="mt-1"
width="20"
height="20"
loading="lazy"
loading="eager"
/>
<p>Notifications to Slack, Telegram, Discord, etc.</p>
</div>
@@ -412,7 +413,7 @@ services:
src="images/index/messengers.svg"
alt="Supported messengers and platforms"
class="max-h-[35px]"
loading="lazy"
loading="eager"
/>
</div>
</div>
@@ -423,7 +424,7 @@ services:
src="images/index/dashboard.svg"
alt="Postgresus dashboard interface"
width="100%"
loading="lazy"
loading="eager"
/>
</div>
</main>
@@ -797,7 +798,7 @@ services:
</code>
<button
onclick="copyInstallScript(this)"
class="absolute right-2 top-2 rounded bg-blue-500 px-2 py-1 text-xs text-white transition-colors hover:bg-blue-600"
class="absolute right-2 top-2 rounded bg-blue-600 px-2 py-1 text-xs text-white transition-colors hover:bg-blue-700"
>
Copy
</button>
@@ -856,7 +857,7 @@ services:
<button
onclick="copyDockerCompose(this)"
class="absolute right-2 top-2 rounded bg-blue-500 px-2 py-1 text-xs text-white transition-colors hover:bg-blue-600"
class="absolute right-2 top-2 rounded bg-blue-600 px-2 py-1 text-xs text-white transition-colors hover:bg-blue-700"
>
Copy
</button>